Program Translators (AQA GCSE Computer Science): Flashcards

📚Flashcards
Program Translators
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

Program translator

Software that converts high-level code to machine code

Three types of program translators

Compilers, interpreters, and assemblers

Compiler function

Translates entire program at once into executable file

What a compiler creates

Executable file

Interpreter function

Translates and executes code line by line as program runs

Example of interpreted language

Python

Assembler function

Converts assembly language into machine code

Assembly language to machine code ratio

1:1 correspondence (each instruction = one machine code)

Speed: compiled vs interpreted programs

Compiled programs run much faster than interpreted ones

Hardware dependency of translators

All three types are hardware-dependent

Interpreter advantage for debugging

Stops immediately at errors, shows exact line with problem

Compiled program distribution benefit

Can distribute as executable without sharing source code

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.