Tumaini University of Makumira

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

TUMAINI UNIVERSITY OF MAKUMIRA

FACULTY OF HUMANITIES AND SCIENCE.

COURSE CODE: ITT06201

COURSE NAME: INFORMATION SYSTEM DEVELOPMENT

COURSE INSTRUCTOR: Sir.DAFAY

NATURE OF WORK: INDIVIDUAL ASSIGNMENT

NAME OF STUDENT : ABDON M. KAGENZI

REG NO: TUMA/DIPCIM/18/318234

SUBMITION DATE: 03-08-2020


Qn 1.a)

Entity Attributes Description Data type length Nulls


name
Student firstname ABDON VAR CHARACTERS 35 NO
lastname KAGENZI VAR CHARACTERS 35 YES
regno TUMa/DIPCIM/18/318234 VAR CHARACTERS 35 NO
Phone no +255745502484 INT 25 NO
Email [email protected] VAR CHARACTERS 35 NO
Date of birth 20/03/1997 VAR CHARACTERS 35 YES
Gender Male VAR CHARACTERS 35 YES
Category ICT VAR CHARACTERS 35 NO
Home address P.O.BOX 652,Arusha VAR CHARACTERS 35 NO

Adviser Position DOS(Dean of student) VAR CHARACTERS 35 NO


Department ICT VAR CHARACTERS 35 NO
Phone number 0620345567 INT 25 NO
Room number 12 VAR CHARACTERS 35 NO
Email [email protected] VAR CHARACTERS 35 NO
Halls of Name AH VAR CHARACTERS 35 NO
residence Address HARUNI,ARUSHA VAR CHARACTERS 35 NO
Phone number +255745692084 INT 25 NO
Hall manager MOSES VAR CHARACTERS 35 NO
Single Room no 37 INT 25 NO
rooms Place no Plot 78 VAR CHARACTERS 25 NO
Rent 50000 tsh VAR CHARACTERS 25 NO
Invoice Invoice number 319 INT 25 NO
Lease number T45 VAR CHARACTERS 25 NO
Semester 2nd semester VAR CHARACTERS 25 NO
Payment due Jan 20-2020 VAR CHARACTERS 25 NO
Full name ABDON M. KAGENZI VAR CHARACTERS 25 NO
Reg no Tuma/DIPCIM/18/318234 VAR CHARACTERS 25 NO
Place number Plot 25 VAR CHARACTERS 25 NO
Room number M.37 VAR CHARACTERS 25 NO
Hall address Makumira,Arusha VAR CHARACTERS 25 YES
Payment Payment date Jan 14-2019 VAR CHARACTERS 25 YES
of invoice Payment method Check VAR CHARACTERS 25 YES
First payment date Jan 14-2019 VAR CHARACTERS 25 YES
Second payment Jully 28-2019 VAR CHARACTERS 25 YES
date
Courses Course number ITT 06101 VAR CHARACTERS 25 NO
Course tittle Programming Language VAR CHARACTERS 25 NO
Course instructor MOSES HARUNI VAR CHARACTERS 25 NO
Instructors phone 0769172102 VAR CHARACTERS 25 NO
number VAR CHARACTERS 25 NO
Room number M.45 VAR CHARACTERS 25 NO
Email [email protected] VAR CHARACTERS 25 NO
Department ICT

b) university Accommodation Office

Student

Reg.no firstname lastname address Phone Email Date of gender Category


number birth of
student

Adviser

Position Department Phone no Email Room no


Hall of residence

Name Address Phone no Hall manager

Single room

Room no Place no Monthly rent

Invoice

Invoice Lease Semester Payment Full Registration Place Room Hall


no no due name no no no address

Invoice payment

Invoice payment date payment method First payment date Last payment date

Courses

Course no Course Course Instructor’s Email Room no department


tittle instructor phone no

Qn2a

2.aThe resulting relations have the Form

Client (Client No, Client Name)

Rental (Client No, Property No, Rent Start, Rent Finish)

Property For Rent (Property No, Address, Rent, Owner No)

Owner (Owner No, Owner Name)


b)

Third Normal Form (3NF)


A table is said to be in the Third Normal Form when,

1. It is in the Second Normal form.


2. And, it doesn't have Transitive Dependency.

Boyce and Codd Normal Form (BCNF)


Boyce and Codd Normal Form is a higher version of the Third Normal form. This form deals
with certain type of anomaly that is not handled by 3NF. A 3NF table which does not have
multiple overlapping candidate keys is said to be in BCNF. For a table to be in BCNF, following
conditions must be satisfied:

 R must be in 3rd Normal Form


 and, for each functional dependency ( X → Y ), X should be a super Key.

NIN Contract No Hours eName hNo hLoc

1135 C1024 16 Smith J H25 East Kilbride

1057 C1024 24 Hocine D H25 East Kilbride

1068 C1025 28 White T H4 Glasgow

1135 C1025 15 Smith J H4 Glasgow

NIN Table

NIN Contract Hours hNo

1135 C1024 16 H25

1057 C1024 24 H25

1068 C1025 28 H4

1135 C1025 15 H4

eName hLoc

Smith J East Kilbride


Hocine D East Kilbride

White T Glasgrow

Smith J Glasgrow

You might also like