In the exam
9618/11 May/June 2022 · Question 5(a) · 4 marks
Draw one line from each IDE feature to its correct description: context-sensitive prompt, dynamic syntax check, breakpoint, single stepping, report window.
Points that gain marks
- Context-sensitive prompt: displays predictions of the code being entered.
- Dynamic syntax check: underlines or highlights statements that do not meet the rules of the language.
- Breakpoint: stops the code executing at a set line. Single stepping: executes one line of the program and then stops.
- Report window: outputs the contents of variables and data structures.
In this lab: Level 4.
9618/21 May/June 2023 · Question 1(a) · 4 marks
When the program is run, the function Calculate() returns an unexpected value. Describe how a typical IDE could be used to help debug the program to find the errors in the function.
Points that gain marks
- Set a breakpoint to stop the program at a particular point / instruction ...
- ... then the value of variables can be checked using a report / watch window ...
- ... while single stepping executes one statement / line at a time.
- One mark for each term, one for its explanation, max 4.
In this lab: Levels 2 and 3.
9618/12 May/June 2023 · Question 7(c) · 4 marks
Complete the table by describing the typical features found in an IDE: breakpoints, dynamic syntax checks, context-sensitive prompts, single stepping.
Points that gain marks
- Breakpoints: stop the code at a specific line to check the current progress / values.
- Dynamic syntax checks: highlight / underline / colour syntax errors as the code is entered.
- Context-sensitive prompts: suggest the code to add // automatically complete statements.
- Single stepping: run the code one line at a time so the values can be checked.
In this lab: Levels 1, 2 and 4.
9618/11 October/November 2023 · Question 6(c) · 4 marks
(i) Identify two features that support the visual presentation of the code in a typical IDE. (ii) Identify two debugging features of a typical IDE.
Points that gain marks
- (i) Prettyprint; expand / collapse code blocks; auto-indentation / formatting.
- (ii) Single stepping; breakpoints; report window; variable expressions.
In this lab: Levels 1 to 5.
IGCSE 0478/12 February/March 2025 · Question 7(c) · 3 marks
Integrated development environments (IDEs) provide translators. Identify three other common functions of an IDE.
Points that gain marks
- Code editor; run-time environment.
- Error diagnostics; auto-complete; auto-correct.
- Prettyprint (syntax highlighting); collapse and expand blocks; auto-documentation.
In this lab: Levels 'Fix the syntax errors', 'Stop at a breakpoint' and 'Name the feature'.