Databases
87 questions. Open a question to solve it and check the official answer.
DBMS · 2 marks · official answer ready
(i) Explain the difference between security and integrity. ........................................................................................................................…
DBMS · 4 marks · official answer ready
(ii) Name and describe two security features provided by a DBMS. Feature 1 ........................................................................................................…
DBMS · 2 marks · official answer ready
(iii) The DBMS provides software tools for the database developer. Fill in the names of the missing software tools in the following statements. A .................................…
DBMS · 2 marks · official answer ready
(i) The DBMS has a data dictionary. Describe what the data dictionary stores. .....................................................................................................…
DBMS · 2 marks · official answer ready
(ii) The DBMS has a query processor. Describe the purpose of a query processor. ...................................................................................................…
Database concepts · 2 marks · official answer ready
(b) Relationships are created between tables using primary and foreign keys. Describe the role of a primary and a foreign key in database relationships. ..........................…
Database concepts · 3 marks · official answer ready
(c) In the company: • An employee can be a manager. • A department can have several managers and several employees. • An employee can only belong to one department. The EMPLOYEES …
Database concepts · 2 marks · official answer ready
(a) Complete the entity-relationship (E-R) diagram to show the relationships between these tables. MOVIE SCREEN MOVIESCHEDULE [2]
Database concepts · 4 marks · official answer ready
(b) Explain how primary and foreign keys are used to link the tables in the movie theatre database. ...............................................................................…
Database concepts · 2 marks · official answer ready
(c) The database needs to store the name of the company that produced each movie, for example, Rocking Movies. Write an SQL script to add the attribute ProductionCompany to the MO…
Database concepts · 2 marks · official answer ready
(i) Explain how the relationship between the tables USER and PHOTO has been implemented. ..........................................................................................…
Database concepts · 2 marks · official answer ready
(ii) Draw the entity-relationship (E-R) diagram to show the relationships between the three tables. [2]
Database concepts · 3 marks · official answer ready
(b) A database administrator decides to enforce referential integrity. Use an example from the database WEBDATA to explain what is meant by referential integrity. ................…
Database concepts · 3 marks · official answer ready
(c) The database has been normalised to Third Normal Form (3NF). Define the three stages of database normalisation. 1NF ...........................................................…
Database concepts · 2 marks · official answer ready
2 A company writes applications (apps) for smartphones. The company has a relational database, PURPLEGAME, which stores the information for one of its online game apps. The databa…
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 ....................................................................................................…
