Printable worksheet ยท 1 of 4

A search needs a stopping rule - Paper 1

Read the information, then answer the questions. An adult may read the instructions aloud. Show your working where asked.

Read before answering

List in stored order: [11,4,7,2]. Linear search checks left to right and stops at the FIRST match, or reports absence after the last item. Count one comparison per checked item; positions here start at 1. No sorted order is promised. Search first for 4, then separately for 99.

Worksheet preview

This exercise is included in the paid course. Full-course fee: GBP 200.00 once. Register and enrol to complete all course exercises and download the course PDFs. Access begins after payment is confirmed.

Register and enrol

Already registered? Sign in