Databases: past paper questions
Real questions on databases
The newest 20 of 107 written questions. Open one to see it on the real paper.
- 0417/11 · May/June 2026 · Q10 · 18.1 Create a database structure[4]
10 1 2 3 4 A database contains a primary key. State four characteristics of a primary key. .......... .......... .......... .......... .......... .......... .......... .......... ..........
See it on the paper → - 0417/13 · May/June 2026 · Q8a · 18.1 Create a database structure[3]
Describe the benefits of using a computer database in this scenario.
See it on the paper → - 0417/13 · May/June 2026 · Q13 · 18.1 Create a database structure[4]
State the characteristics of a flat file database.
See it on the paper → - 0417/12 · February/March 2026 · Q12a · 18.1 Create a database structure[6]
Design an appropriate online data entry form for one book. Clearly indicate the amount of space required for each field. Your design must represent a tablet screen and, where appropriate, allow the user to enter data by clicking the mouse button rather than typing in text.
See it on the paper → - 0417/02 · October/November 2025 · Q15 · 18.1 Create a database structure[1]
Use database software to import the file n2502race.csv as a new table. Use these field names and data types: Field name Data type Store Display Club_no Text Age_cat Text First_name Text Last_name Text Entry_no Number Integer Integer YOB Number Integer Integer Age Number Integer Integer Record_time Date/Time hh:mm:ss Ra...
See it on the paper → - 0417/02 · October/November 2025 · Q16 · 18.1 Create a database structure[1]
Change the data type of the Pace_KM/h field to display as time with the format hh:mm:ss
See it on the paper → - 0417/02 · October/November 2025 · Q17 · 18.1 Create a database structure[1]
Import the file n2502club.csv as a new table in your database. Set all the data types to text. Set Club_code as the primary key. Place in your Evidence Document a screenshot showing the field names, data types and primary
See it on the paper → - 0417/02 · October/November 2025 · Q18 · 18.1 Create a database structure[1]
Import the file n2502age_group.csv as a new table in your database. Set all the data types to text. Set Group_code as the primary key. Place in your Evidence Document a screenshot showing the field names, data types and primary
See it on the paper → - 0417/02 · October/November 2025 · Q19 · 18.1 Create a database structure[1]
Create one-to-many relationships as links between: • • the Club_code field in the club table and the Club_no field in the race table the Group_code field in the age group table and the Age_cat field in the race table. Place in your Evidence Document screenshots showing the one-to-many relationships between
See it on the paper → - 0417/02 · October/November 2025 · Q20 · 18.2 Manipulate data[1]
In the race table, use an automated search function to locate the record with the Entry_no of 1498 Place in your Evidence Document a screenshot showing the automated search function you used to locate the record. Amend the details as follows: Age_cat FSE39 YOB 1992 Age 33 Gender_result 137
See it on the paper → - 0417/02 · October/November 2025 · Q21 · 18.3 Present data[1]
Using fields from the race and club tables produce a tabular report that: • • • • • • • selects the records where: – Area includes the text Scot – Age is 30 or less shows only the fields Last_name, First_name, Age, Pace_KM/h, Club_name and Area in this order, with data and labels displayed in full. Do not group the dat...
See it on the paper → - 0417/02 · October/November 2025 · Q22 · 18.3 Present data[26]
Using fields from all three tables produce a tabular report that: • • • • • • • • • selects the records where: – Age_cat is FSE29 or FSE39 – Club_name does not include Independent contains a new field called Age_graded which is calculated at run-time. This field will calculate the Record_time divided by the Race_time d...
See it on the paper → - 0417/12 · October/November 2025 · Q5a(i) · 18.1 Create a database structure[2]
Drop down list Field name Reason
See it on the paper → - 0417/12 · October/November 2025 · Q5a(ii) · 18.1 Create a database structure[2]
Radio button Field name Reason
See it on the paper → - 0417/13 · May/June 2025 · Q12 · 18.1 Create a database structure[4]
Describe the differences between a flat file database and a relational database.
See it on the paper → - 0417/21 · May/June 2025 · Q15 · 18.1 Create a database structure[1]
Use database software to import the file j2521learners.csv as a new table. Use these field names and data types: Field name Data type Display Surname Text Forename Text Gender Text Learner_no Number Integer DOB Date/Time dd-MMM-yy e.g. 12-Aug-09 Telephone Text School_email Text Class_code Text AA_code Text Online_appli...
See it on the paper → - 0417/21 · May/June 2025 · Q16 · 18.1 Create a database structure[1]
Import the file j2521access.csv as a new table in your database. Set all data types to text. Set AA_code as the primary key. Place in your Evidence Document a screenshot showing the field names, data types and primary key used in the table.
See it on the paper → - 0417/21 · May/June 2025 · Q17 · 18.1 Create a database structure[1]
Examine the file j2521class.csv and identify the most appropriate data to use as a primary key. Close this file. Import the file j2521class.csv as a new table in your database. Use these field names and data types: Field name Data type Year_group Number Class_tutor Text Class_ref Text Year_head Text House_code Text Hou...
See it on the paper → - 0417/21 · May/June 2025 · Q18 · 18.1 Create a database structure[1]
Create one-to-many relationships as links between: • • the AA_code field in the access table and the AA_code field in the learners’ table the primary key field in the class table and the Class_code field in the learners’ table. Place in your Evidence Document screenshots showing the one-to-many relationships between th...
See it on the paper → - 0417/21 · May/June 2025 · Q19 · 18.1 Create a database structure[1]
Add the following as a new record in the learners’ table: Surname Norris Forename Emma Gender Female Learner_no 10218427 DOB 10/07/2009 Telephone 0770090457 School_email em_norris@tawara.ac Class_code 4R AA_code AA02 Online_application No
See it on the paper →
What examiners said
This question was quite challenging even though both types of databases have been set on the papers previously. Candidates seem to understand relational databases more than flat file databases. Candidates understood that a relational database used both primary and foreign leys and that separate tables could be linked to form a relationship. Flat file databases do not include tables even though som...
— Examiner report, May/June 2025, 0417/13 Q12 (Cambridge)
Importing the csv file and setting the primary key were generally done well. Some candidates did not set the data types as given on the question paper which resulted in import errors if Telephone was imported as numeric/integer instead of alphanumeric as instructed. Candidates should be aware that telephone numbers are stored as an alphanumeric/string data type as no calculation will be performed...
— Examiner report, May/June 2025, 0417/21 Q15 (Cambridge)
There were very few issues importing the second table with most candidates using the correct field names and data types. As the primary key was given in the question paper there was little issue setting this correctly. Occasionally, an ID field was included in the table structure and set this as the primary key.
— Examiner report, May/June 2025, 0417/21 Q16 (Cambridge)
Past papers, syllabus and examiner reports © UCLES (Cambridge University Press & Assessment). Questions are matched to topics from the official syllabus. AssessPro is independent and not endorsed by Cambridge.