Question bank › GCSE › GCSE Computer Science › Programming languages and IDEs

Languages, translators and IDEs

10 questions40 marksabout 50 min

Answer on paper first, then reveal the mark scheme one mark at a time.

1Grade 1–32 marks

Give two characteristics of a high-level language. [2]

2Grade 4–54 marks

Describe two differences between a compiler and an interpreter. [4]

3Grade 4–53 marks

(a) Give one example of a low-level language. [1]

(b) Explain why a programmer might choose to write a program in a low-level language. [2]

Stuck on Languages, translators and IDEs?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4Grade 4–54 marks

Describe two features of an IDE that help a programmer find and fix errors. [4]

5Grade 6–74 marks

A games company is about to sell a new game to customers.

Explain whether the company should give customers a compiled version of the game or the source code to be interpreted. [4]

6Grade 4–53 marks

(a) Explain why programs written in a high-level language need to be translated. [2]

(b) Give one reason why a programmer might use an interpreter rather than a compiler while they are still writing and testing a program. [1]

7Grade 1–34 marks

Programming languages can be described as high-level or low-level.

For each statement in the table, tick (✓) one box to show whether it describes a high-level language or a low-level language. [4]

StatementHigh-levelLow-level
One statement in the language is translated into many machine code instructions.  
The programmer has to understand how the processor's registers and memory addresses work.  
The same source code can be translated to run on different types of processor.  
Each instruction corresponds directly to an instruction the processor can execute.  
8Grade 4–55 marks

The diagram shows part of an IDE window while a programmer is writing a Python program.

(a) The message at the bottom of the window was produced when the programmer clicked Run. State the name of the IDE tool that produces messages like this. [1]

(b) The editor displays line numbers. Explain how line numbers help the programmer when this message appears. [2]

(c) Other than line numbers, identify two features shown in the editor that help the programmer write the code. [2]

MyIDE - grade.pyRun123456score = int(input("Score: "))if score >= 50print("Pass")else:print("Fail")print("Done")ProblemsLine 2: SyntaxError: expected ':'Program did not run.
9Grade 6–75 marks

A program is written in a high-level language. Line 05 contains a mistake.

01 count = 3
02 count = count * 4
03 print(count)
04 print("Half: " + str(count DIV 2))
05 print("Done"
06 print("Finished")

(a) State the type of error on line 05. [1]

(b) The program is run using an interpreter, which translates and executes one line at a time. State what is output before the program stops. [2]

(c) Explain why nothing would be output if the programmer tried to run the program using a compiler instead. [2]

10Grade 8–96 marks

Priya writes a weather-logging program in a high-level language on her laptop and compiles it. The compiled program runs correctly on the laptop.

She copies the compiled program onto a small single-board computer that has a different type of processor. The program will not run on the single-board computer.

(a) Explain why the compiled program will not run on the single-board computer. [2]

(b) Describe two different ways Priya could get her program to run on the single-board computer without rewriting it. [4]

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session