Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
Say whether each statement is about a high-level language or a low-level language.
Machine code is binary and is the language of the processor. Assembly language is low level: it uses mnemonics such as ADD, and an assembler translates it into machine code. A high-level language is easier to read, write and debug and is machine independent. A low-level language can manipulate the hardware directly.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
(a) Low level. Mnemonics are used in assembly language.
(b) High level. This is machine independence.
(c) Low level. This is direct manipulation of hardware.
(d) High level. This is ease of debugging.
(e) Low level. An assembler translates assembly language.
(f) High level. A statement such as Total ← Price1 + Price2 becomes several machine instructions.
Answer: 3 statements about a high-level language, (b), (d) and (f), and 3 about a low-level language, (a), (c) and (e).
Log in to join the discussion.
Loading…