Ceist Eile is in development. Features, questions and prices may change while we refine it.

Subjects · Leaving Cert Computer Science

Leaving Cert Computer Science: Databases

How often Databases comes up on the Computer Science papers, every year it was asked, and questions to try.

HL Asked on 2 of the last 5 Higher Level papers, most recently in 2024.

Databases, Higher Level(7 marks)

Quick ones on Databases.

(a)What is a primary key in a database table?
  1. The first field in every table
  2. A field that uniquely identifies each record
  3. The password that protects the database
(b)In a relational database, what is a foreign key?
  1. A second copy of the primary key in the same table
  2. A key used to encrypt the database
  3. A field that links to the primary key of another table
(c)In a database table, what is one row called?
  1. A record
  2. A query
  3. A field
Show the answers

(a) A field that uniquely identifies each record

(b) A field that links to the primary key of another table

(c) A record

Your turn: Higher Level questions on Databases.

Higher Level

Asked on 2 of the last 5 Higher Level papers, most recently in 2024.

Every paper, year by year

YearWhere it came up
2025Not asked
2024B15
2023Not asked
2022Not asked
2021A12

Links open the State Examinations Commission’s paper for that year.

More Databases questions

Databases, 2 marks

What is a database query?

  1. A backup copy of the database kept somewhere safe
  2. A field whose value uniquely identifies each record in a table
  3. A request for the data that matches certain conditions
Show the answer

A request for the data that matches certain conditions

e.g. find all members from Cork who joined after 2020. The database returns only the matching records, often sorted.

Databases, 3 marks

Which data type suits a phone number field like 0871234567?

  1. Float
  2. Text (string)
  3. Integer
Show the answer

Text (string)

It starts with 0, which an integer would drop, and no one does arithmetic on phone numbers. Store it as text.

Other Computer Science topics

All of Leaving Cert Computer Science