Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE-CS-2004 | Question 20

  • Last Updated : 28 Jun, 2021

Which of the following addressing modes are suitable for program relocation at run time ?

(i)   Absolute addressing
(ii)  Based addressing
(iii) Relative addressing
(iv)  Indirect addressing

(A) (i) and (iv)
(B) (i) and (ii)
(C) (ii) and (iii)
(D) (i), (ii) and (iv)


Answer: (C)

Explanation: Explanation:

Program relocation at run time transfer complete block to some memory locations. This requires as base address and block should be relatively addressed through this base address .This require both base address and relative address. So( C)  is correct option.

Absolute addressing mode and indirect addressing modes is used for one instruction at one time, not for whole block So both are not suitable for program relocation at run time.

Quiz of this Question

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :