Designing & Creating Algorithms

Lesson Instructions

Watch and follow the YouTube video, the lesson contains three parts:

  1. Key Information and content - all you need to do here is watch and listen

  2. IPOD Task - Complete the IPOD tables for the given algorithms.

  3. Algorithm Challenge - Level up your answers by selecting a suitable algorithm challenge.

  4. Consolidation - these are past exam question and are for deliberate practice to check your understanding.

Task - IPOD

Designing Algorithms Activity

Task - Creating Algorithms

Answers

Creating Algorithms Walkthrough Videos

Task - Exam Questions - Deliberate Practice

Exam Questions - Web

Mark Scheme

INPUT Distance
INPUT Passengers
Extra = Distance - 1
CostofExtra = Extra * 2
Cost = 3 + CostofExtra

IF Passengers > 4 THEN
Surcharge = Cost / 2
Cost = Cost + Surcharge
END IF
OUTPUT Cost


Award marks for:

  • Inputs distance and passengers

  • Calculates distance -1 (or equivalent)

  • Calculates previous answer * 2 (or equivalent)

  • Calculates previous answer + 3

  • Checks if more than 4 passengers...

  • ...and adds 50% correctly

  • Outputs cost