@2023 Tvet Cdacc: Page 1 of 4
@2023 Tvet Cdacc: Page 1 of 4
@2023 Tvet Cdacc: Page 1 of 4
061006T4ICT
ICT TECHNICIAN LEVEL 6
IT/OS/ICT/CR/7/6
MANAGE DATABASE SYSTEMS
NOV/DEC 2023
WRITTEN ASSESSMENT
.c
et
tv
sy
TIME: 3 Hours
ea
CANDIDATE INSTRUCTIONS
Page 1 of 4
@2023 TVET CDACC
SECTION A: 40 MARKS
Answer ALL questions in this section.
1. Databases consist of several key components that work together to organize, manage,
and access data efficiently. State FOUR such components. (4 Marks)
2. SQL commands are often categorized based on the type of operation they perform
within a database. Outline the FOUR types of these commands. (4 Marks)
3. A good database system is crucial for efficiently managing and storing data, ensuring
data integrity and providing reliable and secure access to information. Outline FOUR
characteristics one would consider to achieve this. (4 Marks)
4. In the context of a database, differentiate between database schema and database
instance. (4 Marks)
5. In SQL, the ALL operator is used in conjunction with certain comparison operators to
compare a value with all values in a set. State THREE statements that are usually
om
7. The database testing process typically involves several key steps to ensure the
sy
accuracy, reliability and performance of the database system. Outline the THREE step
ea
Page 2 of 4
@2023 TVET CDACC
SECTION B: 60 MARKS
Attempt any THREE questions in this section.
13.
a) Table 1 shows employee records stored in a database. Use it to answer the question
that follows.
Employee First name Last name Date Salary Grade
No employed
1010 Walter Williams 11/11/2009 10000.09 Lower
1011 Jane Antony 09/11/2007 20000.56 Higher
1012 Nicholas Kings 06/06/2008 25000.67 Higher
1013 Mary Anne 05/10/2008 15000.45 Middle
1014 Johnstone Pielly 12/12/2009 11000.99 Lower
Table 1: Employee
Write SQL statements that would:
i) Extract the first names in uppercase and last names; (3 Marks)
om
ii) Extract the first three characters of the Grade and store them in a field named
.c
et
grade 1; (3 Marks)
tv
sy
iii) Determine the number of characters in the last name and store them in the
ea
16.
.c
et
i) Prepare a suitable database structure showing field names and their field
types. (5 Marks)
ii) Explain how one can index the data such that cars of the same make and
colors are together. (2 Marks)
iii) Write statements that can be used to select cars of the color green whose
cost is greater than Ksh. 500,000. (3 Marks)
b) Salim intends to perform tests on the data in a database system. Explain any
THREE types of database tests that he can perform. (6 Marks)
c) Juma works for a data company that has been storing their files using physical
files. The company intends to switch to using a database management system to
store their data. Explain TWO benefits the company may realize from
implementing the new system. (4 Marks)
Page 4 of 4