Year 8 Computer Science: Searching Techniques Worksheet

Computer Science
Year 8
10 questions
~20 mins
0 views0 downloads

About This Worksheet

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

Worksheet Preview

Full preview • 10 questions

Year 8 Computer Science: Searching Techniques Worksheet

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

Untitled Worksheet

Grade Year 8
A

Questions

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

Answer all questions in the spaces provided.
1.
Explain in your own words what a linear search is and when it might be used.
[3 marks]
2.
Describe the main difference between linear search and binary search.
[3 marks]
3.
Given a list of numbers: 3, 7, 12, 19, 23, 27, 31, 35, 42, 50, perform a linear search to find the number 19. List the steps involved.
[4 marks]
4.
Describe the steps of a binary search when looking for the number 27 in the list: 3, 7, 12, 19, 23, 27, 31, 35, 42, 50.
[5 marks]
5.
Complete the truth table for the AND gate with inputs A and B, and output C: (Headers: A, B, C). Fill in the rows where A and B are both true or false.
[4 marks]
ABOutput
00
01
10
11
6.
Sketch a simple circuit that includes two switches and a light bulb controlled by an AND gate. Label all parts clearly.
[6 marks]
Drawing / Sketch space
7.
Design a simple search algorithm in pseudocode that searches for a number 'target' in a list called 'numbers'.
[5 marks]
8.
Explain why binary search is more efficient than linear search for large, sorted lists.
[3 marks]
9.
List two advantages of using binary search over linear search.
[2 marks]
10.
Sketch the flow of a binary search algorithm for finding the number 50 in a sorted list: 10, 20, 30, 40, 50, 60, 70, 80.
[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