All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · September 2022

Assertion (A): A load-and-go assembler avoids the overhead of writing the object program out and reading it back in. Reason (R): This can be done with either a one-pass or a two-pass assembler.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. (A) is true but (R) is false

Explanation

A load-and-go assembler places code directly in memory, avoiding writing the object program out and reading it back (A true). It can be one-pass or two-pass (R true), but that does not explain A.

Note on the official key: the official key says option A. Official/PW key is A. Beck notes a load-and-go assembler can be one-pass or two-pass, so R is true, but it does not explain why A holds; option B fits.

More Theory of Computation and Compilers questions