Computer Science For First Examination In 2021 9618 · 8

Databases

59 questions. Open a question to solve it and check the official answer.

2025 October-November · Paper 11 · Q2(a)

Database concepts · 2 marks · official answer ready

(a) Complete the entity-relationship (E-R) diagram for the database WORKEXPERIENCE. STUDENT PLACEMENT COMPANY [2]

2025 October-November · Paper 11 · Q2(c)(i)

DDL and DML · 2 marks · official answer ready

(i) Write a Structured Query Language (SQL) script to delete all placements that have been completed. .............................................................................…

2025 October-November · Paper 11 · Q2(c)(ii)

DDL and DML · 4 marks · official answer ready

(ii) Write an SQL script to return the total number of placements completed by the student with ID LDEA01 at the company with ID NEAM. The total should be given an appropriate nam…

2025 October-November · Paper 11 · Q2(d)

Database concepts · 3 marks · official answer ready

(d) The database tables are repeated here: STUDENT(StudentID, FirstName, TelephoneNumber, UniversityName) PLACEMENT(PlacementID, StudentID, CompanyID, StartDate, EndDate, Complete…

2025 October-November · Paper 12 · Q4(a)

Database concepts · 2 marks · official answer ready

(a) Describe the relationship between the two tables. Refer to the primary and foreign keys in your answer. .......................................................................…

2025 October-November · Paper 12 · Q4(c)

DDL and DML · 4 marks · official answer ready

(c) Write an SQL script to return the number of containers stored in the database for the ship with the name Caledonia. ...........................................................…

2025 October-November · Paper 12 · Q4(d)

DBMS · 2 marks · official answer ready

(d) Describe the purpose of a developer interface in a Database Management System (DBMS). .........................................................................................…

2025 October-November · Paper 13 · Q5(a)

Database concepts · 3 marks · official answer ready

(a) Complete the entity‑relationship (E‑R) diagram for the database REVIEWS. CUSTOMER PRODUCT COMPLAINT STAFF [3] * 0000800000007 * DFD 7 , ,

2025 October-November · Paper 13 · Q5(d)

DBMS · 4 marks · official answer ready

(d) A Database Management System (DBMS) is used to maintain and manage the database. Describe two ways in which the DBMS can be used to ensure the security of the customer data. 1…

2024 October-November · Paper 11 · Q2(a)

DBMS · 3 marks · official answer ready

(a) Give one limitation of using a file-based approach to store the data and explain how a relational database addresses this limitation. Limitation ..............................…

2024 October-November · Paper 11 · Q2(b)(i)

Database concepts · 3 marks · official answer ready

(i) Complete the entity-relationship (E-R) diagram for the given tables. REPAIR_PART PART REPAIR CUSTOMER [3] 5 , ,

2024 October-November · Paper 11 · Q2(c)

Database concepts · 3 marks · official answer ready

(c) Complete the table by writing a definition for each of the database terms. Term Definition ....................................................................................…

2024 October-November · Paper 12 · Q6(b)(i)

Database concepts · 6 marks · official answer ready

(i) Identify each relationship between the database tables and explain how each relationship can be implemented in the normalised database. .......................................…

2024 October-November · Paper 12 · Q6(b)(ii)

DDL and DML · 3 marks · official answer ready

(ii) The database also has the table INVOICE that stores data about each invoice that is sent to a customer. Example data from the table INVOICE is given. InvoiceID DateSent Amoun…

2024 October-November · Paper 13 · Q4(d)

Database concepts · 2 marks · official answer ready

(d) Complete the following table by defining each database term. Database term Definition .........................................................................................…

2024 October-November · Paper 13 · Q4(e)

DBMS · 3 marks · official answer ready

(e) A Database Management System (DBMS) supports data integrity. Explain how a DBMS supports data integrity. ......................................................................…

2024 May-June · Paper 11 · Q6(b)

DBMS · 4 marks · official answer ready

(b) The company is using a Database Management System (DBMS) to set up the database. Describe what is meant by the following DBMS features: Data dictionary .......................…

2024 May-June · Paper 11 · Q6(c)(i)

Database concepts · 2 marks · official answer ready

(i) The database FARMING has a second table created named PLAYER that has the primary key PlayerID. The field PlayerID in EVENT needs to be set up as a foreign key to link to Play…

2024 May-June · Paper 11 · Q6(c)(ii)

DDL and DML · 3 marks · official answer ready

(ii) Write an SQL script to return the number of events that each player has completed. ...........................................................................................…

2024 May-June · Paper 12 · Q4(a)

Database concepts · 1 mark · official answer ready

(a) Identify the relationship between EXAM and EXAM_QUESTION. .....................................................................................................................…