Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



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:





Solution

Assertion (A):

A load-and-go assembler directly loads the translated machine code into memory for execution.

It does not create a separate object program file first.

So, it avoids two extra steps:

Writing the object program out

Reading the object program back in

Therefore, Assertion (A) is true.

Reason (R):

A load-and-go assembler can be implemented using one-pass assembler or two-pass assembler technique.

So, Reason (R) is also true.

But Reason (R) only tells that load-and-go can be done using one-pass or two-pass assembler.

It does not explain why the overhead of writing and reading the object program is avoided.

The overhead is avoided because the object code is loaded directly into memory.

Therefore, both (A) and (R) are true, but (R) is not the correct explanation of (A).


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...