[amp_mcq option1=”is ready to execute” option2=”is the output of compilers, but not assemblers” option3=”must be “loaded” before execution” option4=”must be rewritten before execution E. None of the above” correct=”option3″]
The correct answer is: C. must be “loaded” before execution
Object code is a binary file that contains the machine code instructions for a computer program. It is generated by a compiler or assembler from a source code file. Object code is not ready to execute directly; it must first be loaded into memory and then executed by the CPU.
Option A is incorrect because object code is not ready to execute directly. It must first be loaded into memory and then executed by the CPU.
Option B is incorrect because object code is the output of both compilers and assemblers. Compilers generate object code from high-level programming languages, while assemblers generate object code from low-level assembly languages.
Option C is correct because object code must be loaded into memory before it can be executed. The CPU cannot execute instructions that are not in memory.
Option D is incorrect because object code does not need to be rewritten before execution. It can be executed directly after it has been loaded into memory.
Option E is incorrect because option C is the correct answer.