8.1 Database concepts
53 questions in this subtopic. 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 to show the relationships between the given tables. PASSENGER FLIGHT PASSENGER_LIST [2]
Database concepts · 4 marks · official answer ready
(a) Complete the entity relationship (E-R) diagram for the database. COURSE BOOKING CUSTOMER COURSE_EMPLOYEE EMPLOYEE [4]
Database concepts · 2 marks · official answer ready
(b) Describe what is meant by referential integrity. Give an example from the CUSTOMER and BOOKING tables in your answer. .........................................................…
Database concepts · 3 marks · official answer ready
(c) A Data Definition Language (DDL) is used to create the structure of the database. One item that can be created is the database. Identify three other items that can be created …
Database concepts · 2 marks · official answer ready
(a) Complete the entity relationship (E-R) diagram to show the relationships between these tables. EMPLOYEE PROJECT PROJECT_TEAM [2]
Database concepts · 4 marks · official answer ready
(b) Explain how primary and foreign keys are used to link the tables in CHARITY_PROJECT. ..........................................................................................…
Database concepts · 2 marks · official answer ready
(c) The database needs to store the gender of each employee (either M for Male or F for Female). Write a Data Definition Language (DDL) statement to add the attribute Gender to th…
Database concepts · 3 marks · official answer ready
(iv) The following table has definitions of database terms. Write the correct database term in the table for each definition. Definition Term All the data about one entity The dat…
Database concepts · 4 marks · official answer ready
(ii) The relational database design needs to be normalised. The following statements describe the three stages of database normalisation. Complete the statements by filling in the…
Database concepts · 2 marks · official answer ready
(i) Anushka has designed an entity-relationship (E-R) diagram for SPORTS_CLUB. Complete the entity-relationship (E-R) diagram. MEMBER SESSION MEMBER_SESSION SESSION_TRAINER TRAINE…
Database concepts · 1 mark
(i) Identify the type of relationship that exists between the tables CUSTOMER and LICENCE. ........................................................................................…
Database concepts · 2 marks · official answer ready
(ii) Describe how the relationship is created between the tables CUSTOMER and LICENCE. ............................................................................................…
Database concepts · 3 marks · official answer ready
(ii) Explain how a relational database can help to reduce data redundancy. ........................................................................................................…
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]
