Computer Science 9608 · 8

Databases

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

Reset
2021 October-November · Paper 11 · Q9(a)

Database concepts · 2 marks · official answer ready

(a) Complete the entity-relationship (E-R) diagram to show the relationships between the given tables. PASSENGER FLIGHT PASSENGER_LIST [2]

2021 May-June · Paper 11 · Q5(a)

Database concepts · 4 marks · official answer ready

(a) Complete the entity relationship (E-R) diagram for the database. COURSE BOOKING CUSTOMER COURSE_EMPLOYEE EMPLOYEE [4]

2021 May-June · Paper 11 · Q5(b)

Database concepts · 2 marks · official answer ready

(b) Describe what is meant by referential integrity. Give an example from the CUSTOMER and BOOKING tables in your answer. .........................................................…

2021 May-June · Paper 11 · Q5(c)

Database concepts · 3 marks · official answer ready

(c) A Data Definition Language (DDL) is used to create the structure of the database. One item that can be created is the database. Identify three other items that can be created …

2021 May-June · Paper 12 · Q4(c)

DDL and DML · 5 marks · official answer ready

(c) The table, GUIDE_TABLE, is created. Each guide has a unique guide ID. Part of the table GUIDE_TABLE is shown: GuideID Guide DateOfBirth Gender 1 Artem 07/03/1992 M 2 Kenton 08…

2021 May-June · Paper 13 · Q8(a)

Database concepts · 2 marks · official answer ready

(a) Complete the entity relationship (E-R) diagram to show the relationships between these tables. EMPLOYEE PROJECT PROJECT_TEAM [2]

2021 May-June · Paper 13 · Q8(b)

Database concepts · 4 marks · official answer ready

(b) Explain how primary and foreign keys are used to link the tables in CHARITY_PROJECT. ..........................................................................................…

2021 May-June · Paper 13 · Q8(c)

Database concepts · 2 marks · official answer ready

(c) The database needs to store the gender of each employee (either M for Male or F for Female). Write a Data Definition Language (DDL) statement to add the attribute Gender to th…

2021 May-June · Paper 13 · Q8(d)

DDL and DML · 3 marks · official answer ready

(d) Part of the EMPLOYEE table is shown: EmployeeID FirstName LastName Salary DOB Gender 001 Jasmine Chen 25 000 25/12/2000 F 002 Kenton Archer 20 000 01/04/1993 M 003 Michael Rou…

2019 October-November · Paper 11 · Q4(d)(iv)

Database concepts · 3 marks · official answer ready

(iv) The following table has definitions of database terms. Write the correct database term in the table for each definition. Definition Term All the data about one entity The dat…

2019 October-November · Paper 12 · Q4(a)(ii)

Database concepts · 4 marks · official answer ready

(ii) The relational database design needs to be normalised. The following statements describe the three stages of database normalisation. Complete the statements by filling in the…

2019 October-November · Paper 12 · Q4(b)(i)

Database concepts · 2 marks · official answer ready

(i) Anushka has designed an entity-relationship (E-R) diagram for SPORTS_CLUB. Complete the entity-relationship (E-R) diagram. MEMBER SESSION MEMBER_SESSION SESSION_TRAINER TRAINE…

2019 October-November · Paper 12 · Q4(b)(iv)

DDL and DML · 3 marks · official answer ready

(iv) Write a Data Manipulation Language (DML) script to return the first name and last name of all members who have Peak membership type. .........................................…

2019 October-November · Paper 13 · Q3(b)

DBMS · 5 marks · official answer ready

(b) The hotel wants to use a Database Management System (DBMS) to set up and manage the database. Describe, using examples, how the hotel can use the following DBMS tools: Develop…

2019 October-November · Paper 13 · Q3(c)

DDL and DML · 2 marks · official answer ready

(c) The following table has four SQL scripts. Tick (✓) one box in each row to identify whether the script is an example of a Data Definition Language (DDL) statement or a Data Man…

2019 October-November · Paper 13 · Q6(c)

DDL and DML · 4 marks

6 ............................ [2] (c) The following table has four SQL scripts. Tick (✓) one box in each row to identify whether the script is an example of a Data Definition Lan…

2019 May-June · Paper 11 · Q2(b)(ii)

DBMS · 4 marks · official answer ready

(ii) The software company decides to use a database to overcome the limitations of a file-based system. Some of these limitations are addressed through the logical schema. Name an…

2019 May-June · Paper 11 · Q2(c)(i)

Database concepts · 1 mark

(i) Identify the type of relationship that exists between the tables CUSTOMER and LICENCE. ........................................................................................…

2019 May-June · Paper 11 · Q2(c)(ii)

Database concepts · 2 marks · official answer ready

(ii) Describe how the relationship is created between the tables CUSTOMER and LICENCE. ............................................................................................…

2019 May-June · Paper 12 · Q5(a)(ii)

Database concepts · 3 marks · official answer ready

(ii) Explain how a relational database can help to reduce data redundancy. ........................................................................................................…