Databases
24 questions. Open a question to solve it and check the official answer.
DBMS · 3 marks · official answer ready
(i) Explain the difference between security and privacy of data. ..................................................................................................................…
DBMS · 1 mark · official answer ready
(ii) Give an example for this application where privacy of data is a key concern. .................................................................................................…
DBMS · 4 marks · official answer ready
(b) Name and describe two security measures the Network Manager has in place to protect the security of the data held in the DBMS. 1 ..............................................…
DBMS · 2 marks · official answer ready
(c) A task for staff at the start of the school year is to key in new pupil data from a paper document. The data is entered to a screen form and includes the data verification of …
DDL and DML · 3 marks · official answer ready
(i) Write an SQL script to update this client’s record in the database. UPDATE ....................................................................................................…
DBMS · 2 marks · official answer ready
(a) Name two security measures to protect computer systems. 1 .....................................................................................................................…
Database concepts · 4 marks · official answer ready
(i) The Patient ID is a seven digit number. The database designer decides to use a check digit to verify each foreign key value that a user keys in for a Patient ID. When a user a…
DBMS · 4 marks · official answer ready
(ii) Name and describe two validation checks that the DBMS could carry out on each primary key value that a user keys in for a Patient ID. 1 Validation check .....................…
Database concepts · 2 marks · official answer ready
(i) Underline the primary key for each table in the following suggested table designs. PATIENT(PatientID, PatientName, Address, Gender) DOCTOR(DoctorID, Gender, Qualification) APP…
Database concepts · 2 marks · official answer ready
(ii) Complete the following entity-relationship (E-R) diagram for this design. [2]
DDL and DML · 3 marks · official answer ready
(i) Write an SQL script to update this doctor’s record in the database. UPDATE ....................................................................................................…
Database concepts · 2 marks · official answer ready
(ii) Explain how the relationship in part (a) is implemented. .....................................................................................................................…
Database concepts · 2 marks · official answer ready
(ii) The design for the Area B data is as follows: B-NURSE(NurseID, FirstName, FamilyName, Specialism) B-WARD(WardName, NumberOfBeds, Specialism) B-WARD-NURSE( ...................…
Database concepts · 2 marks · official answer ready
(iii) Draw the relationships on the entity-relationship (E-R) diagram. B-NURSE B-WARD B-WARD-NURSE [2]
DDL and DML · 3 marks · official answer ready
(i) Write an SQL query to display the Nurse ID and family name for all Area B nurses with a specialism of ‘THEATRE’. ..............................................................…
DDL and DML · 3 marks · official answer ready
(ii) Fatima Woo is an Area B nurse with the nurse ID of 076. She has recently married, and her new family name is Chi. Write an SQL command to update her record. UPDATE ..........…
Database concepts · 1 mark · official answer ready
(a) Explain what the degree of relationship is between the entities SHOP and SUPPLIER. ............................................................................................…
Database concepts · 3 marks · official answer ready
(i) Label the entities and draw the relationships to complete the revised E-R diagram. SUPPLIER [3] 3
Database concepts · 5 marks · official answer ready
(ii) Complete the following table to show for each database table: • the primary key • the foreign key(s) (if any): ° Each table may contain none, one or more foreign key(s). ° Fo…
Database concepts · 2 marks · official answer ready
(iii) The database designer has implemented SUPPLIER.ContactPerson as a secondary key. Describe the reason for this. ..............................................................…
