{"base":{"id":"cs8-28","subject":"Data","title":"What-if spreadsheets","scene":"data","steps":[{"mode":"sheet","eyebrow":"Inputs and formulas","title":"What's inside each cell?","body":"A spreadsheet cell holds either an input (a typed value) or a formula that works out its answer from other cells. Look inside three cells, then change the price.","controls":[{"id":"price","label":"Price per lesson (B2)","min":5,"max":30,"step":1,"value":15,"unit":"$"}],"actions":[{"id":"c2","label":"Cell B2"},{"id":"c0","label":"Cell B5"},{"id":"c1","label":"Cell B6"}]},{"mode":"whatif","eyebrow":"What if?","title":"Change an input, keep the formulas","body":"A what-if question changes one input and lets the formulas recalculate. What if the music school gave a discount? Change the discount and watch the total.","controls":[{"id":"discount","label":"Discount (B4)","min":0,"max":50,"step":5,"value":0,"unit":"%"}]},{"mode":"scenarios","eyebrow":"Scenarios","title":"Compare and explain","body":"A scenario is one set of inputs. Save one scenario, change only the discount, and save another. Because only one input changed, you know what caused the difference.","controls":[{"id":"discount","label":"Discount (B4)","min":0,"max":50,"step":5,"value":0,"unit":"%"}],"actions":[{"id":"save","label":"Save this scenario"}]},{"mode":"quiz","eyebrow":"Check yourself","title":"Formula or not?","body":"Cell B6 should always show B5 minus 10%.","question":"What should be typed into B6?","options":["=B5*0.9","135","B5 minus 10%"],"answer":0,"right":"Correct. A formula starts with = and recalculates when B5 changes.","wrong":"Not quite. Which one updates by itself when B5 changes?","look":"sheet"}],"more":[{"type":"cards","id":"ideas","eyebrow":"Popular idea vs science","title":"Common mix-ups","items":[{"tag":"Popular idea","title":"\"Typing the answer is the same as using a formula.\"","body":"A typed number never updates. A formula recalculates whenever its inputs change."},{"tag":"Popular idea","title":"\"To compare, change lots of inputs at once.\"","body":"Change one input at a time, or you can't tell which change caused the difference."},{"tag":"Popular idea","title":"\"A spreadsheet is always right.\"","body":"Its answers are only as good as the inputs and formulas."}]},{"type":"cards","id":"formulas","eyebrow":"Formulas","title":"Useful spreadsheet formulas","items":[{"tag":"=B2*B3","title":"Multiply","body":"Price × lessons = full cost.","code":true},{"tag":"=B5*(1-B4/100)","title":"Discount","body":"Takes the discount percentage off.","code":true},{"tag":"=SUM(B2:B6)","title":"Add a range","body":"Adds every cell from B2 to B6.","code":true},{"tag":"=IF(B6<=130,\"OK\",\"Too much\")","title":"Threshold","body":"Checks the total against a budget.","code":true}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Spreadsheet trip","items":[{"title":"Plan a class trip","time":"25 minutes","need":["A spreadsheet app (or squared paper)","A calculator"],"steps":["Set up inputs: bus cost, ticket price per student, number of students.","Add formulas: total tickets = price × students; total = bus + tickets; cost per student = total ÷ students.","Ask what if: 20 students? 30? A cheaper bus?","Save each scenario in a table and say which input caused each difference."],"why":"The formulas stayed the same while the inputs changed. That's how spreadsheets answer what-if questions.","safety":"No safety risks."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Six more questions","questions":[{"question":"What does a formula start with?","options":["#","?","="],"answer":2,"right":"Correct. e.g. =B2*B3.","wrong":"Not quite. Look at the formulas in the lesson."},{"question":"B2 = 4 and B3 = 5. What does =B2*B3 show?","options":["9","45","20"],"answer":2,"right":"Correct. 4 × 5 = 20.","wrong":"Not quite. Multiply the two cells."},{"question":"What happens to a formula cell when an input changes?","options":["It stays the same","It is deleted","It recalculates"],"answer":2,"right":"Correct. Formulas update automatically.","wrong":"Not quite. Why use formulas at all?"},{"question":"What is a scenario?","options":["A type of chart","One set of input values","A formula error"],"answer":1,"right":"Correct. Different scenarios use different inputs.","wrong":"Not quite. Think of 'discount 10%' vs 'discount 20%'."},{"question":"Two scenarios differ only in the discount. What caused the difference in the totals?","options":["The discount","The price","The number of lessons"],"answer":0,"right":"Correct. Only one input changed.","wrong":"Not quite. Which input was different?"},{"question":"Which cell should be an input in a cost model?","options":["Cost after discount","Price per lesson","Full cost"],"answer":1,"right":"Correct. It's a value you type and change.","wrong":"Not quite. Which value isn't worked out from others?"}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can explain…","items":["the difference between input cells and formula cells","how formulas recalculate when an input changes","how to ask a what-if question","how to compare scenarios and explain which input caused a difference"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"spreadsheet","meaning":"A grid of cells for calculations and models."},{"word":"cell","meaning":"One box in a spreadsheet, named like B2."},{"word":"formula","meaning":"A calculation starting with = that uses other cells."},{"word":"what-if question","meaning":"Changing an input to see what would happen."},{"word":"scenario","meaning":"One set of input values to compare."}]},{"type":"sources","id":"sources","title":"Sources","items":["BBC Bitesize KS3 Computing: Spreadsheets and modelling"]}]},"overlay":null}