Algorithms
19 past questions across 6 years (2021–2026).
Start here
Choose your study mode
The full question list is on the right. Use notes or quiz mode when you want focused revision.
Notes
Notebook-style AI notes for this topic.
Quiz mode
Exam-style answers with marking-scheme feedback.
Print pack
Clean print view for paper-based study.
Open inline study tools (notes + practice generator)
Study notes
AI-written notes for Algorithms in a notebook-style page — with tables, diagrams and worked examples.
Practice question
A fresh exam-style question, generated on demand.
Past exam questions
Quiz2026
2 questions · 5 parts- Question 7Part A2026 · Part A · Page 6Full paperLoading the exam page…Has diagram
- Question 13Part A2026 · Part A · Page 9Full paperLoading the exam page…Q13 (a)(i)Has diagramQ13 (b)(i)Q13 (b)(ii)Q13 (c)
2025
3 questions- Question 10Part A
The flowchart, in Figure 3 below, is a representation of an algorithm. Examine the flowchart and answer the question that follows. Calculate the output of the algorithm. [Flowchart: Start -> num = 0 -> print num -> num = num + 2 -> num <= 10? (Yes) -> print num -> num = num + 2 -> ... (loop back to num <= 10?). (No) -> End.]
- Question 11Part A2025 · Part A · Page 9Full paperLoading the exam page…Has diagram
- Question 14Part A
When the user inserts the correct amount of money and enters the code of an item, the vending machine will perform a number of checks. Create an algorithm or flowchart to describe the process outlined in the following bullet points: • The vending machine checks if there are any of that particular item available. • If there are any items available, one is dispensed to the user. • If there are no items available, the user is asked to enter another code. • If there are less than three of that particular item remaining a message is sent to head office to order more stock for the vending machine.
2024
3 questions · 9 parts- Question 5Part A2024 · Part A · Page 5Full paperLoading the exam page…
- Question 13Part A2024 · Part A · Page 11Full paperLoading the exam page…Q13 (a)Q13 (a)(iv)Q13 (a)(v)Q13 (b)(i)Q13 (b)(ii)Q13 (b)(iii)
- Question 15Part AQ15 (d)(i)
Met Éireann will issue a yellow, orange or red wind warning based on the criteria in the table below. Yellow Wind Warning Speed between 90 and 110km/h Orange Wind Warning Speed between 111 and 130km/h Red Wind Warning Speed greater than 130km/h Based on this information create an algorithm, using a flowchart or pseudo code, that will calculate if a warning should issue and if so what colour the warning should be.
Q15 (d)(ii)Which of the following is the best set of data values to test your algorithm with? Select your answer by putting a tick (✔) in the appropriate box. [89, 90, 100, 110, 111, 129, 130, 131] [20, 70, 80, 90, 95, 135, 145, 165] [19, 60, 65, 115, 116, 138, 139, 140] Justify your answer below.
2023
3 questions · 7 parts- Question 3Part A
Using either a flowchart or pseudocode, create an algorithm which must do the following: • Ask the user to input three separate numbers • Work out the average of the three numbers • Print the average of the 3 numbers [Blank space for flowchart or pseudocode]
- Question 8Part A2023 · Part A · Page 6Full paperLoading the exam page…Q8 (a)Has diagramQ8 (b)
- Question 13Part A2023 · Part A · Page 11Full paperLoading the exam page…Q13 (b)(i)Q13 (b)(ii)Q13 (b)(iii)Q13 (b)(iv)
2022
5 questions · 8 parts- Question 2Part A2022 · Part A · Page 3Full paperLoading the exam page…Has diagram
- Question 5Part A2022 · Part A · Page 5Full paperLoading the exam page…Q5 (a)Q5 (b)
- Question 6Part A2022 · Part A · Page 6Full paperLoading the exam page…Q6 (a)Q6 (b)
- Question 12Part A2022 · Part A · Page 10Full paperLoading the exam page…Q12 (a)Has diagramQ12 (b)Has diagram
- Question 14Part A
Using either pseudocode or a flowchart, design the algorithm to solve the problem for the school principal.
2021
3 questions · 8 parts- Question 8Part A2021 · Part A · Page 6Full paperLoading the exam page…Has diagram
- Question 10Part A2021 · Part A · Page 8Full paperLoading the exam page…Q10 (a)Q10 (b)
- Question 14Part A2021 · Part A · Page 14Full paperLoading the exam page…Q14 (a)(i)Q14 (a)(ii)Q14 (a)(iii)Q14 (b)(i)Q14 (b)(ii)