Aspire's Library

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

Previous Year Question (PYQs)



Consider the following : 
List IList II
(A) Activation record(I) Linker Loader
(B) Location counter(II) Garbage Collection
(C) Reference count(III) Subroutine Call
(D) Address relocation(IV) Assembler
Which of the following is correct matching?





Solution

Activation record is related to a subroutine call.

When a function or subroutine is called, an activation record is created to store information like parameters, return address and local variables.

So,

$(A)-(III)$

Location counter is used in assembler.

Assembler uses location counter to keep track of the address of the instruction or data item being assembled.

So,

$(B)-(IV)$

Reference count is related to garbage collection.

In reference counting, the system counts how many references point to an object. If the count becomes zero, that object can be removed.

So,

$(C)-(II)$

Address relocation is done by linker loader.

The linker loader adjusts addresses when a program is loaded into memory.

So,

$(D)-(I)$

Final matching is:

$(A)-(III), (B)-(IV), (C)-(II), (D)-(I)$


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...