May/June 2026 Paper 12

2026 · 8 questions · 28 parts · 75 marks

0/75 marks
0Correct0Partial0Wrong28Unattempted
Filters0 active

Questions

Select a part to jump to its question

Finish set
3(a)Relational Databases Data ModellingMedium2 marks
A computer game developer stores data about a computer game in a database. The database has three entities:
  • the users, who are called players
  • the characters that users can create
  • the groups that users can create and allow characters to join.
Describe the relationships between the three entities.

Answer

0 words
3(b)(i)Sql Data Definition ManipulationHard4 marks
The database is created with four tables:
sql
PLAYER(PlayerID, PlayerName, DateJoined)CHARACTER(CharacterID, CharacterName, DateCreated, Level,          NumberOfPoints, PlayerID)GROUP(GroupID, GroupName, Category)CHARACTER_GROUP(CharacterGroupID, CharacterID, GroupID,                DateJoinedGroup)
Sample data for the table CHARACTER
CharacterIDCharacterNameDateCreatedLevelNumberOfPointsPlayerID
00123Crystal05/05/202553568785AD
00124Diamond06/06/202542105569CD
00125Ruby07/10/20251100285AD
The given Structured Query Language (SQL) script is written to define the table CHARACTER.
sql
01  CREATE TABLE CHARACTER(02      CharacterID INT,03      CharacterName VARCHAR,04      DateCreated DATE,05      TheLevel INT,06      NumberOfPoints INT,07      PlayerID VARCHAR,08      PRIMARY KEY CharacterID,09      FOREIGN KEY(PlayerID)10  );
The SQL script contains four errors. Give the line number of each error and the corrected line.

Answer

0 words
3(b)(ii)Sql QueriesHard5 marks
Write an SQL script to return each player’s name and the number of characters each player has created. The result needs to include a suitable field name for the number of characters. Order the results in descending order of player ID.

Answer

0 words
3(c)Database Management Systems Integrity SecurityMedium5 marks
Complete the description of database key terms by writing the missing words.
The (blank 1) stores data about the data in the database. The table names, field names and relationships will be stored. Two other examples of data that will be stored are (blank 2) and (blank 3). When designing a database, the (blank 4) schema is the design of the database tables, fields and relationships independent of any Database Management System (DBMS). A DBMS provides security features to protect the data. (blank 5) are used to give user accounts permission to read data, some to read and write data and others may be unable to read the data. When creating a database, a (blank 6) provides tools to create visual components, for example forms and reports.
Blank 1: stores data about the data in the database
Blanks 2 and 3: two other examples of data the data dictionary stores (give both)
0 words
Blank 4: type of schema independent of any DBMS
Blank 5: give user accounts permission to read and/or write data
Blank 6: provides tools to create visual components such as forms and reports