Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1ADD 5 | AAn instruction set is the list of commands a CPU can process, not the data stored in RAM. | |
| 2JUMP 20 | BCIR: ADD 5 -> CU decodes: ADD | |
| 3An instruction set includes commands to move data between registers and memory | CEach CPU design has its own instruction set, so a program using one design's commands may not work on another. | |
| 4The control unit decodes each instruction by matching it to a command in the instruction set | DLOAD 10 STORE 11 | |
| 5A program written for one CPU always runs on any other CPU because all CPUs share the same instruction set. | EAn instruction from the instruction set that makes the CPU continue from the instruction at address 20 | |
| 6An instruction set is the list of data values stored in RAM. | FAn instruction from the instruction set that tells the CPU to add the value 5 to the accumulator |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
instruction set — The list of all the commands (such as load, add, store and jump) that a CPU design can process. The control unit decodes each instruction using it.LOAD 10 // copy memory 10 into ACC
ADD 11 // add memory 11 to ACC
STORE 12 // save ACC into address 12LOAD 10
ADD 11
STORE 12 // save ACC into address 12ADD 1
JUMP 1 // go back to the first lineLOAD 10
ADD 11 // add the value at address 11
STORE 12// the CU decodes using the instruction set
decoded = lookup(opcode, instruction_set)