Year 11 Programming Algorithms Worksheet
Computer Science
Year 11
10 questions
~20 mins
0 views0 downloads
About This Worksheet
This worksheet focuses on understanding algorithms and logic gates in programming. Complete the questions to demonstrate your knowledge.
Worksheet Preview
Full preview • 10 questions
Year 11 Programming Algorithms Worksheet
Subject: Computer ScienceGrade: Year 11
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz
Untitled Worksheet
Grade Year 11
A
Questions
This worksheet focuses on understanding algorithms and logic gates in programming. Complete the questions to demonstrate your knowledge.
Answer all questions in the spaces provided.
1.
Write a step-by-step algorithm to determine if a number is even or odd. Your algorithm should work for any positive integer.
[6 marks]2.
Describe in pseudocode how a program would check whether a person's age qualifies them for a senior citizen discount (e.g., age 65 or over).
[4 marks]3.
Explain the difference between a linear search and a binary search algorithm. When is each method most appropriate?
[4 marks]4.
Complete the truth table for the AND logic gate with inputs A and B and output C.
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
5.
Complete the truth table for the OR logic gate with inputs A and B and output C.
[4 marks]| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
6.
Draw a logic circuit that uses two NOT gates, one AND gate, and one OR gate to produce an output that is true only when the first input is false AND the second input is true.
[8 marks]Drawing / Sketch space
7.
Write a simple algorithm in pseudocode that checks if a number is within the range 10 to 50 (inclusive).
[4 marks]8.
Sketch a flowchart for an algorithm that checks whether a person is eligible to vote (age 18 or over). Leave space for the flowchart symbols and connections.
[8 marks]Drawing / Sketch space
9.
Describe how an algorithm can be used to sort a list of numbers from smallest to largest using bubble sort.
[5 marks]10.
Explain the purpose of a 'loop' in programming algorithms. Give an example scenario where a loop would be necessary.
[4 marks]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