Year 9 Computer Science - Algorithms and Logic Gates Worksheet
Computer Science
Year 9
10 questions
~20 mins
0 views0 downloads
About This Worksheet
This worksheet tests your understanding of algorithms and logic gates. Complete the tasks carefully to demonstrate your knowledge.
Worksheet Preview
Full preview • 10 questions
Year 9 Computer Science - Algorithms and Logic Gates Worksheet
Subject: Computer ScienceGrade: Year 9
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz
Untitled Worksheet
Grade Year 9
A
Questions
This worksheet tests your understanding of algorithms and logic gates. Complete the tasks carefully to demonstrate your knowledge.
Answer all questions in the spaces provided.
1.
Write a simple algorithm to determine if a student passes or fails based on their exam score. The pass mark is 50. If the score is 50 or above, the student passes; otherwise, they fail.
[4 marks]2.
Describe in words how a 'while' loop functions in programming. Include a scenario where it might be used.
[3 marks]3.
Sketch a flowchart that asks a user to input their age and then displays whether they are a minor (under 18) or an adult (18 or over).
[6 marks]Drawing / Sketch space
4.
Complete the truth table for the AND logic gate with two inputs A and B and one output Q.
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
5.
Draw the logic circuit for an OR gate with two inputs. Label all parts clearly.
[6 marks]Drawing / Sketch space
6.
Explain the difference between a sequence and a selection in programming algorithms.
[3 marks]7.
Write a pseudocode algorithm that checks if a number is even or odd and displays the result.
[4 marks]8.
Describe how the NOT gate affects its input and give an example of where it might be used in a circuit.
[3 marks]9.
Sketch a flowchart that determines if a number stored in a variable 'x' is positive, negative, or zero.
[6 marks]Drawing / Sketch space
10.
Complete the truth table for the NAND logic gate with two inputs A and B and one output Q.
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
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