Past-paper question · 2023 May-June · Paper 21 · Q1(a)

Question 1(a) 2023 · May-June · Paper 21 · 4 marks

Original past-paper question for 1(A)
Original past-paper question for 1(A)
Reveal official mark-scheme answer Official mark-scheme answer for 1(A)

Official answer for Question 1

Part (a)

✓
For example:

Question 4

✓
Could set a breakpoint to stop the program at a particular point / instruction
✓
then the value of variables could be checked using a report/watch window
✓
while single stepping can be used to execute one statement/line at a time.
✓
Marks available as follows:
✓
One mark for each underlined term
✓
One mark for an explanation of each term
✓
Note: max 4 marks

Mark scheme 9618_s23_ms_21.pdf →

Show text version of question

Question 1

Part (a)

Question 1

A programmer has written a program which includes the function Calculate().

When the program is run, the function returns an unexpected value.

Part (a)

Describe how a typical Integrated Development Environment (IDE) could be used to help

debug the program to find the errors in the function Calculate().

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[4]
Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9618_s23_qp_21.pdf

Keep practising this topic