Subjects · Leaving Cert Computer Science
Leaving Cert Computer Science: Algorithmic complexity
How often Algorithmic complexity comes up on the Computer Science papers, every year it was asked, and questions to try.
HL Asked on 4 of the last 5 Higher Level papers, most recently in 2025. most years
Quick ones on Algorithmic complexity.
- O(log n)
- O(n)
- O(1)
- O(n²)
- O(n)
- O(log n)
- O(n²)
- O(n)
- O(n log n)
Show the answers
(a) O(n)
(b) O(log n)
(c) O(n²)
Higher Level
Asked on 4 of the last 5 Higher Level papers, most recently in 2025. most years
Every paper, year by year
| Year | Where it came up |
|---|---|
| 2025 | B14 |
| 2024 | B14 |
| 2023 | B15 |
| 2022 | B14 |
| 2021 | Not asked |
Links open the State Examinations Commission’s paper for that year.
More Algorithmic complexity questions
Algorithmic complexity, 3 marks
An O(n) algorithm takes 3 seconds for 10,000 items. About how long for 30,000 items?
- 27 seconds
- 3 seconds
- 9 seconds
Show the answer
9 seconds
O(n) time grows in proportion to n. Three times the items takes about three times as long: 3 x 3 = 9 seconds. 27 seconds is what O(n²) would give.
Algorithmic complexity, 2 marks
What does Big-O notation describe?
- How much memory the computer has for the input
- How an algorithm's steps grow as the input grows
- The exact running time of an algorithm in seconds
Show the answer
How an algorithm's steps grow as the input grows
Big-O ignores the speed of the machine. It shows the growth rate: e.g. an O(n) algorithm does about twice the work when the input doubles.
Other Computer Science topics
- Abstraction & pattern recognition
- Binary & hexadecimal
- CPU, memory & storage
- Embedded systems & sensors
- Ethics & social impact
- Flowcharts & pseudocode
- Internet, WWW & protocols
- Loops & trace tables
- Problem solving & puzzles
- Selection & Boolean logic
- Universal design & accessibility
- Variables, data types & operators
- Data analytics & data quality
- Functions & modules
- Logic gates & truth tables
- Roles, teams & stakeholders
- Searching algorithms
- Testing & debugging
- AI & machine learning
- ASCII & Unicode
- Design process & SDLC
- History & emerging trends
- Lists
- Privacy & cybersecurity
- Basic electronics
- Databases
- Modelling & simulation
- Operating systems
- Quicksort
- Recursion
- Sorting algorithms
- Strings & string methods
- Heuristics
- Turing machines