Answer the question in maximum 50 words/5 to 6 lines. This question carries 05 marks. [MPPSC 2022] Machine independent languages: what are they? How does a computer run code written in these languages?
Primary memory, in the context of computer science, refers to the memory that the CPU can directly access. It includes the CPU's registers, cache memory, and RAM. Primary memory is volatile and data can be read from and written to it using unique addresses for each memory location. There are two maiRead more
Primary memory, in the context of computer science, refers to the memory that the CPU can directly access. It includes the CPU’s registers, cache memory, and RAM. Primary memory is volatile and data can be read from and written to it using unique addresses for each memory location.
There are two main type’s of primary memory as:
1.ROM (Read Only memory) A form of computer memory that stores data even when not powered.
2.RAM (Random Access Memory)
The main use of primary memory is to store data that the CPU needs immediately to avoid waiting for it to be delivered.
See less
A language that can run on any machine is known as a Machine Independent language. Java is a good illustration of this. The Java Virtual Machine, or JVM, can take compiled code for any Java application and run it on the machine you're trying to run it on. To run programs written in these languages,Read more
A language that can run on any machine is known as a Machine Independent language. Java is a good illustration of this. The Java Virtual Machine, or JVM, can take compiled code for any Java application and run it on the machine you’re trying to run it on.
To run programs written in these languages, the code must be translated into machine code that the computer’s processor can understand. This can be done either through compiling or interpreting.
See less