Databases
121 questions. Open a question to solve it and check the official answer.
Database concepts · 2 marks · official answer ready
(ii) Explain how this relationship between Customer and Hire is modelled using the given attributes. [2] 5
DDL and DML · 2 marks · official answer ready
(d) The following Data Manipulation Language (DML) query is run: SELECT RegistrationNo FROM Hire WHERE (StartDate < Now() ) AND (ReturnDate > Now() ); Note: Now() is a function wh…
DDL and DML · 2 marks · official answer ready
(f) On 05/04/2014, customer 085 booked a vehicle hire. This hire will start on 13/04/2014. When the customer arrives, the receptionist will check their driving licence. If the lic…
Database concepts · 1 mark
(i) Draw this relationship on the E-R diagram above. [1]
Database concepts · 4 marks · official answer ready
(ii) Complete the description for the Gallery and Exhibition tables. Use the notation: TableName(Attribute1, Attribute2, ...) where the underlined attribute indicates the primary …
Database concepts · 1 mark · official answer ready
(i) What is the primary key of table ExhibitionPainting? [1] Consider the relationship between Painting and ExhibitionPainting.
Database concepts · 1 mark · official answer ready
(ii) Draw this relationship on the E-R diagram. [1]
Database concepts · 2 marks · official answer ready
(iii) Explain how this relationship is modelled using the given attributes. [2] 5
DDL and DML · 2 marks · official answer ready
(c) Additional data are to be stored about each artist as follows: Artist(ArtistName, Nationality, YearBorn, YearDied) The following Data Manipulation Language (DML) query is run.…
Database concepts · 3 marks · official answer ready
(d) Write a DML query to display the painting reference number and painting title for all paintings by Da Vinci. [3]
DDL and DML · 3 marks · official answer ready
(e) The painting ‘The Guitar Player’ was in the ‘Secrets and Silence’ exhibition. The ExhibitionPainting table has a record for this. In the record: • The painting is referred to …
Database concepts · 21 marks · official answer ready
3 (a) Most modern computers are designed using Von Neumann architecture. Explain what is meant by Von Neumann architecture. [2]
Database concepts · 20 marks · official answer ready
(i) Convert the hexadecimal number 7A to denary. [1]
DDL and DML · 6 marks
3 [3] (f) The table to store the race data has the following design: RACE(RaceDate, RaceStartTime, StartVenue, Distance, OrganisingClubName) Write a Data Manipulation Language (DM…
Database concepts · 21 marks · official answer ready
3 (a) Describe what is meant by a register. [2]
Database concepts · 20 marks · official answer ready
(i) Convert the denary number 60 into hexadecimal. [1]
Database concepts · 20 marks · official answer ready
(ii) Convert the hexadecimal number 10F into denary. [1] 7
Database concepts · 20 marks · official answer ready
(i) How many bytes are used to store each program instruction? [1]
Database concepts · 5 marks · official answer ready
3 [3] (c) A database solution is to be developed. Two of the tables are CAR and CUSTOMER. (i) Draw an entity-relationship (E-R) diagram showing a database design which can be prod…
DDL and DML · 6 marks
3 [3] (f) The table to store the hire data has the following design: HIRE(HireID, CarRegistrationNo, HireBookingDate, HireStartDate, NoOfDays, HireRate, CustomerID) Write a Data M…
