DatabaseRevisionQuestions With Ans - Day2
DatabaseRevisionQuestions With Ans - Day2
2. A car sales showroom keeps a database of its stock. The table below shows part of the
database.
Year of
Car stock code Colour Type of car Price Sold
manufacture
AC7E4 Blue Estate 1998 £4,000.00 Yes
AC7E5 Red Saloon 1997 £3,599.00 No
AC7E6 Blue Hatchback 1999 £6,000.00 Yes
AC7E7 Green Estate 2000 £8,000.00 No
AC7E8 Blue Saloon 2001 £9,500.00 Yes
AC7E9 Silver Hatchback 1996 £4,500.00 Yes
AE7E10 Grey Convertible 2004 £14,000.00 Yes
.........................................................................................................................
[1]
.........................................................................................................................
[1]
Page 1 of 32
Databases Revision Questions
(c) When the database was designed, each field was given a field type. Tick ( )
one box in each row to show the most suitable field type for each of the fields.
Price
Sold
Type of car
[4]
.........................................................................................................................
[1]
(e) The data in the table could be sorted into ascending order of Year of
manufacture. What is the price of the car that would appear at the top of the
table?
.........................................................................................................................
[1]
(f) The salesperson searches the data in the table for cars using this query:
.........................................................................................................................
[1]
Page 2 of 32
Databases Revision Questions
(a) The Customer Last Name entry ‘Mitcherll’ should be ‘Mitchell’. This error should
be corrected by
A inserting a field
B deleting a record
C inserting a record
D amending a record
[1]
(b) The search criterion to find all customers with a subscription to ‘Superheroes’ is
Page 3 of 32
Databases Revision Questions
(c) The data type of the Customer ID field is
A text
B date
C number
D currency
[1]
A £54.95
B £62.00
C £70.00
D £89.90
[1]
(e) To list the database so that the record for Potter comes first and the record for
Bernstein comes last, the user should sort
Page 4 of 32
Databases Revision Questions
numeric
1 ................................................................
alphanumeric
2 ................................................................
[2]
Page 5 of 32
Databases Revision Questions
(d) Give one reason why each student has a student number.
-........................................................................................................................
It is more accurate and the school is
not obliged each year to increase the [1]
age by one.
5. A company has a database of all its computer hardware. Give three ways this
database could be used.
Way 1 ......................................................................................................................
..................................................................................................................................
Way 2 .......................................................................................................................
..................................................................................................................................
Way 3 .......................................................................................................................
..................................................................................................................................
[3]
Page 6 of 32
Databases Revision Questions
a) Give a suitable data type for each of the fields shown in the table.
Page 9 of 32
Databases Revision Questions
9. A school keeps a database of the names and addresses of its pupils. The table below
shows part of this database.
72a East Rd
Alice Begum F Cambridge 12-6-1992 50 Yes
CB7 OA1
16 North St Yes
Alastair Brown M Cambridge 13-8-1993 11
CB12 PO2
20 Upper Side St Yes
Stefan Bury M Cambridge 11-10-1992 22
CB9 AP3
22 Lower West St Yes
Anne-Marie Smith F Cambridge 16-5-1993 13
CB13 6AT
66 Southside No
Sian Williams F Cambridge 12-4-1991 4
CB4 7SD
101 Hull Rd Yes
Darren Martin M Cambridge 18-3-1991 161
CB1 2TY
(a) Give the most suitable field type for each of these fields:
Address Alphanumeric
..............................................................
Page 10 of 32
Databases Revision Questions
(d) Why is Pupil ID Number chosen for the key field in this database?
Page 11 of 32
Databases Revision Questions
Page 12 of 32
Databases Revision Questions
(a) State which field would be used as a key field and state why.
.........................................................................................................................
- Ref; it is unique field which
identifies each customer
.........................................................................................................................
[2]
Page 13 of 32
Databases Revision Questions
(b) State two useful pieces of information that can be obtained from the database by
Cambridge Retail and in each instance state why it could be useful to them.
One .................................................................................................................
.........................................................................................................................
.........................................................................................................................
[2]
Two .................................................................................................................
.........................................................................................................................
.........................................................................................................................
[2]
Page 14 of 32
Databases Revision Questions
11. Jessica is married with two children. She works as a designer in a local engineering
company. She owns her own house. She pays for most of her shopping using a credit
card. She has a mortgage of £50,000. She is a member of Spanish Connection’s mail
order services and often orders clothes from them.
(a) Use the information about Jessica to list four facts about her that could be stored
in a computer database.
.........................................................................................................................
.........................................................................................................................
.........................................................................................................................
.........................................................................................................................
[4]
.........................................................................................................................
.........................................................................................................................
.........................................................................................................................
[2]
Duo Cones 100 WA02 Cones & Wafers Roberto 12/04/93 £9.62
Page 15 of 32
Databases Revision Questions
(a) To list the product details in A to Z order of supplier, showing the product name in
A to Z order for each supplier, the user should sort
(b) The number of characters that can be entered for a product name will be
restricted by
A font size
B field size
C row height
D text alignment
[1]
(c) The search criterion to list all products with a Trade Price of £5.00 or more is
(d) The only field suitable for selection as the primary key is
A Product Name
B Product ID
C Category
D Supplier
[1]
(e) The search criteria to find all products from the supplier Roberto except those in
the Cones & Wafers category are
Page 16 of 32
Databases Revision Questions
C Supplier ="Roberto" OR Category <"Cones & Wafers"
(f) The fields required to create a query that will list the suppliers that have had
contracts for more than two years are
Page 17 of 32
Databases Revision Questions
(a) To list the database in A-Z order of Publisher, showing the number of books in
Stock with the greatest number first, the user should
Page 18 of 32
Databases Revision Questions
A Price <£19.99
B Price >£19.99
C Price <=£19.99
D Price >=£19.99
[1]
Page 19 of 32
Databases Revision Questions
(c) The Cat No of a softback book published by BBC where there are 5 in Stock is
A 23386S
B 34277T
C 32034T
D 37857S
[1]
Page 20 of 32
Databases Revision Questions
(d) To list the publications by the BBC and by C4 the search criteria is
Page 21 of 32
Databases Revision Questions
A Publisher
B Cat No
C Author
D Stock
[1]
Page 22 of 32
Databases Revision Questions
A text
B date
C currency
D number
[1]
Page 23 of 32
Databases Revision Questions
(g) The number of publications found by the search Price >= £17.50 and number in
Stock >= 6 is
A 1
B 2
C 3
D 6
[1]
Page 24 of 32
Databases Revision Questions
(h) To make sure that new records in the database have been entered correctly, the
user should
A proof-read
B use a spellchecker
Page 25 of 32
Databases Revision Questions
14. Imran is a car dealer. He needs a database of the cars he has in stock so that he can
quickly find suitable cars for customers.
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
..................................................................................................................................
[6]
Page 26 of 32
Databases Revision Questions
15. A new database is being designed for a company. Give three different things that
should be included in this design.
1 ...............................................................................................................................
..................................................................................................................................
2 ...............................................................................................................................
..................................................................................................................................
3 ...............................................................................................................................
..................................................................................................................................
[3]
Page 27 of 32
Databases Revision Questions
16. A car sales showroom keeps a database of its stock. The table below shows part of the
database.
Year of
Car stock code Colour Type of car Price Sold
manufacture
AC7E4 Blue Estate 1998 £4,000.00 Yes
AC7E5 Red Saloon 1997 £3,599.00 No
AC7E6 Blue Hatchback 1999 £6,000.00 Yes
AC7E7 Green Estate 2000 £8,000.00 No
AC7E8 Blue Saloon 2001 £9,500.00 Yes
AC7E9 Silver Hatchback 1996 £4,500.00 Yes
AE7E10 Grey Convertible 2004 £14,000.00 Yes
Page 28 of 32
Databases Revision Questions
(a) When the database was designed, each field was given a field type. Tick ( )
one box in each row to show the most suitable field type for each of the fields.
Price
Sold
Type of car
[4]
Page 29 of 32
Databases Revision Questions
.........................................................................................................................
[1]
Page 30 of 32
Databases Revision Questions
(c) The data in the table could be sorted into ascending order of Year of
manufacture. What is the price of the car that would appear at the top of the
table?
.........................................................................................................................
[1]
Page 31 of 32
Databases Revision Questions
(d) The salesperson searches the data in the table for cars using this query:
.........................................................................................................................
[1]
Page 32 of 32