Computing 9691 · 8

Databases

121 questions. Open a question to solve it and check the official answer.

Reset
2014 May-June · Paper 32 · Q2(c)(ii)

Database concepts · 2 marks · official answer ready

(ii) Explain how this relationship between Customer and Hire is modelled using the given attributes. [2] 5

2014 May-June · Paper 32 · Q2(d)

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…

2014 May-June · Paper 32 · Q2(f)

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…

2014 May-June · Paper 33 · Q2(a)(i)

Database concepts · 1 mark

(i) Draw this relationship on the E-R diagram above. [1]

2014 May-June · Paper 33 · Q2(a)(ii)

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 …

2014 May-June · Paper 33 · Q2(b)(i)

Database concepts · 1 mark · official answer ready

(i) What is the primary key of table ExhibitionPainting? [1] Consider the relationship between Painting and ExhibitionPainting.

2014 May-June · Paper 33 · Q2(b)(ii)

Database concepts · 1 mark · official answer ready

(ii) Draw this relationship on the E-R diagram. [1]

2014 May-June · Paper 33 · Q2(b)(iii)

Database concepts · 2 marks · official answer ready

(iii) Explain how this relationship is modelled using the given attributes. [2] 5

2014 May-June · Paper 33 · Q2(c)

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.…

2014 May-June · Paper 33 · Q2(d)

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]

2014 May-June · Paper 33 · Q2(e)

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 …

2013 October-November · Paper 31 · Q3(a)

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]

2013 October-November · Paper 31 · Q3(b)(i)

Database concepts · 20 marks · official answer ready

(i) Convert the hexadecimal number 7A to denary. [1]

2013 October-November · Paper 31 · Q3(f)

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…

2013 October-November · Paper 32 · Q3(a)

Database concepts · 21 marks · official answer ready

3 (a) Describe what is meant by a register. [2]

2013 October-November · Paper 32 · Q3(b)(i)

Database concepts · 20 marks · official answer ready

(i) Convert the denary number 60 into hexadecimal. [1]

2013 October-November · Paper 32 · Q3(b)(ii)

Database concepts · 20 marks · official answer ready

(ii) Convert the hexadecimal number 10F into denary. [1] 7

2013 October-November · Paper 32 · Q3(c)(i)

Database concepts · 20 marks · official answer ready

(i) How many bytes are used to store each program instruction? [1]

2013 October-November · Paper 33 · Q3(c)(i)

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…

2013 October-November · Paper 33 · Q3(f)

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…