Year 10 Computer Science - Searching Algorithms Worksheet

Computer Science
Year 10
11 questions
~22 mins
0 views0 downloads

About This Worksheet

This worksheet focuses on understanding different searching techniques used in programming. Complete the questions to demonstrate your knowledge of linear and binary search methods.

Worksheet Preview

Full preview • 11 questions

Year 10 Computer Science - Searching Algorithms Worksheet

Subject: Computer ScienceGrade: Year 10
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz

Untitled Worksheet

Grade Year 10
A

Questions

This worksheet focuses on understanding different searching techniques used in programming. Complete the questions to demonstrate your knowledge of linear and binary search methods.

Answer all questions in the spaces provided.
1.
Explain in your own words what a linear search is and give a scenario where it would be used.
[4 marks]
2.
Describe the main difference between linear search and binary search.
[3 marks]
3.
Given an unsorted list: [8, 3, 7, 1, 9], perform a step-by-step linear search to find the number 7. Indicate the steps taken.
[5 marks]
4.
A sorted list contains the numbers [2, 4, 6, 8, 10, 12, 14]. Use binary search to find the number 10. Outline the steps involved.
[6 marks]
5.
Complete the truth table for the AND logic gate with the following inputs: A = true, B = false.
[2 marks]
ABOutput
00
01
10
11
6.
Draw a logic circuit that uses an AND gate and an OR gate to produce a specific output based on two inputs, X and Y. Label each gate and input clearly.
[8 marks]
Drawing / Sketch space
7.
Sketch a flowchart that describes the process of searching for a book in a library where books are arranged alphabetically by title. Include starting and ending points.
[8 marks]
Drawing / Sketch space
8.
Explain why binary search is more efficient than linear search for large, sorted datasets.
[4 marks]
9.
You have a list of 1000 numbers sorted in ascending order. Which search method would be more appropriate: linear search or binary search? Justify your answer.
[4 marks]
10.
Describe a real-life situation where a linear search would be preferable over binary search.
[3 marks]
11.
Draw a simple pseudocode for a linear search algorithm that searches for a target value in a list.
[6 marks]
Drawing / Sketch space

Quick Actions

What is Remix?

Create a new worksheet based on this one. Change the grade level, topic, number of questions, or difficulty - then generate a fresh version.

  • • Change grade level (Grade 6 → Grade 7)
  • • Swap topics (Harry Potter → Macbeth)
  • • Add more questions (10 → 15)
  • • Adjust difficulty

Details

Created
1/2/2026
Updated
1/2/2026
Type
worksheet