Oxford Cambridge and RSA
GCSE (9-1) Computer Science
Algorithms & Programming
J277/02
Topic: Unit 2.5 IDE Tools
Time allowed: 25 minutes
Centre number Candidate number
First name Last name
INSTRUCTIONS INFORMATION
Turn over
Section A: The Editor – More than just a notepad
1
Most IDEs include a code editor with features to help write code efficiently. Describe how the following two editor features assist the programmer:

(i) Syntax Highlighting
[2]

(ii) Auto-completion (Intelligent Code Completion)
[2]
2
A student is writing a Python program. They type prin and the IDE suggests print().

Identify the specific Editor tool that provided this suggestion.
[1]
Section B: Error Diagnostics & Debugging
3
An IDE provides "Error Diagnostics".

(i) State one way an IDE alerts the user to a Syntax Error before the code is even run.
[1]

(ii) The following code contains a Logic Error (it runs but gives the wrong result):
# Calculate average of two numbers num1 = 10 num2 = 20 average = num1 + num2 / 2 # Logic Error here print(average)
Explain why the IDE's Error Diagnostics tool will not highlight line 3 as an error.
[2]
Turn over
4
A programmer is using a Stepping (or Step-Through) tool within the IDE to fix the code in Q3.

Describe how using Stepping helps the programmer find the logic error.
[2]
Section C: Run-time Environment & Translators
5
Fill in the blanks using the terms below. You may not use all terms.
(Source Code, Machine Code, Run-time Environment, Editor, Linker)

"A ....................................... is a piece of software that allows a program to be executed. It often provides access to built-in libraries and manages the computer's memory during execution. Before this can happen, a translator must convert the high-level ....................................... into ........................................"
[3]
6
A student is creating a game. They want to distribute the game to friends who do not have Python or an IDE installed.

Explain why a Compiler is more suitable than an Interpreter for this specific purpose.
[3]
Section D: Integrated Tools
7
Evaluate the following claim: "I don't need an IDE. I can just write my code in a basic text file (like Notepad) and run it using the command line."

Give two advantages of using an IDE over a simple text editor.
[4]

1. .....................................................................................................
2. .....................................................................................................
8
Which of the following is NOT a feature of a standard IDE?
[2]

A. Source Code Editor
B. Error Diagnostics
C. Run-time Environment
D. Network Packet Sniffer

Your Answer: [     ]
END OF QUESTION PAPER