CSEC INFORMATION TECHNOLOGY · PROBLEM-SOLVING AND PROGRAMMING · LESSON C7

Documentation and Worked Programs

Internal and external documentation, user and technical documents, then three worked programs from problem to IPO, algorithm, code, test table and evaluation.

Sections 7 and 88.6≈ 55 min🎮 3 games
Before you start

By the end of this lesson you can…

Step 1 · Watch

Explainer video

5 narrated scenes. Press play, listen and read along — the points appear as they are explained. Use ‹ Prev / Next › or the scene bar to jump to any scene.

LESSON C7 · EXPLAINER

Documentation and Worked Programs

This lesson puts the whole unit together. Three complete examples show what the marker is looking for in the problem-solving SBA project and in Paper 032.

Narration uses your device’s built-in voice. No sound? Switch to “Captions only” — the captions advance on their own.

Step 2 · Read

Key notes

Copy these into your notebook in your own words — that is how they stick.

Internal documentation

Comments, names and indentation in the code.

External documentation

User guide and technical documentation.

Keep best so far

Technique for finding the largest or smallest.

Counting

Add 1 to a counter inside an IF.

Totalling

total = total + value inside a loop.

Overtime example

Selection with different formulas.

Validation

Reject unreasonable input.

SBA 15 marks

6 algorithm, 4 trace, 1 run, 3 features, 1 documentation.

EXAM TIPS & COMMON MISTAKES

  • Test your program with normal, boundary and erroneous data.
  • Comment every important section of the code.
  • Print your program’s input and output as evidence for the SBA.
  • Keep the algorithm and the code consistent.
Play & practise

Games

3 quick games on this lesson. Earn XP and badges as you play — your best score for each game is saved. Games are for practice and do not change your exam readiness. More games in the Information Technology Arcade.

Step 3 · Practise

Paper 1 practice — multiple choice

8 items modelled on real CSEC Paper 1 questions. Choose one answer for each, then check. Aim for 80% or better. Work each item on paper first.

Syllabus 8.6

1. Comments written inside program code are

Answer: D. Internal.
Syllabus 8.6

2. A guide that explains how to run a program is

Answer: A. User documentation.
Syllabus 8.6

3. Technical documentation is mainly for

Answer: B. Maintenance.
Syllabus 8.5

4. To find the largest of several numbers you

Answer: C. Compare each to the largest so far.
Syllabus 8.5

5. To count how many marks are 50 or more you

Answer: D. Counter.
Syllabus 7.7

6. After mark = 49 is tested for the condition mark >= 50, the result is

Answer: A. 49 < 50.
Syllabus 8.5

7. Which statement totals values in a loop?

Answer: B. Accumulate.
Syllabus SBA

8. How many SBA marks are for the trace table?

Answer: A. Four of fifteen.
Step 4 · Apply

Paper 2 practice — structured questions

Write full answers, then reveal the mark scheme and tick the points you earned (14 marks in total). Show all your working — method marks count. Your answers are saved on this device.

Paper 2 style · Worked program

Question 1 [14 marks]

A teacher wants a program that reads 10 test marks and displays the highest mark and how many students passed (50 or more).

(a) (a) Complete an IPO chart. [4]

MARK SCHEME — (a) (max 4)

(b) (b) Write pseudocode for the program. [6]

MARK SCHEME — (b) (max 6)

(c) (c) State two kinds of documentation that should be produced. [2]

MARK SCHEME — (c) (max 2)

(d) (d) Suggest two test values and say why each is chosen. [2]

MARK SCHEME — (d) (max 2)

Your progress

Lesson readiness

0%
READY
Not started
Video watched (20%)0%
Multiple choice (40%)0%
Structured (40%)0%

Sources

Where this topic appears in CSEC papers

Find these in your own past-paper booklets for extra timed practice. Items above are written in the style of these papers; any adapted from a specific question say so.