Languages and Translators Flashcards

1️⃣ Familiarise yourself with the flashcards:

  • Look through all the flashcards to see what's on both sides.
  • Make sure you understand the information on each card. If something's unclear, click the link to the revision notes at the bottom of the page for more details.

2️⃣ Test yourself:

  • Look at the question or prompt on each card and try to remember the answer before flipping it over.
  • Check the answer and make a note of any cards you find challenging and need to go over more.

3️⃣ Consistently Review and Practice:

  • Use spaced repetition: spend more time on the cards you struggle with and go over them more often.
  • Regularly review all the flashcards to help you better understand and retain the information over time.

Note: We may include questions that have multiple correct answers. It's useful to remember specific examples to understand these concepts better.

PERSONALISED 1-TO-1 TUTORING

Need more help on this topic? Get 1-to-1 support

Get support with clear explanations, practice and feedback (Ages 5 to 16).

  • DBS-checked tutors
  • Flexible times
  • Parents can be updated

Want an ad-free experience? Subscribe to remove ads

What is a high-level programming language?

A language close to human language. It is easy to read and write, but must be translated to machine code to run.

What is a low-level language?

A language close to the hardware. It gives fine control of the CPU and memory. Examples are machine code and assembly.

What is machine code?

The binary 1s and 0s the CPU runs. It is specific to one type of processor.

What is assembly language?

A low-level language that uses short words called mnemonics. Each line often maps to one machine instruction. It needs an assembler.

What is a translator in computing?

Software that converts source code into machine code. The main types are assembler, compiler, and interpreter.

What does a compiler do?

It translates the whole program at once to make an executable file. The program then runs fast. Errors are given after the compile.

What does an interpreter do?

It translates and runs the program one line at a time. It stops at the first error. It is good for testing code.

What does an assembler do?

It converts assembly language into machine code. The output is object code the CPU can run.

What is source code?

The human-readable code written by the programmer. It needs a translator before the computer can run it.

What is object code?

The machine code produced by a compiler or assembler. The CPU can run it without the original source code.

Why are high-level languages called portable?

The same code can work on many types of computer. You only need the right compiler or interpreter for each system.

When might a low-level language be used?

When you need very fast code or direct control of hardware. For example, to handle a device or a time-critical task.