Test 12 - Practical Questions
Test 12 - Practical Questions
CANDIDATE
NAME
CANDIDATE
CLASS
INSTRUCTIONS
● Use a dark blue pen. You must use a pencil for any diagrams or graphs.
● Write your name and class in the boxes at the top of the page.
● Write your answer to each question in the space provided.
INFORMATION
1
Que. 1.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………..…………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………..………………………………………..[3]
2
c. Describe features of the following other database models:
i. Object Oriented database model
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………..…………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………..…………………………………………………
………………………………………………………………………………………………………………… [3]
3
Que 2. A data dictionary is required when creating a relational database.
Identify and describe four components that should be included in a data dictionary.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..……………[8]
4
Que 3. (a) Define the following database terms.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..……………[1]
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..……………[1]
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..……………[1]
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………..………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
…………………………………………………………………………………………..…………………….……
………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………[3]
5
Que 4. Describe what is meant by the following types of database query:
(a) Complex
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………..…………………[2]
(b). Simple
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………..…………………[2]
(c) Nested
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………..…………………[2]
(d) Summary.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………..…………………[2]
6
Que 5. A company in Nairobi, Kenya, uses a database to store all its customer details.
Evaluate the use of static and dynamic parameters in a query to search the database for
customers in Nairobi, Kenya.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..…………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………………..……………[8]
7
Que 6.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………..…………………[2]
1……………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
2……………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………………………………..…………………[2]
Agents buy cars from a number of showrooms. The company buys a car from an agent
before then providing it for lease.
• each car
An example of a database for this company in unnormalised (0NF) form is shown below.
8
Convert this database to third normalised form by completing the field names for each
table provided.
You are not required to enter any data into the tables.
[10]
9
BLANK PAGE
10