Vaidikalaya

MCQ On Instruction Sets


Q1. CPU has built-in ability to execute a particular set of machine instructions, called as.
  1. Instruction Set
  2. Registers
  3. Sequence Set
  4. 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.
  1. queue
  2. stack
  3. register
  4. None of the above

Answer: b, stack

Q3. The time required to complete one instruction is called:.
  1. Fetch time
  2. Execution time
  3. Control time
  4. All of these

Answer: b, Execution time

Q4. A group of 4 binary bits is called:.
  1. Nibble
  2. Byte
  3. Decimal
  4. Digit

Answer: a, Nibble

Q5. What is the primary purpose of an instruction format?.
  1. To determine the address of operands
  2. To specify the size of the instruction
  3. To define the layout of an instruction in memory
  4. 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:.
  1. R-format
  2. I-format
  3. J-format
  4. C-format

Answer: a, R-format

Q7. In a memory-based instruction format, the address field specifies:.
  1. A register number
  2. The immediate value
  3. A location in memory
  4. The operation code

Answer: c, A location in memory

Q8. Which field in an instruction format can vary in size depending on the architecture?.
  1. Opcode
  2. Immediate value
  3. Address
  4. 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:.
  1. Addressing mode
  2. Opcode
  3. Immediate field
  4. Register field

Answer: a, Addressing mode

Q10. Which instruction format component identifies the location where the result of an operation is to be stored?.
  1. Opcode
  2. Address
  3. Destination register
  4. Immediate value

Answer: c, Destination register

Q11. The format that uses a fixed size for all instructions is called:.
  1. Variable-length format
  2. Fixed-length format
  3. Hybrid format
  4. Dynamic format

Answer: b, Fixed-length format

Q12. What does the ‘register field’ in an instruction format typically specify?.
  1. The operation code
  2. The address in memory
  3. The specific register used
  4. 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?.
  1. Addressing mode
  2. Register field
  3. Opcode
  4. Immediate value

Answer: a, Addressing mode

Q14. In a variable-length instruction format, the length of each instruction is:.
  1. Fixed
  2. Determined by the operation code
  3. Variable
  4. Always the same for each instruction

Answer: c, Variable

Q15. What does an instruction format’s ‘immediate value’ field represent?.
  1. A value directly provided in the instruction
  2. The address of a register
  3. The location of the instruction
  4. 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:.
  1. Address field
  2. Opcode
  3. Immediate field
  4. Register field

Answer: c, Immediate field

Q17. Which type of instruction format includes both source and destination operands in the same format?.
  1. Immediate format
  2. Register format
  3. Memory format
  4. R-format

Answer: d, R-format

Q18. The field in an instruction format that specifies the memory address of an operand is known as:.
  1. Opcode
  2. Address field
  3. Immediate value
  4. Register field

Answer: b, Address field

Q19. In which format are operations typically performed using registers only?.
  1. Immediate format
  2. Register format
  3. Memory format
  4. Indexed format

Answer: b, Register format

Q20. In an instruction format, what does the ‘address’ field specify in a branching instruction?.
  1. The immediate value
  2. The opcode
  3. The target address for the branch
  4. 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?.
  1. Register format
  2. Immediate format
  3. Memory format
  4. Indexed format

Answer: a, Register format

Q22. What is the main characteristic of a fixed-length instruction format?.
  1. Variable field sizes
  2. Consistent instruction length
  3. Dynamic operand allocation
  4. Variable opcode sizes

Answer: b, Consistent instruction length

Q23. Which component of an instruction format specifies the type of addressing used?.
  1. Opcode
  2. Immediate value
  3. Addressing mode
  4. Register field

Answer: c, Addressing mode

Q24. In an instruction format, the immediate value is typically used to:.
  1. Specify a memory location
  2. Directly encode a constant value
  3. Identify the operation to be performed
  4. 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?.
  1. Immediate format
  2. Register format
  3. Memory format
  4. Hybrid format

Answer: d, Hybrid format

Q26. What does the term ‘register field’ in an instruction format refer to?.
  1. The location of the operand in memory
  2. The specific register used in the operation
  3. The immediate value provided in the instruction
  4. 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:.
  1. Opcode
  2. Address field
  3. Immediate value
  4. Register field

Answer: b, Address field

Q28. Which format is used when an instruction involves immediate data and a register?.
  1. R-format
  2. I-format
  3. J-format
  4. C-format

Answer: b, I-format

Q29. The instruction format that includes fields for both source and destination operands is typically:.
  1. Register format
  2. Memory format
  3. R-format
  4. I-format

Answer: a, Register format

Q30. What does a variable-length instruction format allow for?.
  1. Fixed operand sizes
  2. Dynamic instruction sizes
  3. Uniform instruction lengths
  4. Static memory allocation

Answer: b, Dynamic instruction sizes

Q31. In an instruction format, which field typically contains an address for memory operations?.
  1. Opcode
  2. Address field
  3. Immediate value
  4. Register field

Answer: b, Address field

Q32. Which type of instruction format is suitable for simple operations with a constant value?.
  1. Register format
  2. Immediate format
  3. Memory format
  4. Indexed format

Answer: b, Immediate format