GRADE 8 · COMPUTING · UNIT 1 · LESSON 1.1

Computational thinking and programming

Recall algorithms and representations

Read a little. Try the workbook. Check your answers. Choose one section below to get started.

Topic 1.1 · Recall algorithms and representations6 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Recall algorithms and representations

An algorithm is an ordered method for a task. A variable name identifies a value, arithmetic processes values, and an output reports the result. Different representations should preserve the same behaviour.

Today’s two goals
  • Read a time-conversion program and connect its variables and operations to familiar flowchart symbols.
  • Explain my method and support it with a labelled trace, example or test record.
Original PaxaKids illustration for Recall algorithms and representations. Use the supplied program and data models for precise workbook facts.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Work through an example

To convert 3 whole minutes and 8 extra seconds, calculate 3 × 60 + 8 = 188 seconds. Read the inputs, calculate the total, then display it. No decision is needed for that stated sequence.

Try before your workbook

What total should the same method give for 4 minutes and 6 extra seconds? Explain the order.

Explore the clues

Tap one card to find out more.

Understand the idea

An algorithm is an ordered method for a task. A variable name identifies a value, arithmetic processes values, and an output reports the result. Different representations should preserve the same behaviour.

Concept to practise: Recall algorithms and representations.

Work through an example

To convert 3 whole minutes and 8 extra seconds, calculate 3 × 60 + 8 = 188 seconds. Read the inputs, calculate the total, then display it. No decision is needed for that stated sequence.

Try before your workbook

What total should the same method give for 4 minutes and 6 extra seconds? Explain the order.

Check my readiness thinking

It gives 246 seconds: first 4 × 60 = 240, then add 6. Adding before multiplying would describe a different calculation.

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.

Connect a time task with an algorithm

Sami wants to express a short activity duration entirely in seconds. The input is a whole number of minutes plus extra seconds. The algorithm converts the minutes and adds the extra seconds.

For this introductory example, use minutes of 0 or more and extra seconds from 0 to 59. These are the stated inputs for practice; input-error handling comes later.

Read the original Python program

ORIGINAL TIME-CONVERSION EXAMPLE
minutes = int(input("Whole minutes: "))
seconds = int(input("Extra seconds: "))
total_seconds = minutes * 60 + seconds
print("Total seconds:", total_seconds)

Follow the same algorithm as a flowchart

Follow the same algorithm as a flowchart — original labelled workbook model. The following text version gives its labels and values.
Follow the same algorithm as a flowchart · original PaxaKids model.
Read this model’s labels and values
Nodes
    1. start
    2. Start
    1. input
    2. Read minutes and seconds
    1. process
    2. total_seconds = minutes * 60 + seconds
    1. output
    2. Display total_seconds
    1. stop
    2. Stop

Recall the meaning of the symbols

Recall the meaning of the symbols — original labelled workbook model. The following text version gives its labels and values.
Recall the meaning of the symbols · original PaxaKids model.
Read this model’s labels and values
Include decision
True

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.

Paxa the Fox

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 1 learning path
  1. Lesson 1.1: Recall algorithms and representations
  2. Lesson 1.2: Purpose and conventions of pseudocode
  3. Lesson 1.3: Input, output and strings
  4. Lesson 1.4: Identifiers and assignment
  5. Lesson 1.5: Arithmetic and translation
  6. Lesson 1.6: Trace and review a sequence
  7. Lesson 1.7: Conditions and two-way flow
  8. Lesson 1.8: IF THEN and indentation
  9. Lesson 1.9: IF THEN ELSE and decision diagrams
  10. Lesson 1.10: Ordered ELSEIF and fallback ELSE
  11. Lesson 1.11: Match flowchart and pseudocode branches
  12. Lesson 1.12: AND, OR and NOT
  13. Lesson 1.13: Grouping, precedence and review
  14. Lesson 1.14: Why software searches
  15. Lesson 1.15: A successful linear search
  16. Lesson 1.16: An unsuccessful search and termination
  17. Lesson 1.17: Practise and communicate the search
  18. Lesson 1.18: Translate conditions into Python
  19. Lesson 1.19: One-branch IF programs
  20. Lesson 1.20: Two-way IF ELSE programs
  21. Lesson 1.21: Ordered ELIF choices
  22. Lesson 1.22: Ranges and independent decisions
  23. Lesson 1.23: Boolean operators in Python
  24. Lesson 1.24: Design and test recommendations
  25. Lesson 1.25: Trace, debug and reflect
  26. Lesson 1.26: Choose data types and recognise Boolean literals
  27. Lesson 1.27: Set and use Boolean flags
  28. Lesson 1.28: Explain and identify constants
  29. Lesson 1.29: Express constants in three algorithm forms
  30. Lesson 1.30: Use a fixed factor in a calculation
  31. Lesson 1.31: Cast to Boolean and validate an empty response
  32. Lesson 1.32: Recall calls and trace return values
  33. Lesson 1.33: Supply parameters and reuse library code
  34. Lesson 1.34: Choose and import libraries responsibly
  35. Lesson 1.35: Round with floor and ceiling
  36. Lesson 1.36: Use pi and investigate another mathematical feature
  37. Lesson 1.37: Generate random choices within bounds
  38. Lesson 1.38: Investigate random real values and review library use
  39. Lesson 1.39: Retrieve test tables and predict selection outcomes
  40. Lesson 1.40: Decompose everyday problems
  41. Lesson 1.41: Decompose programs and organise shared work
  42. Lesson 1.42: Develop through repeated build/test cycles
  43. Lesson 1.43: Predict and verify algorithm outcomes
  44. Lesson 1.44: Choose representative and boundary tests
  45. Lesson 1.45: Build, execute and review a test plan
  46. Lesson 1.46: Recall physical inputs and compare transmission media
  47. Lesson 1.47: Configure a radio group and agree a message scheme
  48. Lesson 1.48: Send and receive numbers and strings
  49. Lesson 1.49: Trace numeric message sequences
  50. Lesson 1.50: Transmit text and use received data in conditions
  51. Lesson 1.51: Diagnose and extend a message protocol
  52. Lesson 1.52: Review communication and evidence of testing
  53. Lesson 1.53: Project 1: Adventure story
  54. Lesson 1.54: Project 2: Fire, Water, Earth
  55. Lesson 1.55: Check your progress 1
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.

Recall algorithms and representations6 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

TAKE YOUR PRACTICE OFFLINE

3. Download the student worksheet

All 6 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.

Student worksheet only · PDF · 7.9 MiB · No answer key included

Download worksheet PDF ↓

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 6 worksheets

Worksheet 1

  1. Question 1: Which operation converts whole minutes to seconds? multiply by 60
  2. Question 2: What should then happen to the extra seconds? add them to the converted minutes

Worksheet 2

  1. Question 3: For inputs 2 and 15, what value is assigned to total_seconds? 135
  2. Question 4: For inputs 0 and 45, what value is assigned to total_seconds? 45
  3. Question 5: Which identifier names the calculated result? total_seconds

Worksheet 3

  1. Question 6: Which sequence agrees with the program? receive the counts, calculate, display the result
  2. Question 7: How many input values are received in this task? two

Worksheet 4

  1. Question 8: Which symbol represents checking a condition and choosing a branch? D: Decision
  2. Question 9: Does the displayed time-conversion sequence require a decision branch? no, it follows the stated calculation in order

Worksheet 5

  1. Question 10: For inputs minutes = 2 and seconds = 15, record each received value and calculated result in execution order, then give the exact final output line. Repeat for minutes = 3 and seconds = 5. Explain the roles of minutes, seconds and total_seconds, and why the multiplication happens before the addition. Identify your source revision and checking method. First input 2, second 15; total_seconds 135; exact final line Total seconds: 135. Second case 3, 5 gives 185 and Total seconds: 185. minutes and seconds are the two received counts; total_seconds is assigned the computed conversion. Multiply whole minutes by 60, then add extra seconds; unassigned names remain unassigned before their statements. int converts the stated whole-number text; invalid-input handling is not implemented. A labelled dry-run is acceptable and is not a claimed device run. Require both inputs and outputs, variable roles, order, units and actual method/version. Grown-up review; personal evidence is required.

Worksheet 6

  1. Question 11: Recreate the time-conversion algorithm as a labelled flowchart with connecting arrows and suitable start/stop, input/output and process shapes. Annotate which Python statements correspond to its input, calculation and output. Explain why both representations describe the same task. Check the case of 1 minute and 0 extra seconds and record the expected result, actual run or trace result, method and any device execution still Pending. Require a complete connected start/input/process/output/stop route. The input stage identifies minutes then seconds; processing multiplies minutes by 60 and adds seconds; output displays total_seconds. All three names and units agree with the code, and process/input-output/terminator shapes are correctly distinguished. One input box may summarise both clearly ordered reads. No unnecessary decision required. For 1 and 0, expected total_seconds 60 and final line Total seconds: 60. Actual result linked to a run or honest manual trace; device Pending if not performed. No numeric scoring. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Recall algorithms and representations 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.