Databases
59 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 for the database WORKEXPERIENCE. STUDENT PLACEMENT COMPANY [2]
DDL and DML · 2 marks · official answer ready
(i) Write a Structured Query Language (SQL) script to delete all placements that have been completed. .............................................................................…
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…
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…
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. .......................................................................…
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. ...........................................................…
DBMS · 2 marks · official answer ready
(d) Describe the purpose of a developer interface in a Database Management System (DBMS). .........................................................................................…
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 , ,
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…
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 ..............................…
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 , ,
Database concepts · 3 marks · official answer ready
(c) Complete the table by writing a definition for each of the database terms. Term Definition ....................................................................................…
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. .......................................…
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…
Database concepts · 2 marks · official answer ready
(d) Complete the following table by defining each database term. Database term Definition .........................................................................................…
DBMS · 3 marks · official answer ready
(e) A Database Management System (DBMS) supports data integrity. Explain how a DBMS supports data integrity. ......................................................................…
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 .......................…
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…
DDL and DML · 3 marks · official answer ready
(ii) Write an SQL script to return the number of events that each player has completed. ...........................................................................................…
Database concepts · 1 mark · official answer ready
(a) Identify the relationship between EXAM and EXAM_QUESTION. .....................................................................................................................…
