9608_s16_qp_13
A paper of Computer Science, 9608
Questions:
7
Year:
2016
Paper:
1
Variant:
3

Login to start this paper & get access to powerful tools

3
4
5
A Database Management System (DBMS) provides the following features. Draw a line to match each feature with its description. Feature Description Data dictionary Data security Data integrity A file or table containing all the details of the database design Data design features to ensure the validity of data in the database A model of what the database will look like, although it may not be stored in this way Methods of protecting the data including the uses of passwords and different access rights for different users of the database A school stores a large amount of data that includes student attendance, qualification and contact details. The school is setting up a relational database to store these data. The school needs to safeguard against any data loss. Describe three factors to consider when planning a backup procedure for the data. Justify your decisions. The database design has three tables to store the qualifications and grades each student has attained. The following is a sample of the data from each table. STUDENT StudentID FirstName LastName Tutor 001AT Ahmad Tan 11A 003JL Jane Li 11B 011HJ Heather Jones 10A QUALIFICATION QualCode Level Subject CS1 IGCSE Computer Science MT9 IGCSE Maths SC12 IGCSE Science STUDENT-QUALIFICATION QualCode StudentID Grade DateOfAward SC12 011HJ A 31/8/2014 SC12 003JL C 31/8/2014 CS1 003JL B 31/8/2014 Draw an Entity-Relationship (E-R) diagram to show the relationships between these three tables. State the type of relationship that exists between STUDENT and STUDENT-QUALIFICATION. Describe how the relationship between QUALIFICATION and STUDENT-QUALIFICATION is implemented. The database will store each student’s date of birth. Write an SQL script to add a date of birth attribute to the appropriate table. Write an SQL script to display the StudentID, Grade and DateOfAward for the QualCode value of SC12. Write an SQL script to display the FirstName and LastName and QualCode for all STUDENT-QUALIFICATIONs for which the Grade value is A.
6