/en-tutor-prep-igcse-cs-program-development-lifecycle-decomposition/
/en-tutor-prep-igcse-cs-program-development-lifecycle-decomposition/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

IGCSE Computer Science: Program Development Life Cycle and Decomposition — Tutor Prep Guide

IGCSE Computer Science: Program Development Life Cycle and Decomposition — Tutor Prep Guide

  • 2026-11-27

Students start writing code the moment they see a question, so analysis and design feel like the teacher talking. This chapter pins the four stages to a 40 hour budget, then breaks a library system into 17 boxes so students see that decomposition exists for sharing work and testing pieces.

Objectives — Students can: (1) state the work of each of the four stages and one consequence of skipping it; (2) split a 40 hour project 15 25 35 25 across the stages, giving 6, 10, 14 and 10 hours; (3) decompose a system into 4 sub-systems and 12 modules, 17 boxes in all, and describe one module by its inputs, processes, outputs and storage; (4) say what each of the three design tools shows and hides; (5) write pseudocode in the exam format, with upper case keywords, an arrow for assignment and 4 space indentation.

01 Prerequisites (3-minute check)

If any of these fails, fix it before the lesson starts.

Skill Quick check Pass mark
Input and output Is a coin entering a vending machine input or output? Input; the can dropping out is output
Order matters What is the difference between validate then store, and store then validate? The order decides whether bad data reaches the store
Percentages What is 25 per cent of 40 hours? 10 hours

02 Lesson flow (60 minutes)

Time Stage Tutor does Student does
0-8 min Four stages Ask what must happen before coding Analysis and design, each with real work
8-18 min Stages and time Split a 40 hour project four ways 6, 10, 14 and 10 hours
18-30 min Sub-systems Break a library system to the third level 4 sub-systems and 12 modules
30-40 min Four parts Describe borrowing with inputs, processes, outputs, storage All four, naming the tables updated
40-50 min Three tools Draw a structure diagram and a flowchart for one problem Say which one shows decisions
50-60 min Pseudocode format Write 12 lines, 3 levels deep The deepest line is 12 spaces in

03 Teaching script (read it out)

Scene 1: Four stages – each one delivers something

The life cycle is limited to four stages, and the exam wants both what each stage does and what goes wrong if it is skipped.
Analysis means finding out what to build. Three jobs: abstraction, which removes detail that does not matter to the problem; decomposition of the problem; and writing the problem and its requirements down. Demonstrate with a canteen ordering system: after abstraction we do not care which cooker the kitchen uses, only the menu, the order, payment and collection. A requirement must be checkable, such as the total shows within 3 seconds. 3 of 24 requirements are vague, which is 12.5 per cent, and that vagueness costs 6 hours of rework later (demonstration figures).
Design means deciding how. The work is further decomposition, structure diagrams, flowcharts and pseudocode. Coding means writing it, and writing it in pieces: finish one module, feed it a few values, move on, which is iterative testing. Testing means testing the whole program with test data, not pressing a few keys.
The four stages form a loop, not a straight line. A failed test may send you back to coding for one line, or back to design for one decision. Pin the time with a 40 hour project: analysis 15 per cent is 6 hours, design 25 per cent is 10, coding 35 per cent is 14 and testing 25 per cent is 10. At 5 hours a day, design takes 2 days. That is the useful sum, because students assume coding is nine tenths of the work when it is about a third.

Stage Work Demonstration Numbers
Analysis Abstraction, decomposition, stating the problem and requirements 3 of 24 requirements are vague 12.5 per cent, 6 hours of rework
Design Further decomposition, structure diagrams, flowcharts, pseudocode Break the design into 12 modules 10 hours of design, 2 days at 5 hours
Coding Write the program, testing each small piece One module at a time, test as you go Iterative testing, not test everything at the end
Testing Test the whole program with test data Normal, abnormal and boundary values A failure sends you back to design or coding

Students name the four stages with one job each, and say which stage is most expensive to skip, which is analysis.

Scene 2: Sub-systems and four parts – down to shareable work

Every computer system is made of sub-systems, and each sub-system is made of further sub-systems, which is decomposition. It exists for three reasons: work can be shared, pieces can be tested alone, and modules can be reused.
Take a library system apart in front of the class. The top level is the whole system; the second level has four sub-systems, catalogue, loans, members and reports; the third level gives each of those three modules, so loans holds borrow, return and renew. The number of boxes is 1 plus 4 plus 12, which is 17. At 3 days a module, 12 modules is 36 days, and at 5 days a week that is 7.2 weeks. That number answers why we share the work: one person needs 7.2 weeks, four people need under two, provided the interfaces are agreed first.
Every part is described by four things: inputs, processes, outputs and storage. Borrowing, for example: the input is the member number and the book barcode; the process checks that the book is in, works out the due date and reduces the copies available; the output is a slip with the due date; the storage writes a loan record and updates the book record. Students forget storage most often, and then cannot answer where the data lives.
Decomposition has a price: interfaces must match, so if loans talks about copies available and the catalogue talks about status, they must be reconciled first; and too many levels means too much communication. Asked for the benefits, answer sharing, testing and reuse; asked for the risks, answer mismatched interfaces and integration cost.

Students describe returning a book with all four parts and name the two tables that must be updated.

Scene 3: Three design tools – each shows one thing

Design has three tools, and the exam often asks why one is used rather than another.
A structure diagram shows hierarchy: how many parts the system has and how each part divides. It runs top down, the boxes only mean contains, so it shows no order and no decisions. That makes it the tool for splitting work and estimating time, not for logic.
A flowchart shows sequence and decisions, with six standard shapes: flow line, process, subroutine, input output, decision and terminator. 3 decisions give 8 paths, so branches multiply fast and a subroutine box keeps the page readable.
Pseudocode shows the logic line by line, and the format must be learned: keywords in upper case such as IF, REPEAT and PROCEDURE; identifiers in Pascal case such as NumberOfPlayers; an arrow pointing left for assignment; DECLARE with a colon and a data type; 4 spaces per level of indentation, but THEN and ELSE indented only two; comments after two forward slashes. 12 lines 3 levels deep means the deepest line starts with 12 spaces. Marks are for logic, not syntax, but a sentence such as x is greater than y is not pseudocode and must be written with comparison symbols; an undeclared variable or a loop with no ending loses marks outright.

Tool What it shows What it hides When to use it
Structure diagram Hierarchy: how many parts, and their parts No sequence or decisions Splitting work and estimating time
Flowchart Sequence, decisions, input and output, six shapes The diagram grows fast with branches Explaining one process precisely
Pseudocode Line by line logic, close to code but not tied to syntax The whole shape is hard to see at once Writing for a reader and for coding

Students take one problem, a password entered three times, and say what the structure diagram, the flowchart and the pseudocode each carry.

04 Question types and worked steps

Type Example Steps Answer
Name the stage Writing down which fields each screen shows Match against the four lists of work Analysis, because it is a requirement
Split the time 40 hour project, testing at 25 per cent Total times the percentage, then divide by the day 10 hours, 2 days at 5 a day
Decompose How many parts does an online shop need Three levels down, then count the boxes Catalogue, basket, payment and members, three modules each
Write pseudocode Enter an age, repeat while below 0 or above 120 REPEAT, INPUT, UNTIL with AND or OR REPEAT INPUT Age UNTIL Age at least 0 AND Age at most 120
Sanity check (teach this): Rationality checks: (1) the four stages are analysis, design, coding and testing, in that order; (2) analysis delivers requirements, design delivers structure diagrams, flowcharts and pseudocode; (3) more levels is not better, since interfaces and integration grow with the levels; (4) every part needs all four of inputs, processes, outputs and storage, and without storage nobody can say where the data lives; (5) a structure diagram shows no order and a flowchart shows no hierarchy, so neither replaces the other; (6) indentation is 4 spaces, but THEN and ELSE are the two space exception; (7) 3 vague requirements out of 24 is already 12.5 per cent, and late discovery costs more, which is why analysis cannot be skipped.

05 Independent practice (3 questions)

Question Answer What to watch
A 40 hour project gives design 25 per cent at 5 hours a day. How many days is that? 10 hours, which is 2 days Check whether they took the percentage before dividing by the day
A system has 4 sub-systems of 3 modules each. How many boxes including the top level? 17, that is 1 plus 4 plus 12 Check whether they dropped the top box
12 modules at 3 days each, 5 days a week. How many weeks? 36 days, which is 7.2 weeks Check whether they treated days as weeks

06 Common mistakes and what to say

Mistake Student writes Say this
Leaving testing to the end Write every feature, then test once Test each module as you finish it, so a failure points at one module instead of the whole program.
Coding during analysis I work out the requirements as I code Write the four parts, inputs, processes, outputs and storage, first; a missing part means rewriting the block.
Mixing up the two diagrams The structure diagram shows the order of steps A structure diagram shows hierarchy only; order and decisions need a flowchart, and the two answer different questions.
Pseudocode as English or as code If the age is bigger than 120 then ask again Upper case keywords, comparison symbols, an arrow for assignment and four space indentation, that is pseudocode.

07 Homework (paper, section and question numbers)

08 Exit check (last 5 minutes)

Question Answer Decision
Four stages Analysis, design, coding, testing Cannot say it, return to act one
Four parts of a module Inputs, processes, outputs, storage Cannot say it, return to the middle of act two
Three tools in one line Structure shows hierarchy, flowchart shows order and decisions, pseudocode shows line logic Cannot say it, return to act three

09 Tutor FAQ

Why not analyse as you code?

Because change gets dearer the later it comes. 3 vague requirements out of 24 is 12.5 per cent, and fixing one during analysis means editing a sentence, while fixing it during coding means changing an interface, the storage and the tests, which is the 6 hour rework in the demonstration. Analysis also sets the boundary, saying what is out of scope before it grows.

Which diagram comes first, structure or flowchart?

Structure first. It divides the system into parts that can be shared out and decides who owns what; then each part gets a flowchart for its order and decisions. Drawn the other way round, a flowchart usually reveals halfway through that some steps belong to a different module.

How detailed should pseudocode be?

Detailed enough for another person to code from it, without going into syntax. The necessary parts are declarations with data types, assignment with a left arrow, upper case keywords, conditions written as comparisons, a loop with a clear ending condition, and four space indentation. Marks are for logic, so short and complete beats long with a missing ending condition.

Find a tutor — freeTutor Registration →

A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →