KEMBAR78
Year9 Unit1 Lesson5 Worksheet2 | PDF
0% found this document useful (0 votes)
27 views2 pages

Year9 Unit1 Lesson5 Worksheet2

This document outlines a worksheet for Year 9 students on writing a linear search algorithm to find lost house keys. It includes steps for listing potential locations, abstracting the problem, and writing the algorithm. The material is provided by Pearson Education and is intended for educational use.

Uploaded by

smalephane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

Year9 Unit1 Lesson5 Worksheet2

This document outlines a worksheet for Year 9 students on writing a linear search algorithm to find lost house keys. It includes steps for listing potential locations, abstracting the problem, and writing the algorithm. The material is provided by Pearson Education and is intended for educational use.

Uploaded by

smalephane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Year 9, Unit 1

Lesson 5
Worksheet 2
Writing a linear search algorithm

The problem:
You have lost your house keys at home. Write a search algorithm for looking for your keys. Test it
works.

Step 1
List all the places at
home where you could
have left your keys.

Step 2
Abstract the problem.
(What is relevant?
What is irrelevant?)

© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Step 3
Write your algorithm.

© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.

You might also like