Site icon T4Tutorials.com

Addressing Modes (Immediate, Direct, Indirect, Indexed) MCQs

1. : In the immediate addressing mode, the operand is:

(A) In memory


(B) A constant within the instruction


(C) In a register


(D) Calculated from base and index registers



2. : In direct addressing mode, the operand is located:

(A) In a register


(B) At a specific memory location


(C) On the stack


(D) In the instruction itself



3. : In indirect addressing mode, the effective address is:

(A) The address of a register


(B) Found by adding two values


(C) Stored in a register or memory location


(D) Directly within the instruction



4. : Indexed addressing mode is used for:

(A) Accessing stack data


(B) Accessing consecutive array elements


(C) Directly fetching operands


(D) Immediate values



5. : Which addressing mode is primarily used to implement arrays?

(A) Immediate addressing


(B) Direct addressing


(C) Indexed addressing


(D) Register addressing



6. : In immediate addressing mode, the operand is:

(A) Found at the memory address in the instruction


(B) The value directly in the instruction


(C) Computed using an index


(D) Stored on the stack



7. : Which addressing mode uses a pointer to access the operand?

(A) Immediate addressing


(B) Direct addressing


(C) Indirect addressing


(D) Indexed addressing



8. : In indexed addressing, the effective address is obtained by:

(A) Adding an index value to a base address


(B) Using a constant address


(C) Indirectly referencing a pointer


(D) Storing a value in the instruction



9. : In direct addressing, the effective address is:

(A) A value from an index register


(B) Computed during execution


(C) Specified directly in the instruction


(D) Found using a pointer



10. : Which addressing mode is typically the simplest for accessing a value in memory?

(A) Indirect addressing


(B) Immediate addressing


(C) Indexed addressing


(D) Direct addressing



11. : In indirect addressing mode, the instruction contains:

(A) The actual operand value


(B) The memory address of a pointer


(C) An index and offset


(D) The final effective address



12. : Which addressing mode allows modification of operands during program execution?

(A) Immediate addressing


(B) Direct addressing


(C) Indirect addressing


(D) Register addressing



13. : Which of the following is an example of immediate addressing?

(A) MOV AX, [BX]


(B) MOV AX, 10H


(C) MOV AX, [1234H]


(D) MOV AX, [BP+SI]



14. : The indexed addressing mode is ideal for:

(A) Jumping to a subroutine


(B) Accessing individual array elements


(C) Multiplying two registers


(D) Performing stack operations



15. : In direct addressing, the address of the operand is:

(A) Stored in a register


(B) Provided as part of the instruction


(C) Computed at runtime


(D) Found in memory indirectly



16. : In indexed addressing mode, which register is typically used?

(A) AX


(B) SI or DI


(C) BX


(D) BP



17. : Which addressing mode requires fewer bits for the operand field?

(A) Immediate addressing


(B) Direct addressing


(C) Indirect addressing


(D) Indexed addressing



18. : Which addressing mode adds an index value to a base address stored in a register?

(A) Direct addressing


(B) Indirect addressing


(C) Indexed addressing


(D) Register addressing



19. : Which addressing mode is useful for looping through array elements?

(A) Immediate addressing


(B) Indexed addressing


(C) Direct addressing


(D) Register addressing



20. : In indirect addressing mode, the memory address of the operand is:

(A) Specified directly in the instruction


(B) Found by adding two registers


(C) Stored in a register or another memory location


(D) Computed from a base address and index



21. : In immediate addressing mode, the instruction specifies:

(A) The address of the operand


(B) The value of the operand


(C) The base address for indexed access


(D) The address of a pointer



22. : Which addressing mode requires the use of an index register?

(A) Immediate addressing


(B) Direct addressing


(C) Indexed addressing


(D) Indirect addressing



23. : In direct addressing mode, the address field contains:

(A) A constant value


(B) The memory address of the operand


(C) A pointer to the operand


(D) An index value



24. : Which addressing mode is often used in assembly language for array manipulation?

(A) Direct addressing


(B) Immediate addressing


(C) Indexed addressing


(D) Indirect addressing



25. : In indirect addressing, the operand’s address is:

(A) Calculated by adding an index


(B) Specified directly in the instruction


(C) Found through a register or memory location


(D) Contained in the program counter



26. : In immediate addressing mode, the operand is:

(A) Found in memory


(B) Found in a register


(C) Provided in the instruction


(D) Found using a pointer



27. : Which addressing mode would you use to access elements in an array?

(A) Direct addressing


(B) Indirect addressing


(C) Immediate addressing


(D) Indexed addressing



28. : In direct addressing, the memory address is:

(A) Calculated using an index


(B) Found in the instruction itself


(C) Stored in a register


(D) Found indirectly



29. : What does indirect addressing mode allow the CPU to do?

(A) Perform arithmetic directly


(B) Access operands via a pointer in memory


(C) Access immediate data directly


(D) Compare two memory addresses



30. : Indexed addressing is typically used to:

(A) Transfer control to a subroutine


(B) Access array elements in sequence


(C) Perform indirect jumps


(D) Load constant values into registers



31. : Which addressing mode stores the operand’s address in a register or memory location?

(A) Immediate addressing


(B) Indirect addressing


(C) Direct addressing


(D) Indexed addressing



32. : The operand in immediate addressing mode is:

(A) A memory location


(B) A register value


(C) A constant specified in the instruction


(D) A calculated effective address



33. : Which of the following addressing modes is best suited for handling loops?

(A) Direct addressing


(B) Immediate addressing


(C) Indexed addressing


(D) Register addressing



34. : Indirect addressing mode is useful when:

(A) A pointer is used to reference a memory location


(B) A constant needs to be loaded into a register


(C) An index value needs to be added to a base


(D) Accessing stack data



35. : The value in indexed addressing mode is calculated by:

(A) A fixed memory location


(B) An index value added to a base address


(C) A pointer in a register


(D) An immediate constant



36. : In immediate addressing mode, the operand is:

(A) A register


(B) A memory location


(C) A constant value


(D) Computed at runtime



37. : Which addressing mode is generally faster in terms of execution?

(A) Indirect addressing


(B) Immediate addressing


(C) Direct addressing


(D) Indexed addressing



38. : Which addressing mode uses both base and index registers for calculation?

(A) Direct addressing


(B) Immediate addressing


(C) Indexed addressing


(D) Indirect addressing



39. : Which of the following addressing modes is often used for stack operations?

(A) Direct addressing


(B) Indirect addressing


(C) Immediate addressing


(D) Indexed addressing



40. : In indexed addressing mode, the index register is typically used to:

(A) Access a fixed memory address


(B) Modify immediate values


(C) Reference an element in an array


(D) Calculate arithmetic expressions



41. : Indirect addressing is often used for:

(A) Stack manipulation


(B) Array indexing


(C) Jump instructions


(D) Immediate data access



42. : Which addressing mode requires the least memory to store instructions?

(A) Indirect addressing


(B) Immediate addressing


(C) Direct addressing


(D) Indexed addressing



43. : The operand in indirect addressing mode is found:

(A) In the instruction itself


(B) Using an offset and base address


(C) Through a pointer in memory


(D) In a register directly



44. : Which addressing mode is preferred for multi-dimensional array access?

(A) Immediate addressing


(B) Direct addressing


(C) Indexed addressing


(D) Indirect addressing



45. : In direct addressing mode, the operand address is:

(A) Calculated during execution


(B) Embedded in the instruction


(C) Found indirectly through a register


(D) Retrieved from the stack



46. : Which addressing mode allows the use of a constant value directly in an instruction?

(A) Immediate addressing


(B) Indirect addressing


(C) Indexed addressing


(D) Direct addressing



47. : Indexed addressing mode combines:

(A) A base address and an index value


(B) A register and an immediate value


(C) Two pointer registers


(D) A constant and a direct address



48. : The immediate addressing mode is beneficial for:

(A) Array manipulation


(B) Arithmetic operations with constants


(C) Indirect memory access


(D) Jumping between program segments



49. : Which addressing mode involves using a pointer stored in a register to access data?

(A) Immediate addressing


(B) Indexed addressing


(C) Indirect addressing


(D) Direct addressing



50. : Which addressing mode is often faster for accessing small constants?

(A) Direct addressing


(B) Immediate addressing


(C) Indirect addressing


(D) Indexed addressing



 

Read More Computer Architecture MCQs

  1. SET 1: Computer Architecture MCQs
  2. SET 2: Computer Architecture MCQs
  3. SET 3: Computer Architecture MCQs
  4. SET 4: Computer Architecture MCQs
  5. SET 5: Computer Architecture MCQs
  6. SET 6: Computer Architecture MCQs
  7. SET 7: Computer Architecture MCQs
  8. SET 8: Computer Architecture MCQs
  9. SET 9: Computer Architecture MCQs

 

Exit mobile version