Database and file concepts – A Level Information Technology (9626)
114 questions · page 4 of 8 · Clear filters
Question text
11
The sales director of a large company buys cars from an agent before issuing them to managers
for use as company cars. She needs to keep records of all the agents she deals with and the
details of each car. The records are stored as a relational database consisting of two tables.
Agents
Cars
1
Agent_ID
Car_ID
Agent_first_name
Number_of_doors
Agent_second_name
Cost
∞
Agent_ID
A typical record from the Cars table would be: S8562T, 5, $39500, B345
(a) Using the information given above, complete this part of the data dictionary for the Cars
table.
Attribute
Data type
Format
Type of key
Car_ID
[5]
(b) Evaluate, by weighing up the advantages and disadvantages, the use of a relational database
rather than a flat file database in this situation.
…
…
…
…
…
…
…
…
…
…
…
… [6]
(c) The sales director wishes to find the details of the agent who sold her the car with an ID of
R4962Z. She has used a static parameter query to find these details.
Explain why she should have used a dynamic parameter query.
…
…
…
…
…
…
…
…
…
Question text
1
Coding of data, such as G for green and B for blue, has some advantages and disadvantages.
(a) Tick the most accurate statement regarding an advantage of coding data in this way.
ü
Data can become more difficult to interpret.
All codes are easy to forget.
It never leads to the coarsening of data.
Coding of data means time is saved when entering data.
[1]
(b) Tick the most accurate statement regarding a disadvantage of coding data in this way.
ü
Codes cannot be used in a flat file database.
More mistakes are made when entering data.
It is possible to run out of meaningful code combinations.
It is more difficult to use validation rules with the data.
[1]
(c) A shirt manufacturer uses codes to store information about its shirts. For example, a blue
shirt with a neck of 40 cm and a chest of 98 cm could be coded as B4098.
Explain what each part of the code P4395 could mean and why there may be problems with
coding shirts in this way. Include in your explanation ways of improving this coding method.
…
…
…
…
…
…
…
…
…
… [4]
(d) Other methods are used to convert data. These include encryption and the use of codecs.
Analyse the effectiveness of these two methods.
…
…
…
…
…
…
…
…
…
…
Question text
10 A bank keeps the following information about its customers and accounts in a database:
•
all the types of account customers can open
•
details of when customer accounts are opened
•
the names of each customer
•
customers’ contact details.
Tables in the database are linked as shown:
Accounts
Date_Opened
Customers_1
Customers_2
1
1
1
1
∞
Account_ID
Customer_ID
Customer_ID
Customer_ID
∞
Account_type
Account_ID
First_Name
Address1
Date_Account_Opened
Second_Name
Address2
Phone
(a) Describe, in detail, how the tables are connected and the possible relationships that exist
within the database.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
… [8]
(b) The tables were created with the field names shown. The field names were assigned correctly
and then data was entered.
The software rejected the relationships as they were being set up.
Describe two reasons the software would have rejected the relationships.
1 …
…
Question text
12 Describe what is meant by the following types of database query:
(a) Complex
…
…
…
…
… [2]
(b) Nested
…
…
…
…
… [2]
(c) Summary.
…
…
…
…
… [2]
Question text
3
A manager wants to code the data about clothes sold in a shop, ready for storing in a database.
The table shows the manager’s first attempt.
Category
Data
Colour
Light green (G), Black (B), Dark green (G), Red (R)
Type of clothing
Shirt (S), Skirt (S), Trousers (T), Pullover (P)
Size (ins)
25 – 30 (S), 31 – 36 (L), 37 – 42 (XL), 43 – 48 (XXL)
Brand
Astio (A), Dasiap (D), Utap (U), Gumho (G)
(a) Give three different reasons why the manager wants the data coded.
1 …
…
2 …
…
3 …
…
[3]
(b) Give three different drawbacks of coding the data as shown in the table.
1 …
…
2 …
…
3 …
…
[3]
(c) Describe two different improvements which could be made to this coding system.
1 …
…
2 …
…
[2]
Question text
8
A common feature of many database systems is the use of switchboards.
Evaluate, by weighing up the advantages and disadvantages, the use of switchboards in such
systems.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
9
GoodHope Ltd uses computers to process its payroll. The company pays its workers weekly,
which involves the updating of a master file.
Part of a transaction file is shown. It contains workers’ ID numbers and the hours worked by those
workers in a particular week.
Part of the master file used by the company is shown. It contains the workers’ ID numbers and the
hourly rate at which they are paid in $.
Transaction file
Master file
ID_number
Hours_worked
ID_number
Hourly_rate
25306
35
13487
26
25376
40
25306
25
25891
37
25376
25
27813
40
25891
24
28197
35
26145
25
32678
40
27813
22
33429
37
28197
23
36802
38
31026
22
38439
38
32678
26
39286
40
33429
22
36802
21
38439
25
39286
24
39875
25
(a) The transaction file has been sorted so that the updating can begin.
Describe what other process must happen before updating can begin.
…
… [1]
(b) Describe the steps involved in updating the master file in this payroll system.
You must use examples from the files shown.
You may assume that the only transaction being carried out is the calculation of the weekly
pay using the formula:
Hourly rate × Hours worked
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Question text
12 Joanne has created a spreadsheet using proprietary software. Paula has suggested that she
should save it in an open-source file format.
(a) Describe three distinct features of proprietary software.
…
…
…
…
…
…
…
… [3]
(b) Describe two distinct features of an open-source file format.
…
…
…
…
…
… [2]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will 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
Question text
11
Explain what is meant by normalisation. Include in your answer a description of the characteristics
of second normal form (2NF) and third normal form (3NF).
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
4
A sports club secretary has entered data from a source document into a database on his own
computer. The original document contains correct data but he made some errors when copying
the data into the database. Membership number is text data type and Membership fee paid is
currency.
Membership
Date of
Membership
Membership
Date of
Membership
number
birth
fee paid ($)
number
birth
fee paid ($)
45237
13/04/1996
35
45237
13/04/1996
35
34859
09/12/1998
46
3485
09/12/1998
46
28695
12/11/1992
43
28695
12/12/1992
43
61892
01/02/2001
12
61892
01/02/2001
12
56123
27/06/1999
15
56123
27/06/1999
5
Source document
Database
The three errors were:
15 has been copied as 5
34859 has been copied as 3485
12/11/1992 has been copied as 12/12/1992
(a) (i)
Explain, in detail, why one of the errors could only have been detected using verification.
…
…
…
…
… [2]
(ii)
Describe the most appropriate method of verification that could be used to trap this error.
…
…
… [1]
(b) For each of the other two errors, describe the most appropriate validation check which would
have trapped the error.
1 …
…
…
2 …
…
…
[2]
Question text
7
Explain the relationship between the World Wide Web and the internet.
…
…
…
…
…
…
…
…
…
… [4]
Question text
9
Describe the format of a mobile phone (cell) network and how it enables the transmission of voice
and data.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
11
When creating queries in a database, a function IIf() is often used. IIf is equivalent to the IF function
found in spreadsheet software.
Examine the following database query.
IIf([Examdate]>Date(),"not yet",IIf([Examdate]=Date(),"today’s the day","you’ve missed it"))
Date() returns the current date. [Examdate] is written as “Examdate” in some software.
Describe, in detail, what the database query does.
…
…
…
…
…
…
…
…
…
… [4]
Question text
13 A company stores records of its employees in alphabetical order of name.
Explain what is meant by the indexed sequential access method, describing how it could be used
to retrieve the records of employees named Patel.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
… [8]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will 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
Question text
10 Below are tables from a university database of Metallurgy students. Relationships link the tables.
Students
Studentid
Phone
Second_name
A5384
01217421600
Bhatti
A6528
01213689624
Schmidt
B7238
01214016620
Jones
A8946
01214006451
Gonzales
D9476
01214016620
Jones
Courses
Studentid
Subject
Teacher_code
A5384
Geology of metals
SMI
A6528
Electrochemical Metallurgy
LOU
B7238
Geology of metals
RIC
A6528
Metallography
SAN
D9476
Physical Metallurgy
SAN
Teachers
Teacher_code
Subject 1
Subject 2
LOU
Electrochemical Metallurgy
Metallography
RIC
Geology of metals
Crystallography
SAN
Metallography
Physical Metallurgy
SMI
Electrochemical Metallurgy
Geology of metals
TUR
Crystallography
Geology of metals
(a) Define, exactly, each of the following terms giving examples of the only suitable fields for
each, using the tables provided.
(i)
Primary key
…
…
…
…
…
…
…
… [3]
(ii)
Foreign key
…
…
…
…
…
…
…
… [3]
(iii)
Compound key
…
…
…
…
…
…
…