Low-level and high-level languages, translators (compiler, interpreter, assembler), the steps in implementing a program, and the three kinds of error with the test data used to find them.
5 narrated scenes. Press play, listen and read along — the points appear as they are explained. Use ‹ Prev / Next › or the scene bar to jump to any scene.
A computer only understands machine code, so a translator converts the language you write. When the program fails, you need to know whether the fault is in the spelling, the logic, or the data.
Narration uses your device’s built-in voice. No sound? Switch to “Captions only” — the captions advance on their own.
See how each translator deals with an error in the program.
Copy these into your notebook in your own words — that is how they stick.
Low-level languages.
English-like, portable, e.g. Python.
Translates whole program at once.
Translates and runs line by line.
Assembly → machine code.
Rule break / wrong result / crash while running.
Normal, boundary, erroneous.
Find and fix errors.
3 quick games on this lesson. Earn XP and badges as you play — your best score for each game is saved. Games are for practice and do not change your exam readiness. More games in the Information Technology Arcade.
8 items modelled on real CSEC Paper 1 questions. Choose one answer for each, then check. Aim for 80% or better. Work each item on paper first.
Write full answers, then reveal the mark scheme and tick the points you earned (12 marks in total). Show all your working — method marks count. Your answers are saved on this device.
Question 1 [12 marks]
Shani is writing a program in a high-level language to calculate the area of a circle.
(a) (a) State two advantages of a high-level language over machine code. [2]
(b) (b) Distinguish between a compiler and an interpreter. [2]
(c) (c) Name and explain the three types of error that Shani may find. [6]
(d) (d) Give an example of (i) normal data and (ii) erroneous data for a radius. [2]
Find these in your own past-paper booklets for extra timed practice. Items above are written in the style of these papers; any adapted from a specific question say so.