GRADE 8 · COMPUTING · UNIT 2 · LESSON 2.3
Managing data
Spreadsheet models and what-if changes
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Spreadsheet models and what-if changes
A spreadsheet model links inputs with formulas. What-if analysis changes a stated input and compares the recalculated output. Keep other assumptions clear and distinguish a modelled result from a real business forecast.
- Track how changes to price, cost or number sold affect profit while other assumptions remain fixed.
- Explain my method and support it with a labelled trace, example or test record.

Work through an example
In a simple model with 6 items, selling price 4 and unit cost 2, surplus = 6 × (4 - 2) = 12. Raising price to 5 gives 18 if quantity and cost stay unchanged; demand is an assumption.
Try before your workbook
What happens if unit cost rises to 3 while quantity is 6 and price remains 4?
Explore the clues
Tap one card to find out more.
Understand the idea
A spreadsheet model links inputs with formulas. What-if analysis changes a stated input and compares the recalculated output. Keep other assumptions clear and distinguish a modelled result from a real business forecast.
Concept to practise: Spreadsheet models and what-if changes.
Work through an example
In a simple model with 6 items, selling price 4 and unit cost 2, surplus = 6 × (4 - 2) = 12. Raising price to 5 gives 18 if quantity and cost stay unchanged; demand is an assumption.
Try before your workbook
What happens if unit cost rises to 3 while quantity is 6 and price remains 4?
Check my readiness thinking
The modelled surplus becomes 6 × (4 - 3) = 6. This simple calculation does not include overheads or predict how demand changes.
Your original programs and learning models
These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.
Use a spreadsheet to ask what if
Our original fictional school café model calculates revenue, modelled cost and surplus for four products. Surplus here excludes overheads, waste and unsold stock. It is not a promise of a real café’s profit. Prices and costs use fictional money units.
Keep the complete baseline inputs
| A: Product | B: Unit cost | C: Sale price | D: Units sold |
|---|---|---|---|
| Fruit cup | 0.80 | 1.50 | 40 |
| Oat bar | 0.60 | 1.20 | 50 |
| Lemon drink | 0.35 | 1.00 | 60 |
| Cheese roll | 1.10 | 2.00 | 30 |
Make formulas show the calculation steps
| Cell | Meaning | Formula |
|---|---|---|
| E2 | Revenue: price × units | =C2*D2 |
| F2 | Cost: unit cost × units | =B2*D2 |
| G2 | Surplus: revenue − cost | =E2-F2 |
| E6 | Total revenue | =SUM(E2:E5) |
| F6 | Total cost | =SUM(F2:F5) |
| G6 | Total surplus | =SUM(G2:G5) |
Calculate and check the baseline results
| Product | Revenue | Cost | Surplus |
|---|---|---|---|
| Fruit cup | 60.00 | 32.00 | {'clue': 'Surplus', 'prompt': 'Baseline surplus Fruit cup', 'answers': ['28', '28.0']} |
| Oat bar | 60.00 | 30.00 | {'clue': 'Surplus', 'prompt': 'Baseline surplus Oat bar', 'answers': ['30', '30.0']} |
| Lemon drink | 60.00 | 21.00 | {'clue': 'Surplus', 'prompt': 'Baseline surplus Lemon drink', 'answers': ['39', '39.0']} |
| Cheese roll | 60.00 | 33.00 | {'clue': 'Surplus', 'prompt': 'Baseline surplus Cheese roll', 'answers': ['27', '27.0']} |
Run a fair, repeatable what-if comparison
- Record the baseline and make a prediction
- Change the one named input cell
- Read the recalculated product and total outputs
- Record the result, then restore baseline inputs
Worked trial: raise one product’s selling price
| Stage | Action |
|---|---|
| Inputs | Cost 0.80; price 1.75; quantity 40 |
| Process | Revenue minus modelled cost |
| Outputs | New product surplus and total |
Compare price, cost and quantity trials
| Single baseline change | New product surplus | New total surplus |
|---|---|---|
| Oat bar C3 -> 1.35 | {'clue': 'Surplus', 'prompt': 'Oat bar C3 -> 1.35 product', 'answers': ['37.5', '37.5']} | {'clue': 'Total', 'prompt': 'Oat bar C3 -> 1.35 total', 'answers': ['131.5', '131.5']} |
| Lemon drink B4 -> 0.50 | {'clue': 'Surplus', 'prompt': 'Lemon drink B4 -> 0.50 product', 'answers': ['30', '30.0']} | {'clue': 'Total', 'prompt': 'Lemon drink B4 -> 0.50 total', 'answers': ['115', '115.0']} |
| Cheese roll D5 -> 40 | {'clue': 'Surplus', 'prompt': 'Cheese roll D5 -> 40 product', 'answers': ['36', '36.0']} | {'clue': 'Total', 'prompt': 'Cheese roll D5 -> 40 total', 'answers': ['133', '133.0']} |
Complete two further C09 investigations
| Single baseline change | New product surplus | New total surplus |
|---|---|---|
| Oat bar B3 -> 0.75 | {'clue': 'Surplus', 'prompt': 'Oat bar B3 -> 0.75 product', 'answers': ['22.5', '22.5']} | {'clue': 'Total', 'prompt': 'Oat bar B3 -> 0.75 total', 'answers': ['116.5', '116.5']} |
| Lemon drink D4 -> 80 | {'clue': 'Surplus', 'prompt': 'Lemon drink D4 -> 80 product', 'answers': ['52', '52.0']} | {'clue': 'Total', 'prompt': 'Lemon drink D4 -> 80 total', 'answers': ['137', '137.0']} |
Interpret the result with its assumptions
Real demand, unsold goods, overheads, staffing and capacity may matter outside this model. A larger calculated surplus is therefore a model result to investigate, not a guaranteed business outcome.
Preview target seeking as a different question
| Stage | Action |
|---|---|
| Formula cell | Cafe G2 calculates Fruit cup surplus |
| Desired value | Target surplus: 40 money units |
| Changing input | Cafe C2: Fruit cup sale price |
Files for this activity
Use these original PaxaKids practice files with the matching workbook. Work on a local copy in the appropriate editor. Some examples deliberately contain faults to investigate; a downloaded file is not a completed practical test.

Try one step with Paxa!
Trace code in the stated order and preserve exact spelling and case. Use fictional data. Label a prediction, paper trace, simulator run and physical-device test separately; an unperformed test stays Pending. Save personal responses before leaving.
Our Unit 2 learning path
- Lesson 2.1: Models, simulators and useful features
- Lesson 2.2: Data for users and model designers
- Lesson 2.3: Spreadsheet models and what-if changes
- Lesson 2.4: Goal seek and checking a target
- Lesson 2.5: Data requirements and completeness
- Lesson 2.6: Fields, records and consistent formats
- Lesson 2.7: Presence checks and primary keys
- Lesson 2.8: Length and range checks
- Lesson 2.9: A validated entry form
- Lesson 2.10: Evaluating and designing a database
- Lesson 2.11: Project: Presentation time!
- Lesson 2.12: Check your progress 2
For grown-ups: using this lesson
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.
2. Fill in your workbook
Read the teaching and complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.
Opening your PDF…
Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.
You’ve completed the checked activities.
TAKE YOUR PRACTICE OFFLINE
3. Download the student worksheet
All 12 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 8.4 MiB · No answer key included
TRY FIRST, THEN CHECK TOGETHER
Download the student worksheet →4. Answers & guidance
Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.
Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.
Show answers for all 12 worksheets
Worksheet 1
- Question 1: What does an ordinary what-if trial begin with? a stated input change whose effect will be examined
Worksheet 2
- Question 2: What is the Fruit cup baseline unit cost? 0.80 / 0.8
- Question 3: What is the Fruit cup baseline sale price? 1.50 / 1.5
- Question 4: How many Fruit cups are sold in the baseline? 40
Worksheet 3
- Question 5: Write the filled revenue formula that belongs in E5. =C5*D5
- Question 6: Write the total surplus formula for G6. =SUM(G2:G5)
Worksheet 4
- Question 7: Baseline surplus Fruit cup 28 / 28.0
- Question 8: Baseline surplus Oat bar 30 / 30.0
- Question 9: Baseline surplus Lemon drink 39 / 39.0
- Question 10: Baseline surplus Cheese roll 27 / 27.0
- Question 11: What is the baseline total revenue? 240 / 240.00
- Question 12: What is the baseline total surplus? 124 / 124.00
Worksheet 5
- Question 13: Why restore the baseline before the next independent question? to isolate that question’s named change
- Question 14: Which cells are ordinary editable inputs in Cafe? B2:D5
Worksheet 6
- Question 15: What is the new Fruit cup revenue? 70 / 70.00
- Question 16: What is the new Fruit cup surplus? 38 / 38.00
- Question 17: How much does that surplus increase? 10 / 10.00
- Question 18: What is the new total surplus for all products? 134 / 134.00
Worksheet 7
- Question 19: Oat bar C3 -> 1.35 product 37.5 / 37.5
- Question 20: Oat bar C3 -> 1.35 total 131.5 / 131.5
- Question 21: Lemon drink B4 -> 0.50 product 30 / 30.0
- Question 22: Lemon drink B4 -> 0.50 total 115 / 115.0
- Question 23: Cheese roll D5 -> 40 product 36 / 36.0
- Question 24: Cheese roll D5 -> 40 total 133 / 133.0
- Question 25: For the Oat bar price trial, how much does total surplus increase? 7.5 / 7.50
- Question 26: For the Lemon drink cost trial, how much does total surplus decrease? 9 / 9.00
Worksheet 8
- Question 27: Oat bar B3 -> 0.75 product 22.5 / 22.5
- Question 28: Oat bar B3 -> 0.75 total 116.5 / 116.5
- Question 29: Lemon drink D4 -> 80 product 52 / 52.0
- Question 30: Lemon drink D4 -> 80 total 137 / 137.0
- Question 31: In the larger-quantity trial, what happens to the product’s modelled cost? it also increases because more units are costed
- Question 32: Why might real sales differ after a price increase? customer demand may change, unlike the fixed-quantity assumption
Worksheet 9
- Question 33: What supports a careful conclusion from a what-if trial? the changed input, fixed assumptions and recalculated outputs
Worksheet 10
- Question 34: Which cell is the target formula cell in this example? G2 / Cafe!G2
- Question 35: Which cell is the changing input in this example? C2 / Cafe!C2
- Question 36: How does this target question differ from ordinary what-if? the desired output is known and an input is sought
Worksheet 11
- Question 37: Use or recreate the complete original Cafe Model workbook with its four input rows, relative row formulas and totals. Keep the source baseline unchanged. Predict and run the Fruit cup worked trial and all five further trials on pages 7–8, restoring baseline each time. Record changed cell/value, fixed inputs, expected and actual product/total surplus or Pending, comparison, corrections and retests. Preserve full formula-bearing source and evidence copies or logs. Explain what was tested in an actual spreadsheet and what was a paper calculation. Cite attached evidence and your contribution here. Complete original four-product model, Cafe A1:G6 consistent with source data, row2 E=C*D/F=B*D/G=E-F correctly filled to5, row6 SUM2:5. Baseline revenue240/cost116/surplus124, source baseline preserved and restored before each independent trial. Fruit price1.75 ->product38,total134; Oat price1.35 ->37.5/131.5; Lemon cost0.50 ->30/115; Cheese quantity40 ->36/133; Oat cost0.75 ->22.5/116.5; Lemon quantity80 ->52/137. Predict before actual supported-spreadsheet results or Pending, full formulas/versions/logs and correction/retests retained. Paper calculations not GUI evidence, author native Excel checks not learner completion. Own contribution and actual evidence cited. Grown-up review; personal evidence is required.
Worksheet 12
- Question 38: Explain why increasing price, increasing unit cost and increasing units sold affect the model differently, using specific baseline and trial values. Design one new single-input what-if question, predict its result, run it or mark Pending, and keep a baseline-restored record. Explain at least two important model limitations and one extra data item that could improve a future model. Contrast this input-first investigation with the page 10 output-target question. Record actual review/feedback or Pending, one correction or improvement and your next step. Attach full evidence and cite it here. Explanations use surplus=(price-cost)*quantity and the worked evidence: price increase raises revenue at fixed unit cost/quantity; cost increase reduces surplus at fixed price/quantity; more units changes both revenue and cost, with effect depending on margin. New precise valid single-input question, baseline restored, predicted and actual/Pending output and retained formula/log evidence. At least2 limits such as demand fixed despite price, overheads/waste/capacity excluded, units all sold; relevant extra data and justified improvement. Ordinary what-if starts known input change, goal seek starts target formula output and seeks linked input. Actual review/feedback or Pending, own contribution, meaningful correction/improvement and next step, no invented practical outcome or universal business guarantee. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing Learner’s Book 8 — pages 205–208
- PaxaKids Grade 8 Computing Lesson 2.3: Spreadsheet models and what-if changes — pages 1–12
Computing for your homeschool day
Explore Spreadsheet models and what-if changes with this free Grade 8 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.
Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.
Understand your results
Closed answers are checked in your browser. Drawings and written explanations need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.
For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.
Book page references identify the related teaching topic. File-management and responsible-data preparation are original PaxaKids material; orientation or contents pages are not presented as teaching citations for those skills. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.
Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.
