Subjects · Leaving Cert Computer Science
Leaving Cert Computer Science: Logic gates & truth tables
How often Logic gates & truth tables comes up on the Computer Science papers, every year it was asked, and questions to try.
HL Asked on 3 of the last 5 Higher Level papers, most recently in 2024. most years
OL Asked on 4 of the last 5 Ordinary Level papers, most recently in 2024. most years
Quick ones on Logic gates & truth tables.
- 1
- 0
- Depends on the last output
- NAND
- OR
- XOR
- 8
- 9
- 6
Show the answers
(a) 0
(b) XOR
(c) 8
Higher Level
Asked on 3 of the last 5 Higher Level papers, most recently in 2024. most years
Every paper, year by year
| Year | Where it came up |
|---|---|
| 2025 | Not asked |
| 2024 | A1 |
| 2023 | A3 |
| 2022 | A4 |
| 2021 | Not asked |
Links open the State Examinations Commission’s paper for that year.
More Logic gates & truth tables questions
Logic gates & truth tables, 3 marks
A security light should come on only when it is dark and movement is detected. Which gate fits?
- OR
- XOR
- AND
Show the answer
AND
AND outputs 1 only when both inputs are 1. OR would switch the light on in daylight whenever someone walked past.
Ordinary Level
Asked on 4 of the last 5 Ordinary Level papers, most recently in 2024. most years
Every paper, year by year
| Year | Where it came up |
|---|---|
| 2025 | Not asked |
| 2024 | A6 |
| 2023 | A10 |
| 2022 | A11 |
| 2021 | B15 |
Links open the State Examinations Commission’s paper for that year.
More Logic gates & truth tables questions
Logic gates & truth tables, 2 marks
An AND gate outputs 1 when…
- Either input is 1
- Both inputs are 0
- Both inputs are 1
Show the answer
Both inputs are 1
AND needs every input on. Its truth table has one 1, in the row where A = 1 and B = 1.
Logic gates & truth tables, 2 marks
An OR gate with inputs 0 and 1 outputs…
- 2
- 1
- 0
Show the answer
1
OR outputs 1 when at least one input is 1. It only outputs 0 when both inputs are 0.
Logic gates & truth tables, 2 marks
A NOT gate with input 1 outputs…
- 0
- 1
- Nothing
Show the answer
0
A NOT gate (inverter) has one input and flips it: 1 becomes 0 and 0 becomes 1.
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
- Algorithmic complexity
- Data analytics & data quality
- Functions & modules
- 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