Computing
Computer Science LearnITWithMrC ⛯ Year 7 Year 8 Year 9 GCSE
Responsive image

Lesson Video

6

Lesson Tasks

  • Watch the Lesson video
    Make notes if needed.
  • Open your Learning Journal
    Complete Task 1 in your Learning Journal
  • Complete the learning activities
    Make sure you complete the book tasks in your Unit Booklet
  • Complete End of Task Assessment
    Update your learning objectives

What do I need to Learn?

0 results forGuest
I need to learn how to use trace tables and visual inspection to determine how simple algorithms work.

Key Terms

Dry run Test data variable value debug logical errors

Task 1 - Getting organised Click to see more

Task: Learning Journal

Open your Learning Journal by clicking on the image below


Good notes will help you organise and process data and information

Task : Fill out your learning Journal.

Open your Learning Journal and complete the task below .


Task 2 - Introducing Trace Tables Click to see more

What are Trace Tables?

Trace tables are tables that consist of columns, each representing a variable, a condition, or an output in an algorithm, although not every variable, condition or output need be included in a trace table

The purpose of the table is that we can run through an algorithm and simulate what a computer would do if the program were executed. We complete the table to show how the values within the variables change, what the conditions would evaluate to, and what outputs would be generated.

There are two main reasons that trace tables are used.

  • The first is to determine what an algorithm does by running through it to see what happens as the algorithm runs.
  • The second is to test the logic of an algorithm in case there are errors that are not easily spotted.

Task: Trace tables

Open your student workbook at page 32 read through the notes and complete Task 24.


Task 3 - More Tables Click to see more

Task: More complex Trace tables

Open your student workbook at page 36 read through the notes and complete Task 25.

Task 4 - More Practice Click to see more

Example Flowchart

Example Trace table


Task: Using Trace Tables

Click on the image below to start the task


Task 5 - A recap Click to see more

Task: Recap

Open your student workbook at page 3 complete Task 26.


Review: Bitesize

Click on the Bitesize Revision link in the resources column and then read through the text and complete the Test.


Task 6 - Lesson Review Click to see more


Summing it all up

Lets look at the learning outcomes and decide which one best describes our current level of understanding :

Tick the one you feel is closest to your level

Learning Outcomes I need to learn how to use trace tables and visual inspection to determine how simple algorithms work.

  • I have a basic understanding of how I can use trace tables and visual inspection to determine how simple algorithms work. with a little help from my teacher
  • I can show my teacher that I can use trace tables and visual inspection to determine how simple algorithms work. without their help.
  • I can use trace tables and visual inspection to determine how simple algorithms work. independently and I can also explain it to others and can complete any extension tasks I am given.

🠜 Now update your learning objectivesClick on the Assessment image

Task 7 - End of Task Assessment Click to see more