Computer Science For First Examination In 2021 9618 · 8

Databases

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

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

Database concepts · 5 marks · official answer ready

(d) The database also needs to store data about the students, the exams the students have taken and the marks the students achieved in each question of each exam. Describe the add…

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

Database concepts · 1 mark · official answer ready

(a) Identify the relationship between the tables PERFORMANCE and SHOW. ............................................................................................................…

2024 May-June · Paper 13 · Q4(b)

Database concepts · 4 marks · official answer ready

(b) Sample data for the table PERFORMANCE is shown: PerformanceID ShowID ShowDate StartTime Write a Structured Query Language (SQL) script to define the table PERFORMANCE. .......…

2024 May-June · Paper 13 · Q4(d)

Database concepts · 5 marks · official answer ready

(d) Customers give their first name, last name and email address when they are making a booking. One booking can include multiple seats. Describe the additional tables that will n…

2023 October-November · Paper 11 · Q3(a)

Database concepts · 3 marks · official answer ready

(a) Complete the entity-relationship (E-R) diagram for the relational database. SHOP_ORDER CUSTOMER ORDER_ITEM SUPPLIER ITEM [3]

2023 October-November · Paper 12 · Q2(a)

Database concepts · 3 marks · official answer ready

2 (a) State what is meant by the following terms in a relational database model. Entity ...........................................................................................…

2023 October-November · Paper 12 · Q2(b)

DBMS · 4 marks · official answer ready

(b) Authentication is one method a Database Management System (DBMS) can use to improve the security of a database. Describe other methods that a DBMS can use to improve the secur…

2023 October-November · Paper 13 · Q3(b)(i)

Database concepts · 1 mark · official answer ready

(i) Complete the entity‑relationship (E‑R) diagram for the database COURSES. COURSE_SCHEDULE TUTOR COURSE_INFORMATION [1]

2023 October-November · Paper 13 · Q3(b)(ii)

DDL and DML · 4 marks · official answer ready

(ii) Write the Structured Query Language (SQL) script to return the total number of courses that have started after 9 September 2023. The value returned must have an appropriate f…

2023 May-June · Paper 11 · Q2(a)(i)

DBMS · 2 marks · official answer ready

(i) State what is meant by a data dictionary and give one example of an item typically found in a data dictionary. Definition .....................................................…

2023 May-June · Paper 11 · Q2(b)(i)

Database concepts · 2 marks · official answer ready

(i) Complete the table by identifying two foreign keys and the database table where each is found. Foreign key Database table [2]

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

Database concepts · 1 mark · official answer ready

(ii) The database Birds has been normalised. Draw one line from each Normal Form to the most appropriate definition. Normal Form Definition First Normal Form (1NF) All fields are …

2023 May-June · Paper 11 · Q2(b)(iv)

DDL and DML · 5 marks · official answer ready

(iv) The database tables are repeated here for reference: BIRD_TYPE(BirdID, Name, Size) BIRD_SEEN(SeenID, BirdID, Date, Location, PersonID) PERSON(PersonID, FirstName, LastName, E…

2023 May-June · Paper 12 · Q2(a)

DBMS · 4 marks · official answer ready

(a) The table contains names and descriptions of DBMS features and tools. Complete the table by writing down the missing names and descriptions. Name Description .................…

2023 May-June · Paper 12 · Q2(b)

DBMS · 3 marks · official answer ready

(b) Explain the reasons why referential integrity is important in a database. .....................................................................................................…

2023 May-June · Paper 12 · Q2(c)(i)

DBMS · 2 marks · official answer ready

(i) Describe two methods of validating the field RiderLevel. 1 ....................................................................................................................…

2023 May-June · Paper 12 · Q2(c)(ii)

DBMS · 4 marks · official answer ready

(ii) Write a Structured Query Language (SQL) script to return the names of all the horses that have the horse level intermediate or beginner. .....................................…

2023 May-June · Paper 12 · Q2(c)(iii)

DBMS · 4 marks · official answer ready

(iii) The following SQL script should return the number of riders that have the rider level beginner and have a lesson booked on 09/09/2023. SELECT SUM(STUDENT.RiderLevel) AS Numb…

2023 May-June · Paper 13 · Q4(b)

Database concepts · 4 marks · official answer ready

(b) Complete the table by writing the missing term or description for each database feature. Term Description ........................................ An object that data is store…

2023 May-June · Paper 13 · Q4(c)

Database concepts · 4 marks · official answer ready

(c) The car rental database is not normalised. The current database design is: BOOKING(CarRegistration, StartDate, EndDate, CarModel, CarColour, CustomerFirstName) CUSTOMER(Custom…