GRADE 7 · COMPUTING · UNIT 1 · LESSON 1.14
Block it out: Moving from blocks to text
Final project
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Final project
Book extension, project or review · original companion practice
A project begins with requirements. This calculation project includes addition, subtraction, multiplication, division, square area, triangle area, rectangle perimeter and the mean of three values. Plan inputs, correct types, calculations, outputs and tests for every required part. A working single example is not the complete project.
- Plan and implement the specified set of eight user-input calculations.
- Correct and adapt supplied programs while choosing appropriate types and arithmetic.

Explore the clues
Tap one card to find out more.
Understand the idea
A project begins with requirements. This calculation project includes addition, subtraction, multiplication, division, square area, triangle area, rectangle perimeter and the mean of three values. Plan inputs, correct types, calculations, outputs and tests for every required part. A working single example is not the complete project.
Concept to practise: Final project.
Work through an example
For a rectangle with length 8 and width 3, perimeter is 2 * (8 + 3) = 22. Brackets ensure both dimensions are doubled. The expression 2 * 8 + 3 gives 19 and does not match the requirement.
Try before your workbook
A triangle has base 6 and height 5. What area should its calculation produce? What special input must a division program guard against?
Check my readiness thinking
The triangle area is 6 * 5 / 2 = 15. A division program must handle a zero divisor appropriately instead of performing division by zero. Each required calculation still needs its own tests.
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.
Build a tested calculation portfolio
Your portfolio must cover addition, subtraction, multiplication, division, square area, triangle area, rectangle perimeter and the mean of three numbers. Every program takes user input. Keep working copies, test records and explanations of repairs.
Plan the addition algorithm
- Start
- Input first and second
- Calculate result: ...
- Output result
- Stop
Preserve and explain subtraction
SUBTRACT_PAXAORIGINAL.PY
first = float(input("First number: "))
second = float(input("Second number: "))
result = first - second
print("Difference:", result)Adapt a copy to multiply and divide
YOUR COPY TO COMPLETE
first = float(input("First number: "))
second = float(input("Second number (non-zero): "))
product = first - second # change this
print("Product:", product)
# TODO: create divide and display its valueRepair the square-area program
FAULTY SQUARE CODE
side = float(input("Side (m): "))
area = side + side
print("Area (m^2):", area)Repair and classify triangle area
FAULTY TRIANGLE CODE
base = float(input("Base (m): "))
height = float(input("Height (m): "))
area = base * height
print("Area (m^2):", area)
if area >= 50:
print("Big triangle")
else:
print("Small triangle")Use the full rectangle boundary
| Case | length (m) | width (m) | Expected perimeter (m) |
|---|---|---|---|
| R1 | 11 | 8.5 | 39 |
| R2 | 9.2 | 4.9 | 28.2 |
| R3 | 6.1 | 3.4 | 19 |
PERIMETER RULE
perimeter = 2 * (length + width)
# Keep the parentheses.Translate the mean calculation
ORIGINAL BLOCK-STYLE BRIEF
ask for name and store it
ask for first, second and third numbers
calculate their total
divide that total by 3
say the name and the meanSet expected results before testing
| Behaviour | Inputs | Expected result |
|---|---|---|
| Addition | 9.5 and 2.5 | 12 |
| Subtraction | 12.5 and 4 | 8.5 |
| Multiplication | 6 and 4 | 24 |
| Division | 15 and 6 | 2.5 |
| Square area | side 5.5 | 30.25 m² |
| Triangle area | base 12, height 9 | 54 m²; Big triangle |
| Rectangle perimeter | length 11, width 8.5 | 39 m |
| Mean of three | Maya; 7, 10, 13 | name Maya and mean 10 |
Keep the portfolio easy to review
Attach three flowchart designs: addition; triangle area with both size branches; and mean of three, including the name input and a named sub-routine. Keep test records beside the files they test.
| Evidence | What the reviewer should find |
|---|---|
| Repairs and types | Comments explain chosen types; square and triangle repairs are justified. |
| Tests | Inputs, expected, actual, pass/fail; fixes followed by retests. |
| Outputs | Clear labels and units; name included in the mean output. |

Try one step with Paxa!
Trace code carefully and preserve exact spelling, case and order. Use invented practice data. Save personal responses before leaving.
Our Unit 1 learning path
- Lesson 1.1: Comparing Scratch and Python
- Lesson 1.2: Using Python
- Lesson 1.3: Using Python IDLE in Script mode
- Lesson 1.4: Variables
- Lesson 1.5: Adding more information to a program
- Lesson 1.6: Data types – string, integer and real
- Lesson 1.7: Casting
- Lesson 1.8: Flowcharts and algorithms
- Lesson 1.9: BIDMAS in Python
- Lesson 1.10: Error detection and correction
- Lesson 1.11: Making choices IF THEN ELSE in flowcharts
- Lesson 1.12: Sub-routines
- Lesson 1.13: Random questions and a star number
- Lesson 1.14: Final project
- Lesson 1.15: Evaluation
- Lesson 1.16: What can you do?
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 the 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: Which evidence must be kept when adapting subtraction into multiplication? a working subtraction version or equivalent evidence
- Question 2: Why should you predict results before running? to compare behaviour with an independent expectation
Worksheet 2
- Question 3: Which calculation completes the addition process? result = first + second
- Question 4: Which conversion permits decimal inputs? float
Worksheet 3
- Question 5: What is the type of first after float(input(...)) succeeds? float
- Question 6: What does a comment beginning with # do? explains code without executing as an instruction
- Question 7: For first = 12.5 and second = 4, what is the difference? 8.5 / 8.50
Worksheet 4
- Question 8: Which replacement gives the product? product = first * second
- Question 9: Which assignment creates the requested division result? divide = first / second
- Question 10: What quotient should first = 12.5 and second = 4 produce? 3.125
Worksheet 5
- Question 11: Which repair calculates area correctly? area = side * side
- Question 12: What area corresponds to side = 5.5 m, in square metres? 30.25
Worksheet 6
- Question 13: Which area formula is correct? base * height / 2
- Question 14: What label is required when the area is exactly 50? Small triangle
Worksheet 7
This page introduces the activity. There are no marked responses on this sheet.
Worksheet 8
- Question 15: Which expression finds the mean of three numbers? (first + second + third) / 3
- Question 16: What is the mean of 7, 10 and 13? 10 / 10.0
Worksheet 9
- Question 17: A value matches expectation but its output label says the wrong calculation. What needs attention? the output clarity as well as numeric correctness
Worksheet 10
This page introduces the activity. There are no marked responses on this sheet.
Worksheet 11
- Question 18: Complete all eight calculation behaviours from pages B–I. Preserve subtraction; adapt a copy to multiply and add divide; repair square and triangle code; create addition, perimeter and named mean programs. Give filenames, key repairs/type choices and test outcomes. Apply the three rectangle tests plus triangle tests below, at and above 50. Include actual results and retests, or label paper-only work. Require all eight behaviours, seven scripts permitted when product and quotient share one. Addition user-created FinalProjectAddition.py; working subtraction preserved; multiplication uses *, divide variable first/second separately output; # comments justify numeric types. Square area side*side. Triangle area base*height/2 and strictly >50 Big else Small, including equality. Rectangle 2*(length+width), all three source tests 39,28.2,19. Mean includes entered name and (first+second+third)/3. Original starter equivalents only; no publisher resources assumed. Require case-by-case actual evidence and honest paper labels, readable outputs/units and repairs tied to failures. Original check results on page I; triangle cases 10x9 ->45 Small,10x10 ->50 Small,12x9 ->54 Big. Non-zero divisor and positive dimensions stipulated. Saved programs and tests are attached, not expected to fit entirely in this summary box. Grown-up review; personal evidence is required.
Worksheet 12
- Question 19: Submit addition, triangle-selection and mean-sub-routine flowcharts. Trace each with a page I case and trace both triangle branches plus equality. Show where the mean call runs and returns. Ask a partner to compare diagrams with your programs; record a mismatch or confirmed match and explain any correction. Addition: Start,input first/second,calculate sum,output,Stop. Triangle: input base/height,calculate area /2,output area,test area>50; True Big,False Small;merge Stop (output ordering may vary if complete). Mean: input name,three numeric inputs,call named Mean; routine sum then /3 and return;output name and mean,Stop. Equivalent routines outputting the mean internally accepted if the name and continuation remain clear. Addition trace12 for9.5/2.5; triangle45 Small,50 Small,54 Big; mean10 for7/10/13 with Maya name. Correct input/output parallelograms, process rectangles, decision diamond and call side-lines; both branches and equality covered. Require peer comparison with actual saved code, explicit correction/no correction based on trace evidence, and no invented execution claims. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing 7 Student’s Book — pages 40–41
- PaxaKids Grade 7 Computing Lesson 1.14: Final project — pages 1–12
Computing for your homeschool day
Explore Final project with this free Grade 7 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
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.
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.
The book pages identify the related teaching topic. 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.
