Data, databases and SQL – Edexcel IAL Information Technology (WIT1)
18 questions · page 2 of 2 · Clear filters
Question text
2 Large distributed databases process millions of queries and data updates every day
across global networks.
(a) Give three reasons why it is better to use a distributed database rather than a
single database at one location.
(3)
1
.
2
.
3
.
(b) One of the problems with a distributed database is that of concurrency.
(i) State what is meant by concurrency in this context.
(1)
(ii) Explain why concurrency might cause problems with a distributed database.
(3)
(c) It is essential that a relational database is normalised.
Discuss the problems caused by data redundancy and how normalisation reduces
the problems.
(6)
(Total for Question 2 = 13 marks)
Question text
3 Members of a photography club store images in online albums.
The club wishes to create a database containing details of these images.
People will be able to view the images and leave comments.
Figure 1 shows an early draft of the database structure.
Photograph
Album
Image ID
Album title
File name
Description
Image description
Number of views
Date uploaded
Photographer name
Comments
Photographer email
Photographer telephone
Comment date/time
Comment text
Location
Location name
Figure 1
(a) Complete this data dictionary for the Photograph entity shown in Figure 1.
(6)
Table name
Attribute / field
Data type
Key (P/F)
Field size
Format / validation
name
Image_ID
File_name
Image_description
Date_uploaded
Photographer_name
Photographer_email
Photographer_
telephone
(b) Members of a photography club store images in online albums.
The club wishes to create a database containing details of these images.
People will be able to view the images and leave comments.
A photographer may have several albums.
Each photograph is only stored in one album.
Figure 1 is repeated here.
It shows an early draft of the database structure.
Photograph
Album
Image ID
Album title
File name
Description
Image description
Number of views
Date uploaded
Photographer name
Comments
Photographer email
Photographer telephone
Comment date/time
Comment text
Location
Location name
The draft structure is not yet in third normal form.
Create an E–R diagram showing the normalised logical data model for
this database.
All attributes must be included.
Primary keys must be underlined.
Foreign keys must be indicated by an asterisk *.
Relationship types must be shown.
(9)
Draw your ERD here.
(Total for Question 3 = 15 marks)
Question text
5 Carlo is designing a relational database. As part of the process he will create a data dictionary.
(a) Data dictionaries can be active or passive.
Explain how an active data dictionary differs from a passive data dictionary when
the database is running.
(3)
(b) One of the functions of a data dictionary is to hold information about the data
objects in the database (metadata).
Describe two other functions of a data dictionary.
(4)
1
2
(c) Part of Carlo’s database deals with contacts.
Figure 2 shows a logical data model for the contacts part of the database.
Contact
Address
Contact ID
Address ID
First name
Contact ID
Last name
Address type
Date of birth
Address line 1
Marital status
Address line 2
Telephone
Town
Employer
Postcode
Figure 2
Carlo has also made some notes about the data.
● Marital status, create list: Married, Single, Divorced, Widowed
● Date of birth in format DD/MM/YYYY
● Date of birth to be validated to check age is at least 18 years
● These fields must be filled:
Contact ID, First name, Last name, Telephone, Address ID, Address type,
Address line 1, Postcode
Create a data dictionary for the contacts part of the database.
(9)
Table name
Attribute / field
Data
Key
Reqd
Field
Description / notes
name
type
(P/F)
(Y/N)
size
Table name
Attribute / field
Data
Key
Reqd
Field
Description / notes
name
type
(P/F)
(Y/N)
size
(Total for Question 5 = 16 marks)