Database and file concepts – A Level Information Technology (9626)
114 questions · page 5 of 8 · Clear filters
Question text
11
Amir has created a student database query which allows users to type in any name they choose
and then the query finds everybody in the database with that name.
Annisa has told him that this is a dynamic parameter query.
Evaluate, by weighing up the advantages and disadvantages, dynamic parameter queries
compared with static parameter queries.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Please turn over for Question 12.
Question text
4
A secretary has been asked to add the data of three new employees to his company’s database of
employee records.
These include payroll numbers and the date these employees joined the company:
J45786
28/10/2019
K68932
11/11/2019
M40932
30/12/2019
Analyse the effectiveness of limit checks on the upper limits and format checks in validating this
data.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
… [8]
Question text
5
A company selling desktop computers uses batch processing to process its customer orders. The
company updates the stock master file every week.
Two sets of data are shown below.
The first set represents part of a transaction file containing the computer ID numbers and either
the total number of items sold to customers or the amount of new stock delivered to the company
in a particular week. The type of transaction is given a code of either S or D. S means that the
number of computers in stock needs to be reduced. D means that new stock needs to be added.
The second set represents part of the master file used by the company. This shows the computer
ID numbers, the make of computer, the hard disk size and number in stock.
Transaction file
Master File
ID_number
Quantity
Type
ID_number
Make
Hard_disk
Number_in_stock
D20992
40
D
D15609
Dingly
1
162
D43487
45
S
D20992
Dingly
1.5
145
D87214
36
S
D43487
Dingly
2
120
M47155
43
S
D87214
Dingly
3
150
M75860
76
D
M47155
MBI
1
135
R03272
55
S
M75860
MBI
2
158
R62925
92
S
M94382
MBI
4
182
S32249
67
S
R03272
Rickard
1
147
S47700
85
D
R55530
Rickard
1.5
126
T49443
61
S
R62925
Rickard
2
181
S32249
Sensen
2
130
S47700
Sensen
3
167
T49443
Trudel
1
122
T88350
Trudel
4
158
Using this data, explain the steps involved in updating the master file using this transaction file for
both types of transaction. You may assume that the transaction file has already been validated
and sorted.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Question text
8
Select the most appropriate data type for each of the following examples, giving a reason why
alternative data types would not be suitable. If the data type is numeric, specify the type of numeric
data that would be most appropriate and give a reason. The reasons must be different for each
example.
(a) A phone number, such as 028 9649 6437
…
…
…
… [1]
(b) A number used to show the fraction of students who like IT, such as 0.125.
…
…
…
… [1]
(c) The number of children in a family, such as 4.
…
…
…
… [1]
(d) A person’s state of employment, such as employed or not employed.
…
…
…
… [1]
(e) The amount of money a person earns, such as $100.50.
…
…
…
… [1]
Question text
10 There are several different generic file formats which can be used to save data.
Evaluate, by weighing up the advantages and disadvantages, the use of txt format to save data.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
5
A sports club keeps records in a database of its members and the individual sports they play. It
has the following tables of data:
Members’ names
Members’ contact details
Details of when they started playing the sport
All the possible sports which can be played by the members.
Names
Contact_details
Started_sport
Sports
(a) Complete the tables shown above, writing down examples of the field names for three of
the fields in each table. Indicate the key fields in each table and the relationships that exist
between each adjacent table. Indicate the type of each relationship. Some tables have one
relationship and others have a maximum of two relationships.
[8]
(b) Two of the tables could possibly be regarded as having a many-to-many relationship.
Using the example of the tables shown above, explain what is meant by a many-to-many
relationship.
…
…
…
…
…
…
…
…
…
… [4]
Question text
10 A researcher is interviewing some people. To begin with, she wants to record their personal details
using a six-character code. For example, 47FT12 means the person is 47 years old, in full-time
employment and left school after year 12.
Explain what the code 34PT10 means and why there may be problems with coding other people
in this way. Include in your explanation ways of improving this method.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
2
(a) Tick the most accurate statement regarding the use of word processing software for producing
documents.
✓
It is easier to format paragraphs compared to database software
It is easier to manipulate statistics compared to using spreadsheet software
Word processing packages can be used to produce all multimedia features
of a website
Databases are more difficult to filter than word processed documents
[1]
(b) Tick the most accurate statement regarding the use of other software to manipulate data.
✓
It is easier to create a query using database software rather than using
spreadsheet software
It is easier to create a report using spreadsheet software rather than using
database software
It is harder to enter data and produce charts showing sales growth with a
spreadsheet than using video editing software
The easiest way to trim a sound sample is by using photo editing software
[1]
(c) Evaluate, by weighing up the advantages and disadvantages, the use of a web authoring
package rather than a text editor to create a web page.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
7
Here is part of a database showing the earnings of a group of workers in a company.
WorkerID
Job_type
Hours_worked
Hourly_rate
Weekly_pay
€714.00
€17.00
Tyre changer
42
56321
Foreman
€880.00
€22.00
40
58191
Mechanic
€760.00
€20.00
38
58694
Painter
€666.00
€18.00
37
59676
Sander
€585.00
€15.00
39
61230
Sander
€540.00
€15.00
36
63214
Polisher
€532.00
€14.00
38
63295
Polisher
€560.00
€14.00
40
64387
Mechanic
€740.00
€20.00
37
67152
Painter
€648.00
€18.00
36
67328
Painter
€684.00
€18.00
38
68947
(a) Describe, using an example from the database, the features of a calculated field.
…
…
…
…
…
…
…
… [3]
(b) A number of fields in the database are not shown. Examples of these are first name and
family name. In this database the WorkerID is a primary key.
Explain why it is good practice to have a primary key in this database.
…
…
…
…
…
…
…
… [3]
(c) Describe what a consistency validation check is and explain how it could be used in this
database as a check when inputting data.
…
…
…
…
…
Question text
10 Ayesha is searching a school database for all the students studying biology. She has used a static
parameter query but has been advised to set the query up as a dynamic parameter query.
Describe what is meant by a dynamic parameter query and give the advantages of using one
instead of a static parameter query.
…
…
…
…
…
…
…
…
…
…
…
… [5]
Question text
6
Joanne owns a store which sells films as DVD and blu-ray discs. Each disc has a six-character
code number and each customer has an eight-character customer number. She has developed a
database system which contains information about the films. Each record contains the following
data:
Film title, director, code_number, DVD (Y/N), date_of_sale, customer_number.
Describe the features of an appropriate online data entry form for one film which would, where
appropriate, allow the user to enter data by clicking the mouse rather than entering text.
Do not draw the screen and data entry form in your description.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
… [8]
Question text
11
Describe what is meant by normalisation. Include in your description the properties of first normal
form (1NF) and how a table in first normal form can be converted to second normal form (2NF).
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
12 Sujatmi runs a company which stores its payroll records and personal details of its workers in two
flat files. She has been told that these files should be converted into a relational database.
By weighing up the advantages and disadvantages, evaluate the differences between a flat file
database and a relational database which would help Sujatmi make her decision as to which to
use.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
11
Explain why generic file formats are needed when using word processing software and spreadsheet
software.
…
…
…
…
…
…
…
…
…
… [4]
Question text
5
When creating queries, a function IIf() is often used. A table containing a list of where people live
and their status could exist so that a query could be constructed:
IIf([Living_in]=“own home”,“own”,“other”)
This would look in a list of where people lived for the words ‘own home’ and would output the word
‘own’ if a match were found. If it was not ‘own home’ then the word ‘other’ is output.
(a) Complete the nested query that would be used to output ‘rented’ for anyone living in
accommodation owned by a landlord. This is indicated by the word ‘landlord’ in the Living_in
field (see table on page 5).
IIf([Living_in]=“own home”,“own” …
… [6]
You can use the space below for any working you need.
(b) Below is shown the output created from a larger database.
Describe the steps required to produce this output (from the query in part (a)), without using a
wizard.
Second_Name
Name1
Living_in
Status
Burke
Dougie
own home
own
Charles
David
with parents
other
Hoy
Tony
landlord
rented
Lee
Duncan
own home
own
Macdonald
Lotte
with friends
other
Norfolk
Jeannie
landlord
rented
Reid
Laura
own home
own
Rydell
Jenna
own home
own
Ryder
Joe
with parents
other
Thomson
Jimmy
landlord
rented
…
…
…
…
…
…
…
…
…
…
…
… [5]