A brief note on Planning a Program . Read it before a test. Try each question at the end before you open its answer.
The program development life cycle Analysis: identify the problem and the requirements, with abstraction and decomposition. Design: decomposition, structure diagrams, flowcharts and pseudocode. Coding: write the program code, with iterative testing (test, correct, test again). Testing: test the whole program with test data. A problem found later sends the team back to an earlier stage.
Breaking a problem down Every computer system is made of sub-systems, which are made of further sub-systems. Decomposition splits a problem into inputs, processes, outputs and storage. Abstraction keeps the details that matter and removes the rest. A structure diagram shows the system at the top and its parts below. It has no arrows and no decisions. Flowchart symbols Terminator (round ends): START and STOP. Process (rectangle): an action, such as Total ← 0. Input/Output (parallelogram): INPUT X, OUTPUT Total. Decision (diamond): two exits, Yes and No. Subroutine (rectangle with a line inside each end): a separate flowchart. Flow line (arrow): a line back to an earlier shape makes a loop. Write conditions precisely: X > 10, not "X is bigger than 10".
Practice with new numbers
A program to try The program follows a flowchart that counts the inputs greater than 10 10 10 . It prints the variables after each pass, like a dry run.
Read it first. Then run it. Why is the input 10 not counted?
1. Change the test to x >= 10. Predict the new output.
Mistakes to avoid Calling iterative testing the testing stage. It happens in coding. A decision with one exit. A diamond always has Yes and No. Input or output in a rectangle. Use the parallelogram. Forgetting the edge value. Check the number that equals the limit in a decision. Check yourself Which stage includes drawing a structure diagram? Stuck? Show a hint Show the answerA music app stores song titles and lengths, but not the weather on the day each song was recorded. What is this called? Stuck? Show a hint Show the answerWhich shape holds OUTPUT Score? Stuck? Show a hint Show the answerA flowchart sets X to 1 1 1 and doubles it until X > 20. What is the final value of X? Stuck? Show a hint Show the answerSources Cambridge International, IGCSE Computer Science 0478 syllabus (2026, 2027 and 2028), unit 7 and section 4 (flowchart symbols).