CIE IGCSE | TOPIC 7 ASSESSMENT

ALGORITHM DESIGN AND PROBLEM-SOLVING: END OF TOPIC REVIEW

Assess your understanding of development, algorithm design, standard algorithms, data checks, testing, traces and complete scenario solutions. Work independently before revealing feedback.

BEFORE YOU BEGIN

Suggested time: 60–80 minutes, or split into two sessions. Complete sections A and B without notes. Write section C answers in your exercise book before revealing the marking guidance.

Sections A and B provide an automatic score out of 24, one point for each fully correct item. Section C has 34 suggested written marks, assessed separately. These are original practice questions, not an official Cambridge paper or grade boundary.

Use pseudocode and trace tables in your book for the applied tasks. State assumptions and show working where a question requires it. Your answers remain only while this page is open.

A | QUICK CHECKS

1. Which statements belong to analysis?

Select all correct answers.

2. A booking model ignores shoe size but retains student ID. Identify the technique.
3. Which statements describe iterative development?

Select all correct answers.

4. What does a structure diagram principally show?
5. Which flowchart symbol represents a decision?
6. Which pseudocode statements are correct?

Select all correct answers.

7. Which statement explains an algorithm’s purpose rather than its detailed processes?
8. Which statements about linear search are correct?

Select all correct answers.

9. Which describe ascending bubble sort?

Select all correct answers.

10. Which update counts one qualifying item?
11. Which statements about extrema and means are correct?

Select all correct answers.

12. A six-character identifier is checked for its number of characters. Identify the check.
13. Which statements about checking data are correct?

Select all correct answers.

14. For whole-number marks zero to fifty inclusive, which set contains the accepted extreme values?
15. Which statements about test plans are correct?

Select all correct answers.

16. After changing a program, checking that retained requirements still work is called what?

B | APPLY YOUR KNOWLEDGE

Use the stated versions and assumptions. Record intermediate states in your book; the automatic items check final answers.

17. Linear search examines [S104, S307, S205, S412, S118] from index one and stops at its first match. How many item comparisons find S205?
18. One full left-to-right ascending bubble pass starts with [5, 2, 4, 1]. Which list remains?
19. For values four, five, eight, two and five, calculate the total of values at least five.
20. Using only the qualifying values from item 19, calculate their mean.
21. Whole-number values must be from twelve to eighteen inclusive. Select all values in the four-value boundary test set.

Select all correct answers.

Algorithm for item 22: assume Count is declared INTEGER.

Count ← 1
WHILE Count <= 3 DO
    OUTPUT Count
    Count ← Count + 1
ENDWHILE
22. Calculate Count when the WHILE loop exits.

Algorithm for item 23: assume Value is declared INTEGER and whole-number input is supplied.

REPEAT
    INPUT Value
UNTIL Value >= 0 AND Value <= 30
OUTPUT Value
23. Inputs are thirty-one, minus one, then twelve. How many INPUT executions occur before output?

Amended attendance task for item 24: four classes supply zero, twelve, zero and eighteen. Count only positive-attendance classes for the mean.

24. Calculate average attendance per participating class.

SUBMIT YOUR AUTOMATIC ANSWERS

You can submit with unanswered items; they receive zero. Each item earns one point only when the complete answer is correct. The total is out of 24, separately from written marks.

C | EXAM-STYLE WRITING

Write in your exercise book before revealing the guidance. Section C assesses subject knowledge and gives you practice expressing it clearly. The first table reproduces the command-word meanings supplied from the Cambridge syllabus. The second gives practical writing guidance for this review.

Command words supplied from the Cambridge IGCSE Computer Science specification
CIE command wordMeaning from the specification
Calculatework out from given facts, figures or information
Compareidentify/comment on similarities and/or differences
Definegive precise meaning
Demonstrateshow how or give an example
Describestate the points of a topic / give characteristics and main features
Evaluatejudge or calculate the quality, importance, amount, or value of something
Explainset out purposes or reasons / make the relationships between things clear / say why and/or how and support with relevant evidence
Giveproduce an answer from a given source or recall/memory
Identifyname/select/recognise
Outlineset out the main points
Show (that)provide structured evidence that leads to a given result
Stateexpress in clear terms
Suggestapply knowledge and understanding to situations where there are a range of valid responses in order to make proposals / put forward considerations

The command applies to the subject context. A brief identification does not need an essay; an explanation needs accurate links. Use the guidance below for the commands in this written review.

Command words used in the written questions
Command wordWhat your answer should doUseful writing pattern
DescribeState the main features or relevant points; for a process, make the sequence clear.First… Next… Finally…
ExplainGive reasons, purposes or clear relationships, supported by relevant subject knowledge.…because…; therefore…; resulting in…; leading to…
CompareIdentify similarities and/or differences, addressing both things on the same basis.Both…; whereas…; unlike…
EvaluateMake a reasoned judgement about suitability or value in the given context.A benefit is…; however…; therefore, for this purpose…
CalculateWork out a result using the supplied data.Show the relevant values and arithmetic.
Show (that)Provide structured evidence leading to the stated result.Trace intermediate states, then link them to the result.
SuggestApply knowledge to propose a valid solution or test.State a proposal and relate it to the requirement.

BUILD A CLEAR EXPLANATION

Point → reason or mechanism → consequence. Connectives help show the relationship, but the technical link must be accurate. Adding “because” to an unsupported claim does not make it a good explanation.

Thin answer: “The count changes.”

Developed answer: “The count increases by one only after an input is accepted because rejected attempts must not represent extra classes, therefore invalid retries do not inflate the final count.”

Use because or because of to introduce a cause; therefore, resulting in or leading to to show a consequence. For comparison, use both and whereas. For evaluation, use however and finish with a justified judgement.

Write enough relevant detail for the marks available. Clear, concise sentences are better than padding. These are writing supports, not compulsory phrases or separate official language marks.

25 | REQUIREMENTS AND DECOMPOSITION

[4 suggested marks]

A school needs a club-booking system that accepts a student ID, rejects duplicate bookings and rejects bookings when the club is full. Describe two checkable requirements and explain how decomposition helps design this solution.

26 | VALIDATION AND VERIFICATION

[4 suggested marks]

A paper register shows a mark of 34. A user enters 43 into a field permitting whole-number marks from 0 to 50. Compare validation and verification in this context, and explain why both can be useful.

27 | BUBBLE SORT EVIDENCE

[4 suggested marks]

Show (that) a complete first left-to-right ascending bubble-sort pass over [5, 2, 4, 1] produces [2, 4, 1, 5]. Show each adjacent comparison and resulting list. Then explain why this does not establish that sorting is complete.

28 | TRACE A CONDITIONAL MEAN

[4 suggested marks]

Assume suitable declarations and valid numeric input. Calculate the final Total, Count and output for inputs 2, -1, 4. Show a trace after each outer iteration.

Total ← 0
Count ← 0
FOR Index ← 1 TO 3
    INPUT Value
    IF Value > 0
      THEN
        Total ← Total + Value
        Count ← Count + 1
    ENDIF
NEXT Index
IF Count > 0
  THEN
    OUTPUT Total / Count
  ELSE
    OUTPUT "No positive values"
ENDIF

29 | CORRECT THE COMPLETE LOGIC

[4 suggested marks]

Whole-number inputs must be from 0 to 30 inclusive. This fragment is intended to retry invalid inputs. Identify its logical error and explain precise corrections. Assume Value is declared INTEGER.

REPEAT
    INPUT Value
UNTIL Value < 0 OR Value > 30
OUTPUT "Accepted: ", Value

30 | TEST DATA AND EXPECTED RESULTS

[4 suggested marks]

A quantity must be a whole number greater than 12 and less than 18. Suggest a normal test and all four boundary tests. State the expected result for each boundary value, and explain why checking only 15 is insufficient.

31 | AMENDMENT AND REGRESSION CHECKS

[4 suggested marks]

An attendance algorithm is amended to process four classes and output the mean per participating class, where participating means positive attendance. Zero remains valid. Explain where to initialise and update ParticipatingClasses, why division needs a guard, and one retained rule that should be regression-tested.

32 | CONSTRUCT A COMPLETE SOLUTION

[6 suggested marks]

A school collects attendance from four classes. Every entry is a whole number from 0 to 30 inclusive; repeat input until valid. Output total attendance, the count of classes with positive attendance and their mean. If none has positive attendance, output No participating classes instead of a mean. Demonstrate a solution by writing a complete pseudocode algorithm. Then calculate its summary outputs for attempts 31, 12, 0, 18, 0. Assume whole-number input.

CHECK YOUR WRITTEN COMMUNICATION

  • Did I answer the command word, rather than just name facts?
  • For explain, did I show an accurate reason or cause-and-effect link?
  • For compare, did I address both things on the same point?
  • For evaluate, did I weigh relevant factors and justify my judgement?
  • Did I use precise terms and connectives naturally, without repeating or padding?

Self-assess using the suggested content marks, keeping the written total separate from your automatic score. Use the writing checklist to improve an answer rather than adding unofficial language marks.

YOUR NEXT REVISION STEP

Submit sections A and B to see suggested lessons to revisit.

For written work, revisit bubble sort, validation and verification, tracing selection and loops, and complete algorithm amendments as needed.

Use the Topic 7 revision page for coverage of all nine sections and a selectable flashcard list. Choose two weak areas, revisit them and try new examples before retesting. Keep automatic and written scores separate; these are practice results rather than grade predictions.