...
Theory-of-Computation
March 25, 2024
Question 3082 – Environment
March 25, 2024
Theory-of-Computation
March 25, 2024
Question 3082 – Environment
March 25, 2024

UGC NET CS 2017 Nov- paper-3

Question 4
Which of the following addressing mode is best suited to access elements of an array of contiguous memory locations ?
A
Indexed addressing mode
B
Base Register addressing mode
C
Relative address mode
D
Displacement mode
Question 4 Explanation: 
Index mode:
The address of the operand is obtained by adding to the contents of the general register (called index register) a constant value. The number of the index register and the constant value are included in the instruction code.
→ Index Mode is used to access an array whose elements are in successive memory locations (or) contiguous memory locations.
Correct Answer: A
Question 4 Explanation: 
Index mode:
The address of the operand is obtained by adding to the contents of the general register (called index register) a constant value. The number of the index register and the constant value are included in the instruction code.
→ Index Mode is used to access an array whose elements are in successive memory locations (or) contiguous memory locations.

Leave a Reply

Your email address will not be published. Required fields are marked *