Match List I with List II. List IA. Activation Record B. Location Counter C.…
2017
Match List I with List II.
List I
A. Activation Record
B. Location Counter
C. Reference Count
D. Address Relocation
List II
p. Linking Loader
q. Garbage Collection
r. Subroutine Call
s. Assembler
Matching A, B, C, and D in the same order gives:
- A.
p, q, r, s
- B.
q, r, s, p
- C.
r, s, q, p
- D.
r, s, p, q
Attempted by 80 students.
Show answer & explanation
Correct answer: C
Correct answer: r, s, q, p.
A-r: An activation record (stack frame) is created for a subroutine call.
B-s: A location counter is maintained by an assembler to assign addresses while translating assembly code.
C-q: Reference counting is a memory-management technique used in garbage collection.
D-p: Address relocation is handled by a linking loader while placing linked object code into memory.
Therefore, the required sequence is r, s, q, p.
A video solution is available for this question — log in and enroll to watch it.