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 | |
|---|---|---|
| 1LDA 5 | ALow-level languages are close to the hardware, not to English, so they are harder for people to read. | |
| 210110000 01100001 | BADD R1, R2 | |
| 3Each low-level instruction is one simple CPU operation, such as adding two values | Ctotal = a + b -> LDA a / ADD b / STA total | |
| 4Low-level code is close to the hardware, so one high-level line becomes many instructions | DAssembly language is low-level, not high-level. Its mnemonics map closely to CPU instructions. | |
| 5Assembly language is a high-level language because it uses words | EAn assembly language instruction that loads a value into the CPU, so it is a low-level language | |
| 6Low-level languages are easy for people to read because they are close to English | FMachine code, the binary instructions the CPU understands directly |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
low-level language — A programming language close to the CPU's instructions, such as machine code or assembly language. Each instruction is one simple CPU operation, so it is harder for people to read.LDA 10 ; load 10 into the accumulatorLDA 10
ADD 5 ; add 5 to the accumulatorLDA 10
ADD 5
STO total ; store the resultLDA 20 ; load twenty into the accumulatorSTO total
END ; stop the program