Multiple choice

Which is the most appropriate match for the items in the first column with the items in the second column? (X) Indirect Addressing (I) Array implementation (Y) Indexed Addressing (II) Writing re-locatable code (Z) Base Register Addressing (III) Passing array as parameter

  1. (X, III) (Y, I) (Z, II)

  2. (X, II) (Y, III) (Z, I)

  3. (X, III) (Y, II) (Z, I)

  4. (X, I) (Y, III) (Z, II)

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Indexed addressing is used for array implementation where each element has indexes. Base register is used to re-locatable code, where starts from base address & then all local addresses as added to base address. Indirect addressing is done when array is passed as parameter only name is passed.