Year 8 Computer Science: Understanding Algorithms

Computer Science
Year 8
11 questions
~22 mins
0 views0 downloads

About This Worksheet

This worksheet focuses on algorithms and logic gates, helping you understand how simple decision-making processes work in programming. Complete the tasks to reinforce your knowledge.

Worksheet Preview

Full preview • 11 questions

Year 8 Computer Science: Understanding Algorithms

Subject: Computer ScienceGrade: Year 8
Name:
Date:
TeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizzTeachWhizz

Untitled Worksheet

Grade Year 8
A

Questions

This worksheet focuses on algorithms and logic gates, helping you understand how simple decision-making processes work in programming. Complete the tasks to reinforce 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. Assume you are given a number as input.
[4 marks]
2.
Describe in words how a computer might decide whether to turn on a heater based on the temperature reading. Include at least two conditions.
[4 marks]
3.
Complete the truth table for an AND gate with two inputs, A and B. The table should include all possible input combinations and the corresponding output.
[4 marks]
ABOutput
00
01
10
11
4.
Complete the truth table for an OR gate with two inputs, A and B. The table should include all possible input combinations and the corresponding output.
[4 marks]
ABOutput
00
01
10
11
5.
Draw a logic circuit that uses an AND gate and an OR gate to produce an output that is true only when both A and B are true, or when C is true. Label all inputs and gates.
[6 marks]
Drawing / Sketch space
6.
Sketch a flowchart that describes the process of checking whether a student has passed an exam. The criteria are: a score of 50 or above is passing.
[6 marks]
Drawing / Sketch space
7.
Explain what an algorithm is in your own words, using a real-world example such as making a cup of tea.
[4 marks]
8.
Describe how a decision table can be used to determine whether a person is allowed to enter a club, based on age and membership status. List the conditions and outcomes.
[6 marks]
9.
Complete the flowchart description for a program that checks if a number is positive, negative, or zero.
[6 marks]
10.
Draw a truth table for a NOT gate with a single input, X. Label the inputs and outputs clearly.
[4 marks]
Drawing / Sketch space
11.
Describe an example of an algorithm that sorts a list of numbers from smallest to largest. Use simple steps and explain briefly.
[6 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