Databases
87 questions. Open a question to solve it and check the official answer.
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]
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]
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. .........................................................…
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 …
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…
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]
Database concepts · 4 marks · official answer ready
(b) Explain how primary and foreign keys are used to link the tables in CHARITY_PROJECT. ..........................................................................................…
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…
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…
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…
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…
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…
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. .........................................…
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…
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…
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…
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…
Database concepts · 1 mark
(i) Identify the type of relationship that exists between the tables CUSTOMER and LICENCE. ........................................................................................…
Database concepts · 2 marks · official answer ready
(ii) Describe how the relationship is created between the tables CUSTOMER and LICENCE. ............................................................................................…
Database concepts · 3 marks · official answer ready
(ii) Explain how a relational database can help to reduce data redundancy. ........................................................................................................…
