IGCSE Algorithm Design and Problem Solving Worksheet
IGCSE Algorithm Design and Problem Solving Worksheet
a) Analysis
b) Design
c) Coding
d) Testing
4. Break down the 'Check time' sub-system from the smartphone alarm app into further
sub-systems. (Refer to Figure 7.3)
Section C: Problem Decomposition
5. What is problem decomposition? How does it help in solving complex problems?
9. Explain the difference between linear search and bubble sort with examples. (6 M)
10. Describe how totalling and counting algorithms are used in data processing.(2M)
12. Define verification and explain two methods used to verify data input.(4M)
Section F: Testing and Debugging
13. What is a dry run, and how is it useful in testing algorithms?(2M)
14. Define algorithms and explain different symbols used in flowchart. (8M)
14. Create a trace table to dry run the following pseudocode:(5M)
Total <-0
FOR i = 1 TO 5
INPUT number
total <- total + number
NEXT i
OUTPUT total
1 2
2 3
3 4
4 1
5 5
counter = 0
WHILE counter < 10
PRINT counter
counter = counter - 1
END WHILE