Given below are two statements: one is labelled as Assertion (A) and the other is labelled as Reason (R):

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 one-pass or two pass assembler.

In the light of the above statements, choose the correct answer from the options given below:

  1. Both (A) and (R) are true and (R) is the correct explanation of (A)
  2. Both (A) and (R) are true but (R) is NOT the correct explanation of (A)
  3. (A) is true but (R) is false
  4. (A) is false but (R) is true

Answer (Detailed Solution Below)

Option 3 : (A) is true but (R) is false

Detailed Solution

Download Solution PDF

The correct answer is: option 3) (A) is true but (R) is false

Key Points

Assertion (A): A load-and-go assembler avoids the overhead of writing the object program out and reading it back in.

  • This is true.
  • A load-and-go assembler directly loads the object code into memory for execution, eliminating the need to save the code to disk and reload it later.

Reason (R): This can be done with either one-pass or two-pass assembler.

  • This is false.
  • Load-and-go assemblers are generally implemented as one-pass assemblers to allow immediate code generation and execution.
  • A two-pass assembler reads the source code twice (once to build the symbol table, once to generate code), which is not suitable for load-and-go scenarios.

Therefore:

  • Assertion (A) is true ✅
  • Reason (R) is false ❌

Hence, the correct answer is: option 3) (A) is true but (R) is false

More Software Requirement Questions

Get Free Access Now
Hot Links: teen patti earning app teen patti master downloadable content teen patti master list