Year 9 Computer Science - Algorithms and Logic Gates
Computer Science
Year 9
10 questions
~20 mins
0 views0 downloads
About This Worksheet
This worksheet focuses on understanding algorithms and logic gates. Complete the tasks to demonstrate your knowledge of these topics.
Worksheet Preview
Full preview • 10 questions
Year 9 Computer Science - Algorithms and Logic Gates
Subject: Computer ScienceGrade: Year 9
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz
Untitled Worksheet
Grade Year 9
A
Questions
This worksheet focuses on understanding algorithms and logic gates. Complete the tasks to demonstrate your knowledge of these topics.
Answer all questions in the spaces provided.
1.
Describe in your own words what an algorithm is and give an example of a simple algorithm you might use in everyday life.
[4 marks]2.
Write a basic pseudocode algorithm for turning on a light switch when it detects darkness.
[6 marks]3.
Explain the difference between a linear search and a binary search.
[4 marks]4.
Complete the truth table for an AND gate with inputs A and B and output C.
[6 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
5.
Complete the truth table for an OR gate with inputs A and B and output C.
[6 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
6.
Draw a logic circuit diagram for a NOT gate connected to an AND gate. Use symbols and label your components clearly.
[8 marks]Drawing / Sketch space
7.
Explain how an IF-ELSE statement works in a programming language. Provide a simple example related to checking if a number is positive.
[4 marks]8.
Design an algorithm to determine if a person can enter a club based on age and membership status. List the steps clearly.
[8 marks]9.
Describe what a flowchart is and how it can be used to represent algorithms. Include at least two symbols commonly used in flowcharts.
[4 marks]10.
Sketch a flowchart for a program that asks the user to enter a number and then tells them if it is even or odd.
[8 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