Addressing Modes · Computer Organization and Architecture
12 questions · asked in 11 of 27 years (2000–2026)
MCQ 11 · NAT 11-mark 10 · 2-mark 2
2000Questions per year2026
Questions 11–12 of 12
Which is the most appropriate match for the items in the first column with the
items in the second column
Answer: (A)
Match each addressing mode with its use:
- Indexed addressing (Y): the index register steps through the elements one by one, so it fits array implementation (I).
- Base register addressing (Z): the code is relocated by changing only the value in the base register, so it fits writing re-locatable code (II).
- Indirect addressing (X): when an array is passed as a parameter, only its address (a pointer) is passed. The address is then followed to reach the array, so it fits passing array as parameter (III).
So the pairs are (X, III), (Y, I), (Z, II).
Answer: (A)
- Indexed addressing (Y): the index register steps through the elements one by one, so it fits array implementation (I).
- Base register addressing (Z): the code is relocated by changing only the value in the base register, so it fits writing re-locatable code (II).
- Indirect addressing (X): when an array is passed as a parameter, only its address (a pointer) is passed. The address is then followed to reach the array, so it fits passing array as parameter (III).
So the pairs are (X, III), (Y, I), (Z, II).
Answer: (A)
The most appropriate matching for the following pairs is:
Answer: (C)
The instruction format is |opcode|mode|address field|. Match each mode with its typical use:
- Indirect addressing (X): the address field gives the place where the address of the operand is stored, . This is how pointers work, so X matches 2.
- Immediate addressing (Y): the operand itself is in the address field. This is used for constants, so Y matches 3.
- Auto-decrement addressing (Z): the register is reduced first and then used as the address, . This suits counting down in loops, so Z matches 1.
Here EA is the effective address, the place where the operand is found.
Answer: (C)
- Indirect addressing (X): the address field gives the place where the address of the operand is stored, . This is how pointers work, so X matches 2.
- Immediate addressing (Y): the operand itself is in the address field. This is used for constants, so Y matches 3.
- Auto-decrement addressing (Z): the register is reduced first and then used as the address, . This suits counting down in loops, so Z matches 1.
Here EA is the effective address, the place where the operand is found.
Answer: (C)
Keep practising