MCQ On Instruction Sets
Q1. CPU has built-in ability to execute a particular set of machine instructions, called as.
- Instruction Set
- Registers
- Sequence Set
- User instructions
Answer: a, Instruction Set
Solution: An instruction is any task which is to be performed by the processor. Instructions are stored in the register. Instruction set is the set of machine instructions.
Q2. Zero address instructions are implemented with the help of.
- queue
- stack
- register
- None of the above
Answer: b, stack
Q3. The time required to complete one instruction is called:.
- Fetch time
- Execution time
- Control time
- All of these
Answer: b, Execution time
Q4. A group of 4 binary bits is called:.
- Nibble
- Byte
- Decimal
- Digit
Answer: a, Nibble
Q5. What is the primary purpose of an instruction format?.
- To determine the address of operands
- To specify the size of the instruction
- To define the layout of an instruction in memory
- To execute operations directly
Answer: c, To define the layout of an instruction in memory
Q6. The instruction format used to specify operations and their operands directly is known as:.
- R-format
- I-format
- J-format
- C-format
Answer: a, R-format
Q7. In a memory-based instruction format, the address field specifies:.
- A register number
- The immediate value
- A location in memory
- The operation code
Answer: c, A location in memory
Q8. Which field in an instruction format can vary in size depending on the architecture?.
- Opcode
- Immediate value
- Address
- Register
Answer: c, Address
Q9. The field in an instruction format that encodes whether an operation is to be performed using data from a register or memory is called:.
- Addressing mode
- Opcode
- Immediate field
- Register field
Answer: a, Addressing mode
Q10. Which instruction format component identifies the location where the result of an operation is to be stored?.
- Opcode
- Address
- Destination register
- Immediate value
Answer: c, Destination register
Q11. The format that uses a fixed size for all instructions is called:.
- Variable-length format
- Fixed-length format
- Hybrid format
- Dynamic format
Answer: b, Fixed-length format
Q12. What does the ‘register field’ in an instruction format typically specify?.
- The operation code
- The address in memory
- The specific register used
- The immediate value
Answer: c, The specific register used
Q13. Which field in an instruction format determines if an operand is an immediate value or a memory address?.
- Addressing mode
- Register field
- Opcode
- Immediate value
Answer: a, Addressing mode
Q14. In a variable-length instruction format, the length of each instruction is:.
- Fixed
- Determined by the operation code
- Variable
- Always the same for each instruction
Answer: c, Variable
Q15. What does an instruction format’s ‘immediate value’ field represent?.
- A value directly provided in the instruction
- The address of a register
- The location of the instruction
- A computed result
Answer: a, A value directly provided in the instruction
Q16. The field used to specify a relative jump or branch target in an instruction format is called:.
- Address field
- Opcode
- Immediate field
- Register field
Answer: c, Immediate field
Q17. Which type of instruction format includes both source and destination operands in the same format?.
- Immediate format
- Register format
- Memory format
- R-format
Answer: d, R-format
Q18. The field in an instruction format that specifies the memory address of an operand is known as:.
- Opcode
- Address field
- Immediate value
- Register field
Answer: b, Address field
Q19. In which format are operations typically performed using registers only?.
- Immediate format
- Register format
- Memory format
- Indexed format
Answer: b, Register format
Q20. In an instruction format, what does the ‘address’ field specify in a branching instruction?.
- The immediate value
- The opcode
- The target address for the branch
- The register involved
Answer: c, The target address for the branch
Q21. Which instruction format includes both an opcode and a register number to specify operations?.
- Register format
- Immediate format
- Memory format
- Indexed format
Answer: a, Register format
Q22. What is the main characteristic of a fixed-length instruction format?.
- Variable field sizes
- Consistent instruction length
- Dynamic operand allocation
- Variable opcode sizes
Answer: b, Consistent instruction length
Q23. Which component of an instruction format specifies the type of addressing used?.
- Opcode
- Immediate value
- Addressing mode
- Register field
Answer: c, Addressing mode
Q24. In an instruction format, the immediate value is typically used to:.
- Specify a memory location
- Directly encode a constant value
- Identify the operation to be performed
- Specify the register to be used
Answer: b, Directly encode a constant value
Q25. Which type of instruction format is suitable for complex addressing requirements?.
- Immediate format
- Register format
- Memory format
- Hybrid format
Answer: d, Hybrid format
Q26. What does the term ‘register field’ in an instruction format refer to?.
- The location of the operand in memory
- The specific register used in the operation
- The immediate value provided in the instruction
- The operation code
Answer: b, The specific register used in the operation
Q27. In an instruction format, the field that directly specifies an operation’s address is known as:.
- Opcode
- Address field
- Immediate value
- Register field
Answer: b, Address field
Q28. Which format is used when an instruction involves immediate data and a register?.
- R-format
- I-format
- J-format
- C-format
Answer: b, I-format
Q29. The instruction format that includes fields for both source and destination operands is typically:.
- Register format
- Memory format
- R-format
- I-format
Answer: a, Register format
Q30. What does a variable-length instruction format allow for?.
- Fixed operand sizes
- Dynamic instruction sizes
- Uniform instruction lengths
- Static memory allocation
Answer: b, Dynamic instruction sizes
Q31. In an instruction format, which field typically contains an address for memory operations?.
- Opcode
- Address field
- Immediate value
- Register field
Answer: b, Address field
Q32. Which type of instruction format is suitable for simple operations with a constant value?.
- Register format
- Immediate format
- Memory format
- Indexed format
Answer: b, Immediate format