Sorting Algorithms and Logic Gates – Year 7 Computer Science Worksheet
Computer Science
Year 7
11 questions
~22 mins
0 views0 downloads
About This Worksheet
This worksheet covers basic sorting methods and logic gate concepts. Complete the questions to demonstrate your understanding of these fundamental topics.
Worksheet Preview
Full preview • 11 questions
Sorting Algorithms and Logic Gates – Year 7 Computer Science Worksheet
Subject: Computer ScienceGrade: Year 7
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz
Untitled Worksheet
Grade Year 7
A
Questions
This worksheet covers basic sorting methods and logic gate concepts. Complete the questions to demonstrate your understanding of these fundamental topics.
Answer all questions in the spaces provided.
1.
Name two common sorting algorithms used in programming.
[2 marks]2.
Describe how the bubble sort algorithm works in your own words.
[4 marks]3.
Arrange the following numbers in ascending order using bubble sort: 5, 2, 8, 1.
[3 marks]4.
Complete the truth table for an AND gate with inputs A and B, and output Q.
[4 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 Q.
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
6.
Draw a logic circuit that uses an AND gate and an OR gate to produce an output that is true only when both inputs are true or when only one input is true.
[6 marks]Drawing / Sketch space
7.
Explain the difference between a sorting algorithm and a logic gate.
[3 marks]8.
Sketch a flowchart showing the steps of a simple sorting process for arranging three numbers in order.
[6 marks]Drawing / Sketch space
9.
Describe a scenario where you might use a sorting algorithm in real life.
[3 marks]10.
Name the logic gate that outputs true only when exactly one of its inputs is true.
[2 marks]11.
Draw a truth table for an XOR gate with two inputs, A and B.
[4 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