You are on page 1of 3

MURANG’A UNIVERSITY OF TECHNOLOGY

SCHOOL OF COMPUTING AND INFORMATION TECHNOLOGY

DEPARTMENT OF INFORMATION TECHNOLOGY

UNIVERSITY ORDINARY EXAMINATION

2017/2018 ACADEMIC YEAR


SECOND YEAR SECOND SEMESTER EXAMINATION FOR THE BACHELOR
OF SCIENCE MATHEMATICS AND ECONOMICS

SIT 200 – DATABASE MANAGEMENT SYSTEMS

DURATION: 2 HOURS

DATE: 20TH APRIL 2018

TIME: 9.00-11.00AM

Instructions to Candidates:

1. Answer Question 1 and Any Other Two questions.


2. Mobile phones are not allowed in the examination room.
3. You are not allowed to write on this examination question paper.
SECTION ONE – ANSWER ALL QUESTIONS IN THIS SECTION
QUESTION ONE (30 MARKS)

a) The traditional file based system was the earlier attempt to computerized the hither
to manual system. Discuss any five reason that made the system untenable. (10 marks)
b) Explain the following database term
i. Metadata
ii. Entity
iii. Relation
iv. An attribute
v. Database
c) When designing an input mask, one can use a combination of special symbols to restrict data entry
depending input. Using example show how the following symbols may be applied in an input mask
tag.

𝑖 𝐿. (ii) < (iii) > (iv) ? (v) „‟ „‟

(10 Marks)

SECTION TWO – ANSWER ANY TWO QUESTIONS IN THIS SECTION

QUESTION TWO (20 MARKS)

a) Define the term normalization as used in database (2marks)


b) Describe step by step procedures of attaining complete normalized data ready to
build tables on (8 marks)
c) Given the table below. Answer the questions that follow

Student Table

F. Name Reg. No Age Course


Korir 235 22 Bit 2012
Mwangi 230 22 Bit 2011
Mweni 233 21 Bit 2012
i. Write an SQL statement that adds a record named Kamau aged 21 registration number
234 and studies bit 2011 (5 marks)
ii. Delete from table student named Korir (5 marks)

QUESTION THREE (20 MARKS)

a) A process in a transaction is said to successfully terminate after attaining “acidity”.


Describe the ACID properties of a transaction illustrating with examples for each state (8 marks)
b) Describe the structures and rules governing each of the following DBMS models (12 marks)
i. Hierarchical db model
ii. Relational db model
iii. Network model

QUESTION FOUR (20 MARKS)

Using the table below answer questions that follows

Employees Table

Emp F Name S. Name Age Basic


Number Pay
Emp 001 Kimathi F 30 20,000
Emp 002 Omondi M 32 25,000
Emp 003 Kimaru M 30 22,500

i. Prepare an input mask for the field S. name (3 marks)


ii. Indicate the data types that would apply for each of the fields (6 marks)
iii. Display full name in a computed field combining first name and s name (4 marks)
iv. Explain what field would be suitable for primary key (3 marks)
v. Compute tax at 25% of basic pay and display results in a computed field (4 marks)

You might also like