Year 11 Computer Science: Programming and Algorithms Worksheet
Computer Science
Year 11
11 questions
~22 mins
0 views0 downloads
About This Worksheet
This worksheet tests your understanding of algorithms and logic gates. Complete the tasks to demonstrate your knowledge and skills.
Worksheet Preview
Full preview • 11 questions
Year 11 Computer Science: Programming and Algorithms Worksheet
Subject: Computer ScienceGrade: Year 11
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz
Untitled Worksheet
Grade Year 11
A
Questions
This worksheet tests your understanding of algorithms and logic gates. Complete the tasks to demonstrate your knowledge and skills.
Answer all questions in the spaces provided.
1.
Describe the step-by-step process of an algorithm that sorts a list of numbers from smallest to largest using the bubble sort method.
[8 marks]2.
Write a pseudocode algorithm that checks if a number entered by the user is even or odd.
[4 marks]3.
Explain the purpose of a ‘for’ loop in programming and give an example scenario where it might be used.
[3 marks]4.
Complete the truth table for the AND logic gate with two inputs, A and B. Fill in the output column (Q).
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
5.
Complete the truth table for the OR logic gate with two inputs, A and B. Fill in the output column (Q).
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
6.
Draw the logic circuit for a NOT gate and label its input and output. In the space below, sketch the gate with the input on the left, the shape of the NOT gate in the middle, and the output on the right.
[6 marks]Drawing / Sketch space
7.
Sketch a flowchart to represent a program that asks the user for their age and prints ‘Adult’ if the age is 18 or over, and ‘Minor’ otherwise.
[8 marks]Drawing / Sketch space
8.
Explain what an algorithm is and give one example of a real-world task that could be represented by an algorithm.
[3 marks]9.
Identify the error in the following pseudocode snippet:
START
Read number
IF number > 10
PRINT 'Large'
ELSE
PRINT 'Small'
END
[3 marks]10.
Describe how an ‘if-else’ statement works in programming with an example.
[3 marks]11.
Draw a truth table for an XOR (exclusive OR) gate with two inputs, A and B. Label the inputs and the output.
[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