Programming Languages and Translators | Edexcel International GCSE Computer Science (4CP0)
Guide overview All 20 topics Sample questions Papers and weighting Look inside Questions and answers
Programming Languages and Translators
- 22 questions
- 2 subtopics
- Paper 1
Programming Languages and Translators is examined in Paper 1, Principles of Computer Science.
It covers high-level and low-level languages, and assemblers, compilers and interpreters.
Sample questions from Programming Languages and Translators
Answer each one closed book first, then open the answer.
-
High-level and low-level languages
What is a high-level language?
Show the answer
A high-level language uses English-like statements that are easy for people to read and write, such as Python or Java. -
High-level and low-level languages
What is machine code?
Show the answer
Machine code is binary instructions that the CPU can execute directly. -
High-level and low-level languages
Give three advantages of a high-level language.
Show the answer
High-level code is easier to read and write. High-level code is easier to debug. The same high-level program can run on different types of computer. -
High-level and low-level languages
Give two disadvantages of a low-level language.
Show the answer
Low-level code is hard to read, write and debug. Low-level code works only on the type of CPU it was written for. -
Assemblers, compilers and interpreters
What is an assembler?
Show the answer
An assembler is a translator that converts assembly language into machine code. -
Assemblers, compilers and interpreters
What is an interpreter?
Show the answer
An interpreter is a translator that translates and runs a high-level program one statement at a time. -
Assemblers, compilers and interpreters
Give two advantages of an interpreter.
Show the answer
An interpreter stops at the first error and shows where it is, which makes debugging easier. A program can be tested without waiting for a full compilation. -
Assemblers, compilers and interpreters
When are an interpreter and a compiler each usually used?
Show the answer
An interpreter is often used while a program is being developed and tested. A compiler is used to produce the finished program for users.
The 2 subtopics
One subtopic is one session. Work down the list.
| Subtopic | What it covers | Questions |
|---|---|---|
| High-level and low-level languages | High-level and low-level languages, machine code and assembly language, and which suits a given task. | 10 |
| Assemblers, compilers and interpreters | How assemblers, compilers and interpreters translate programs, and the advantages and disadvantages of each. | 12 |
How the guide is worked
Answering a question from memory stores it far better than reading the answer again. The guide runs that as a fixed procedure on one subtopic at a time, about twenty minutes a session.
-
Step 1 · Closed book
Cover the answers. Work through one subtopic and write down what you can. Leave blanks where you have nothing.
-
Step 2 · Open book
Go back to the top. Read each printed answer and write it out in full, including the ones you had right.
-
Step 3 · Closed book again
Same questions, same order, from memory. The gap between pass one and pass three is the session result.
Read the full method, the return schedule and the research behind it.
Around this topic
Edexcel International GCSE Computer Science Active Recall Guide
Programming Languages and Translators and every other topic, with the answers printed after each section.