{"base":{"id":"cs8-29","subject":"Programming","title":"Developing in iterations","scene":"pycode","steps":[{"mode":"waterfall","eyebrow":"Waterfall","title":"Everything once, in order","body":"One way to build software: plan, design, build, test and release, each stage once. It is simple, but problems found at the end are costly. Run the project.","actions":[{"id":"run","label":"Run the project"}]},{"mode":"iterate","eyebrow":"Iterative development","title":"Small cycles, tested each time","body":"In iterative development you build one small part, test it and review it, then start the next cycle. Feedback can change the plan. Build the environmental quiz one cycle at a time.","actions":[{"id":"cycle","label":"Run a cycle"},{"id":"feedback","label":"Users report a problem"}]},{"mode":"quiz","eyebrow":"Check yourself","title":"Choose a method","body":"A team is making a game, and players will give feedback on early versions.","question":"Which approach suits them best?","options":["Waterfall, testing only at the end","No testing at all","Iterative development"],"answer":2,"right":"Correct. Short cycles let the team use feedback and fix problems early.","wrong":"Not quite. Which method uses feedback during development?","look":"iterate"}],"more":[{"type":"cards","id":"ideas","eyebrow":"Popular idea vs science","title":"Common mix-ups","items":[{"tag":"Popular idea","title":"\"Iterative means no planning.\"","body":"Every cycle starts with a plan; the plan is small and can change."},{"tag":"Popular idea","title":"\"Testing happens only at the end.\"","body":"In iterative development every cycle includes testing."},{"tag":"Popular idea","title":"\"Version 1 must be finished and perfect.\"","body":"Version 1 only needs to work, so it can be tested and improved."}]},{"type":"cards","id":"compare","eyebrow":"Side by side","title":"Waterfall or iterative?","items":[{"tag":"Waterfall","title":"Each stage once","body":"Good: simple to plan and manage.\n\nBad: users see it only at the end; late problems are expensive."},{"tag":"Iterative","title":"Short cycles","body":"Good: early testing, feedback, always something working.\n\nBad: harder to predict the finish date."}]},{"type":"cards","id":"log","eyebrow":"Change log","title":"Recording what changed and why","items":[{"tag":"v1","title":"Start","body":"Plan and an empty quiz screen."},{"tag":"v2","title":"First question","body":"Built and tested."},{"tag":"v3","title":"Bug fix","body":"A tester found the wrong answer was marked right."},{"tag":"v4","title":"Score","body":"Added from the plan."}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Paper prototype","items":[{"title":"Iterate a poster","time":"25 minutes","need":["Paper and pens","Two or three family members as 'users'"],"steps":["Version 1: sketch a quick poster for a pretend event in 3 minutes.","Show it to a user and write down one piece of feedback.","Version 2: improve just that one thing. Show it again and get new feedback.","Do two more cycles, and keep a change log: version, change, reason."],"why":"Each cycle made a small, tested improvement driven by feedback. That's iterative development.","safety":"No safety risks."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Six more questions","questions":[{"question":"What happens in each iteration?","options":["Only planning","Plan, build, test and review a small part","Only release"],"answer":1,"right":"Correct. A full mini-cycle.","wrong":"Not quite. Think of the loop."},{"question":"What is a disadvantage of the waterfall method?","options":["It has no stages","It can't be planned","Problems found late are expensive to fix"],"answer":2,"right":"Correct. Going back means redoing earlier stages.","wrong":"Not quite. When are problems found?"},{"question":"Why keep a change log?","options":["To make the program faster","To record what changed and why","To hide mistakes"],"answer":1,"right":"Correct. It helps the team remember decisions.","wrong":"Not quite. What does a log record?"},{"question":"Users say a button is hard to find. In iterative development the team…","options":["fixes it in the next cycle","waits until the project ends","ignores it"],"answer":0,"right":"Correct. Feedback shapes the next cycle.","wrong":"Not quite. When can feedback be used?"},{"question":"Which is an iteration of a quiz app?","options":["Adding and testing a scoring feature","Throwing the app away","Buying a new computer"],"answer":0,"right":"Correct. One small, tested improvement.","wrong":"Not quite. Which is a small improvement?"},{"question":"App updates such as version 2.4 → 2.5 are an example of…","options":["waterfall only","decomposition only","iterative development"],"answer":2,"right":"Correct. Each update is a new iteration.","wrong":"Not quite. Think about regular updates."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can explain…","items":["how waterfall and iterative development differ","the steps in one iteration","why feedback and early testing help","how to keep a change log"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"iterative development","meaning":"Building software in repeated short cycles."},{"word":"iteration","meaning":"One cycle of plan, build, test and review."},{"word":"waterfall","meaning":"Doing each stage of development once, in order."},{"word":"feedback","meaning":"Comments from users or testers."},{"word":"change log","meaning":"A record of each version: what changed and why."}]},{"type":"sources","id":"sources","title":"Sources","items":["BBC Bitesize GCSE Computer Science: Software development"]}]},"overlay":null}