Databases – IGCSE Information and Communication Technology (0417)
75 questions · page 3 of 5 · Clear filters
Question text
12 The manager of a car garage has asked a systems analyst to create a new database system for
the checking of cars making sure they are safe to drive. The checking of cars is known as a service.
Each car has a unique licence plate.
The cars can either be powered by electric or petrol.
Cars are serviced every 10000 km, for example 10000 km, 20000 km.
The minimum cost of the service is 1500 rupees and the maximum is 5000 rupees depending on
the model of car.
Different models of car are serviced.
The date of the service is agreed.
(a) Complete this table, filling in the field names and the most appropriate data types to create
the database using the information given above. For any numeric field, specify the type of
number.
Field name
Data type
Vehicle_licence_plate
Powered_by
Numeric:integer
Cost_of_service
Text
Date_of_service
[6]
03_0417_12_2022_1.13
(b) The systems analyst is planning to create a relational database.
Discuss the advantages and disadvantages of creating a relational database rather than a flat
file database.
…
…
…
…
…
…
…
…
…
…
…
…
[6]
03_0417_12_2022_1.13
(c) For each of the fields shown, name and describe one validation check that could be used on
the data. Your answers must be different in each case.
(i)
Vehicle_licence_plate
Validation check …
Description …
…
[2]
(ii) Cost_of_service
Validation check …
Description …
…
[2]
(iii) Date_of_service
Validation check …
Description …
…
Question text
4
A library system has two tables; one for borrowers and one for books. Extracts from these tables
are shown.
Borrower_ID
Borrower_name
Contact_telephone
Contact_email
5404
Susan Stranks
01632 960321
[email protected]
9867
Fei Hong Zhao
07700 900222
[email protected]
Borrowers table
Book_ID ISBN
Name_of_book
Author_of_book
Date_published
Borrower_ID Date_due_back
1
0859550153
Bird of Prey
David James
1977
5404
27/10/2021
34
3301028345
The Fifth Man
Colin Turner
1998
9324
05/10/2021
35
4237681321
A View of the Temple
Yu Yan Zhang
2017
8854
07/10/2021
59
4237681321
A View of the Temple
Yu Yan Zhang
2017
5404
27/10/2021
Books table
(a) Name the most appropriate validation check for each of these fields. Your answer must be
different for each field.
ISBN …
Date_due_back …
[2]
(b) (i)
For the books table, name the most appropriate field that could be used as a primary
key.
… [1]
(ii)
The librarian has created a relationship between the books table and the borrowers
table.
For the books table, name the most appropriate foreign key field that would be used to
create the relationship.
… [1]
(c) The data type for Contact_telephone has been set as text.
Explain why this field has been set to text rather than integer.
…
…
…
… [2]
(d) At the end of each day the tables are searched to issue reminders to borrowers about books
that are overdue.
Describe the automatic processing involved in searching and issuing of reminders for overdue
books.
…
…
…
…
…
…
…
…
…
…
Question text
A systems analyst has created a new computer system to keep records in a medical centre. She
7
has created a relational database to store the medical records of patients.
The database uses primary and foreign keys.
(a) Describe what is meant by a relational database.
…
…
…
…
…
…
[3]
(b) Explain the difference between a primary key and a foreign key.
…
…
…
…
…
…
…
…
[4]
06_0417_11_2021_1.8
(c) A dentist works at the medical centre. The dentist stores the medical records of his patients.
Describe four other uses of the database software that the dentist can use to help him in his
work.
1 …
…
2 …
…
3 …
…
4 …
…
[4]
06_0417_11_2021_1.8
(d) The data stored on the computer system needs to be protected from unauthorised access.
Discuss the effectiveness of different methods of increasing security of this data.
…
…
Question text
14 A road through a village has a speed limit of 45 kilometres per hour. The police are checking and
recording the speed of vehicles passing through the village using measuring hardware and software,
so they can produce a report of their findings.
(a) Explain the difference between measurement and control when using microprocessors.
…
…
…
…
[2]
(b) Describe the role of the microprocessor in this scenario.
…
…
…
…
…
…
…
…
[4]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every reasonable
be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge Assessment
International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at
www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of
06_0417_11_2021_1.8
Question text
5
Petr has set up a database for a science project on planets in the solar system. Part of the database
is shown.
ID Name_of_planet Number_of_moons Orbital_period Rings Gravity Type_of_planet First_observed
4 Mars
2
1.88
N
0.38
Regular
1610
5 Ceres
0
4.61
N
0.27
Dwarf
1801
7 Saturn
62
29
Y
1.16
Gas Giant
1610
9 Neptune
14
165
Y
1.21
Gas Giant
1846
10 Pluto
5
248
N
0.62
Dwarf
1930
11 Haumea
1
309
N
0.401
Dwarf
2004
(a) When Petr was designing his database, he had to set the data types for each field.
Complete the design table below by filling in the data types for each named field. Use the most
appropriate data type. Each data type must be different. For any numeric field, specify the type
of number.
Field name
Data type
Number_of_moons
Orbital_period
Rings
Name_of_planet
[4]
06_0417_12_2021_1.2
(b) Operators such as AND, OR, NOT, LIKE, >, >=, <, <=, =, <> can be used to search Petr’s
planet database. The search criteria for all the gas giant planets with more than 20 moons
would look like this:
Type_of_planet = ''Gas Giant'' AND Number_of_moons > 20
Write down the search criteria that will produce a list of planets that are not gas giants but
have at least one moon and were first observed after 1800.
…
…
…
…
[7]
(c) Write down the names of the planets that are not gas giants but have at least one moon and
were first observed after 1800.
…
…
…
…
[2]
(d) Petr has copied the data from the Orbital_period field into a spreadsheet. The data for the
orbital period for Mars, 1.88, is stored in cell A2. In cell B2 he has entered a function of:
ROUND(A2,0)
Explain in detail the function used in cell B2.
…
…
…
…
…
…
[2]
06_0417_12_2021_1.2
Question text
Susan is creating a database about cars and needs to save it in the shared area (S:) on the school
6
network. It will be stored in the folder ICT which is contained in the IGCSE folder. She needs to
save the file with a file name that is different from file names used by other students in the group.
(a) Write down a suitable file name for the file so that the teacher can easily find Susan’s work
and identify its contents. The file name should not contain spaces.
…
…
[1]
(b) Write down the file path which Susan would use to store the file in the correct folder.
…
…
…
…
[2]
(c) Susan plans to work on her database at home. However, the database is very large so her
teacher has told her that it needs to be reduced in size. She will then be able to attach it to an
email so she can send it home.
Explain why the file size would need to be reduced.
…
…
…
…
[2]
06_0417_13_2021_1.7
Question text
10 Aimi works for a shop that sells toys. She is setting up a relational database of the stock in the
shop. She has started designing the database. Aimi has written down the questions that are asked
about each toy and needs to produce appropriate field names from them. An example of the type
of data that is to be stored is shown.
What is the toy? Tawara Doll
Who manufactured the toy? Tinky
What year was it manufactured? 2020
What price was it bought for? $12.99
(a) Complete the design table below by filling in an appropriate field name for each question. Each
field name must be different. Field names must not include spaces.
Question
Field name
What is the toy?
Who manufactured the toy?
What year was it manufactured?
What price was it bought for?
[4]
06_0417_13_2021_1.7
(b) When Aimi created the whole database one of the fields was set as integer. However, as data
is entered Aimi realises that the field should have been set to two decimal places.
Describe the steps that need to be taken, by Aimi, to change the field from an integer to a
decimal. This field will be set to two decimal places.
…
…
…
…
…
…
…
…
[4]
(c) Aimi created a relational database but could have created a flat file database.
Discuss the advantages and disadvantages of using a relational database rather than a flat
file database.
…
…
…
…
…
…
…
…
…
…
…
…
Question text
11
The owner of a bookshop has a database of all the books she has in stock. As some of the data
is being entered into the database it is checked using validation checks.
An example of some of the records in the database is shown.
Field name
Example data
Name of book
Brotherhood of Wisdom
Name of author
Colin Turner
ISBN
471837951
Date of purchase
25/02/2021
Number of copies
10
Type of book
E
Name of book
The Fourth Man
Name of author
Aadha Khatri
ISBN
0718121753
Date of purchase
18/03/2019
Number of copies
53
Type of book
H
Name of Book
Indian Temples
Name of author
Vihaan Laghan
ISBN
978147183215
Date of purchase
12/02/2019
Number of copies
30
Type of book
H
03_0417_12_2021_1.10
Explain, using a field name and examples of the data stored in that field in the database, why
validation checks must be appropriate to the data that is being checked.
…
…
…
…
…
…
…
…
[4]
Question text
10 A student is creating a database for her geography project to show all the earthquakes that
occurred in 2019. She has produced part of the database which is shown.
Country
Magnitude
Depth(km)
26
6.9
Vanuatu
24
6.7
Vanuatu
29
6.1
Indonesia
27.6
6.7
Vanuatu
10.2
4.1
Nepal
136
6.9
Myanmar
9
6.2
Japan
8
6
Japan
16
6.4
Vanuatu
10
7
Japan
20.6
7.8
Ecuador
14
6.2
South Georgia
14
6.2
Ecuador
10
6
Ecuador
16
6
Mexico
10
6
Mexico
24
7
Vanuatu
When she has completed her database, she needs to carry out some searches on the data. To
search for all the earthquakes with a depth of more than 20 km she will need to type the following
search criteria.
Depth(km) >20
(a) Write the search criteria to find all the earthquakes of a magnitude greater than or equal to
6.5, with a depth less than 15 km.
…
… [5]
(b) Give the name of the country that satisfies the search criteria in part (a).
… [1]
The student has transferred the data into a spreadsheet in order to create a graph.
B
C
A
D
E
F
G
World Earthquakes - 2019
1
Country
Magnitude
Depth(km)
2
5
26
6.9
Vanuatu
Vanuatu
3
1
24
6.7
Indonesia
Vanuatu
4
1
29
6.1
Nepal
Indonesia
5
1
27.6
6.7
Myanmar
Vanuatu
6
3
10.2
4.1
Japan
Nepal
7
3
136
6.9
Ecuador
Myanmar
8
1
9
6.2
South Georgia
Japan
9
2
8
6
Mexico
Japan
10
16
6.4
Vanuatu
11
10
7
Japan
12
20.6
7.8
Ecuador
13
14
6.2
South Georgia
14
14
6.2
Ecuador
15
10
6
Ecuador
16
16
6
Mexico
17
10
6
Mexico
18
24
7
Vanuatu
19
(c) (i)
She has entered a formula in cell G3. The formula is
COUNTIF(A$3:A$19,F3)
Explain in detail what the formula in G3 does. Include in your answer an explanation of
the use of the $ sign.
…
…
…
…
…
…
…
… [4]
(ii)
The student is creating an appropriate chart/graph of the data in cells F3 to G10.
Write down the steps she needs to take to produce a chart/graph of the data on the
same sheet. Your answer must include examples of an appropriate title and labels.
…
…
…
…
Question text
7
The owner of a soccer club has employed a systems analyst to create a new computerised system
to store details of club members.
The systems analyst starts by researching the existing system. One way he could do this is to
interview members of the soccer club.
(a) Discuss the benefits and drawbacks of individually interviewing the members.
…
…
…
…
…
…
…
…
…
…
…
… [6]
(b) When the systems analyst created the new system, he had to choose data types for each
field.
Write down the most appropriate data type for each field. The answers in the table must be
different in each case. The data type for one field has already been identified; this data type
must not be used for the other fields.
For any numeric field specify the type of number.
Field name
Data type
Example data
Year_joined
2019
Gender
F
Date_of_birth
04/11/2000
Membership_number
01254
Text
Cost_of_membership
$10.50
[4]
(c) The systems analyst has set the data type for the Membership_number field as text.
Explain why this field has been set for a text data type rather than a numeric data type.
…
…
…
… [2]
(d) The owner of the soccer club is planning to create membership cards for all its members
using mail merge. The membership card will include personal data from the new system.
Describe the steps required to perform the mail merge.
…
…
…
Question text
4
A hospital is creating a database to store blood donors’ medical details. The fields in the
database include Health_number, Date_of_birth, Gender and Blood_group.
(a) When a new blood donor wishes to give blood they need to fill in a form.
Each blood donor has a unique health number which uses a 10-digit number, for example
9434765919.
Blood group can be A, B, AB or O.
Part of the form is shown below.
Blood donor
1. What is your health number?
2. What is your date of birth?
/
/
3. What is your gender?
M / F
4. What is your blood group?
Name a suitable data type for the answers given to each of the questions in the form. For
any numeric field, specify the type of number.
Question 1 …
Question 2 …
Question 3 …
Question 4 …
[4]
06_0417_11_2020_1.13
(b) In the Blood_group field the only data that can be entered is A, B, AB or O.
Tick (✓) whether each of the following blood groups is an example of abnormal or normal
data.
abnormal
normal
Blood group
(✓)
(✓)
AB
C
B
AO
[2]
(c) The administrator needs a list of all the blood donors in the database with blood group A
as well as in the same list all the blood donors with blood group AB. This list will only
include female blood donors.
To find the blood donor with the health number 9434765919 he will need to type in the
following query.
Health_number = 9434765919
Write a query to find all the female blood group donors with the blood group A as well as
those with AB.
…
… [6]
06_0417_11_2020_1.13
(d) When the details of a new donor are added to the database the person’s date of birth is
entered.
Explain why the administrator would prefer their date of birth to be stored rather than their
age.
…
…
…
…
…
…
…
… [4]
(e) Name the most appropriate validation check for the Health_number.
…
… [1]
06_0417_11_2020_1.13
Question text
1
The 2020 Olympic Games committee is producing a database to show the medal winners in the
cycling events.
It is important that the correct data type is used in each of the fields.
(a) Tick (✓) the most appropriate data type for each of the following fields.
Text
Boolean
Numeric
(alphanumeric)
(✓)
(✓)
(✓)
Athlete_name
Gold_medal (Y/N)
Age
Name_of_country
[4]
06_0417_12_2020_1.15
(b) A report has been produced that shows the male gold medal winners from the past three
Olympic Games.
Write down six of the formatting features that have been used in the report.
1 …
…
2 …
…
3 …
…
4 …
…
5 …
…
6 …
…
[6]
06_0417_12_2020_1.15
Question text
Mason is the head of a year group at a school. Every term he needs to send to parents a report on
4
their child’s progress. This will include a written report and the percentage attendance over the
term.
Each term he loads the comments from his tutors into the word processing software. He then adds
the attendance data from the database. The report is then printed and sent to parents.
He has decided that in future he will use mail merge to print the reports.
(a) Give four advantages of using mail merge instead of typing the reports.
1 …
…
2 …
…
3 …
…
4 …
…
[4]
(b) As it is entered, the data on the database is checked using validation routines. The percentage
attendance field uses a range check.
Describe, using the percentage attendance field, the steps that need to be taken to create this
validation routine.
…
…
…
…
…
…
…
…
[4]
06_0417_13_2020_1.13
(c) Before the database can be implemented the validation routines need to be tested.
Describe, using the percentage attendance field, how the validation routine will be tested by
Mason.
…
…
…
…
[4]
Question text
The secretary of the Tawara Rowing Club is organising a presentation evening for its members. A
6
systems analyst is creating a database for the club to store the details of the members. She is also
creating a spreadsheet to show who is attending the presentation evening.
The systems analyst has set up the following fields for the database.
Membership
Year
Name_of_person Date_of_birth
Contact_email
Contact_phone_no
Gender
_type
_joined
Nor Kwa
2/4/2005
Social
[email protected]
03 2453 5673
2018
F
Adam Mazian
23/5/2003
Social
[email protected]
082 25 4689
2016
M
Ahmed Othman 12/03/2006
Junior
[email protected]
01223 432678
2018
M
Zara Png
1/12/1997
Senior
[email protected]
123 3267 9999
2010
F
(a) For the following fields write down the most appropriate data type. Each data type must be
different. For any numeric field, specify the type of number.
Gender …
Membership_type …
Year_joined …
[3]
06_0417_13_2020_1.13
(b) Design an online data entry form which could be used to enter the details of one member,
using all the fields shown in the table.
In your design include appropriate spacing for each field and navigational aids. Do not include
data in the form.
[8]
06_0417_13_2020_1.13
(c) A spreadsheet has been created to show which members are attending the presentation
evening and who has paid.
Part of the spreadsheet is shown.
A
B
C
D
E
F
G
H
I
J
K
1
Tawara Rowing Club
Family
Full
Type of
Number Total
2
Name
Attending
Paid
Cost
$
name
name
member
attending owed
3
Nor
Kwa
Nor Kwa Social
Y
2
50 Y
Junior
10
Ahmed
4
Ahmed Othman
Y
3
30 Y
Senior
20
Junior
Othman
5
Zara
Png
Zara Png Senior
Y
1
20 N
Social
25
Adam
6
Adam
Mazian
N
0
0 N
Social
Mazian
Write down three of the formatting features that have been used in the part of the spreadsheet
shown.
1 …
…
2 …
…
3 …
…
[3]
06_0417_13_2020_1.13
(d) A formula has been created and placed in cell G3. The formula is:
IF(E3=''Y'',VLOOKUP(D3,J$3:K$5,2)*F3,0)
Explain what the formula does.
…
…
…
…
…
…
…
Question text
8
A headteacher plans to use a computer database to keep records of the members of staff that
teach in her school. She must choose between using a flat file database or a relational database.
(a) Explain the differences between a flat file database and a relational database.
…
…
…
…
[2]
(b) The school keeps details of the teachers in one file and the subjects they teach in another file.
A teacher teaches more than one subject.
Describe the steps the headteacher would need to take to create a relational database from
this data.
…
…
…
…
…
…
…
…
[4]