Lesson 4.7.3.3
4.7.3.3 Instruction set and addressing modes Quiz: AQA Computer Science, Unit 7
20 questions
In partnership with Revision Ninja
Lesson 4.7.3.3, Instruction set and addressing modes: 20 multiple choice questions for the AQA Computer Science (7517), Unit 7: Fundamentals of computer organisation and architecture, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
What is the complete collection of machine code commands a specific processor can execute?
- Operating system
- Register transfer
- Instruction set
- Assembly language
-
Why is binary machine code generally non-portable between different processor architectures?
- Bus widths change
- Clock speeds differ
- Opcodes are architecture-specific
- RAM speeds vary
-
Which two components make up a standard machine code instruction?
- Opcode and operand
- Byte and bit
- Register and bus
- ALU and accumulator
-
In the simple model with a 4-bit opcode (3 bits for the basic operation and 1 bit for the addressing mode), how many distinct basic operations can be encoded?
- 16 (2^4)
- 2 (2^1)
- 4 (2^2)
- 8 (2^3)
-
How many unique instructions can be represented by a 4-bit opcode?
- 8
- 32
- 16
- 4
-
An 8-bit instruction has a 4-bit opcode and a 4-bit operand. How many distinct operand values can the operand field hold?
- 4 (2^2)
- 8 (2^3)
- 16 (2^4)
- 256 (2^8)
-
What does the operand represent when using immediate addressing?
- A memory address
- A pointer address
- The actual data
- A register address
-
What does the operand represent when using direct addressing?
- An indirect pointer
- The actual data
- A memory address
- An opcode bit
-
In assembly code, what value is loaded by the immediate instruction LOAD #20?
- 20 bytes
- Address 20 itself
- 20
- Data at location 20
-
What value is loaded into the register by the direct addressing instruction LOAD 20?
- Address 20 contents
- Address of register
- The value 20
- The address 20
-
A design uses direct addressing with a 4-bit operand. How many distinct memory addresses can the operand name?
- 256
- 16
- 4
- 8
-
Which addressing mode is best when operating on a hardcoded constant value?
- Immediate addressing
- Indexed addressing
- Direct addressing
- Indirect addressing
-
In simple instruction sets, what do the combined opcode bits specify?
- Address and data
- Operation and mode
- Register and memory
- Clock and frequency
-
Which software component or structure is specific to a particular processor family?
- Operating system
- Instruction set
- High-level code
- Compiler
-
A design uses 6-bit opcodes and 10-bit operands. What is the instruction length, and how many opcodes are possible?
- 12 bits, and 64 opcodes
- 18 bits, and 32 opcodes
- 16 bits, and 64 opcodes
- 16 bits, and 32 opcodes
-
What is the maximum number of unique memory addresses an 8-bit direct operand can access?
- 512
- 1024
- 128
- 256
-
Which addressing mode is used for the numerical value 5 in the instruction ADD R1, #5?
- Register addressing
- Direct addressing
- Immediate addressing
- Indirect addressing
-
What must high-level code be translated into for processors with different instruction sets?
- Universal bytecode
- Different machine code
- Identical machine code
- Same assembly code
-
An opcode uses 3 bits for operations and 1 bit for addressing mode. How many operations are possible?
- 8
- 3
- 16
- 4
-
In the AQA simplified instruction model, which part of the instruction contains the addressing mode bit?
- Opcode
- Register
- Status register
- Operand
Related quizzes
- Data types Quiz · 4.1.1.1 · 20 questions
- Entity relationship modelling Quiz · 4.10.1.1 · 20 questions
- Big Data Quiz · 4.11.1.1 · 20 questions
- Function types and first-class objects Quiz · 4.12.1.1 · 20 questions
- Analysis Quiz · 4.13.1.1 · 20 questions
- Data structures and abstract data types Quiz · 4.2.1.1 · 20 questions
- Breadth-first and depth-first search Quiz · 4.3.1.1 · 20 questions
- Problem-solving and algorithms Quiz · 4.4.1.1 · 20 questions
- Natural, rational, irrational and real numbers Quiz · 4.5.1.1 · 20 questions
- Programming concepts: sequence, selection and iteration Quiz · 4.1.1.2 · 20 questions