You are on page 1of 15

COLLAGE OF COMPUTING AND INFORMATICS


 DEPARTMENT OF INFORMATION SYSTEM
 FUNDAMENTAL OF DATABASE SYSTEM PROJECT
 PROJECT TITLE ETHIO-CHIKEN MANAGMENT SYSTEM

GROUP:8 MAMBERS
NAME ID
1.ABDULMEJID FEDLU CIR/101/11
2.HIDAYA SIMENEH CIR/432/11
3.SYOUM DEBEBE CIR/182/11
4.DURUMA AJEMA CIR/226/11
1 identify organization and formulate self explanatory project title?

Our project is ETHIO-CHIKEN MANAGMENT SYSTEM

In this organization help to make Ethiopian farmer healthy and


economically better by supplying egg and chicken so we would like to
work the organization database system and we show to appropriate
structure of organization. We gather information by direct
communication for organization worker.

2 DESCRIBE THE ORGANIZATION WORKING STRUCTURE WITH AN APPROPRIATE


DIAGRAM?

Managing director control all department managers

Human resource manager hire employee if the organization need


additional employee and control all employee.

Production manager manage the hachure and breeder of the


organization

And store product of the organization

Sales manager manage distributer connect to the customer

Finance manager manage record information and balance economic


standard of the organization
Managing
director

Production HR manager Sales manger Finance


manager manager

hachure breader store Employe


e

3 what is business rule and identify the organization business rule


A Business rules is a statement that defines or constrains some aspect of business
Business rules describe the business policies that apply to the data stored
on a company's databases.
That can apply to people processes corporative behavior and computing system in
an organization
And put in place to help the organization achieve its goals it is arule which The
organisation follows
 Business rule for ETHIO-CHIKEN MANGMENT SYSTEM is
1 all employee come on time and perform expected work.
2 each employee must handle in secret way for employee
manager file
3 employee salary have been paid last date of the month in
25_30.
4 government organization rule and regulation have been
implemented

4 describe the data handling technique of the organization?

 The data handling technique of ETHIO-CHIKEN IS database data handling technique.

5 what is database why database is needed in the organization?

 Database is a collection of tables (and possibly Stored


Procedures, Functions, Views, etc.)

 database is an organized collection of data

 we use Database to store Data Structure containing process data


at the end of any process

 Database is about how the information is persisted.


 Database a term that represents a larger concept. It is well-organized
collection of data that can be accessed and manipulated.

 Thus, a database consists of many data structures.

 Database is Storage in computer.

 Database is non-volatile memory.

6 Identify all possible entities within the organization?

Entities of ETHIO-CHIKEN MANAGMENT SYSTEM is as follows

1department

2 breeder

3 costumer

4 employee

5 Distributer

6 hachure

7 store

8 machine

9 finance

7 identify each entity attribute?

No entities Attributes
1 department dep_name
dep_id
dep_location
dep_manager_name
started_date
2 breeder Breeder_no
Breeder_type
Location

3 hachure Hachure_no
Location
Performance_level
4 employee f_name
l_name
em_id
sex
birtjhdate
age
department
started_date
experience
position
bank_acount
phone_no
salary
adress

5 Distributer Dis_fame
Dis_lame
gender
Dis_id
Age
Birth_date
Adress
6 costumer F_name
L_name
Adress
Phone_no
Cs_id
Purchase_type
7 store Store_id
Store_p_type
location
8 machine Machine_code
Machine_name
Machin_id
Machine_type
9 finance Finance_code
Location
Finance_manager_name

8 determine the degree and cardinality of relationship


among entities?

Degree of relationship

 Department, breeder, and hachure are ternary relationship


 Department with employee binary relation
 Breeder with hachure binary relationship
 Machine with hachure binary relationship
 Machine with breeder binary relationship
 Store with finance binary relationship
 Costumer with distributer binary relationship

Cardinality of relationship

 Department with employee have one_to_many relation


 Department with breeder one_to_one
 Department with hachure one_to_one
 Breeder with hachure one_to_one
 Costumer with distributer many_to_many
 Machine with breeder many_to_one
 Machine with hachure many_to one
 Store with finance one_to_one

9 identify the entities candidate key, primary key,


foreign key, composite key and surrogate key

entities Candidate key Primary key Foreign Composite key Surrogate


key key
department dep_name dep_id NULL dep_mana_nam started_dat
dep_id e

Breeder Breeder_no Breeder_no dep_id Breeder_type Breeder_no


Breeder_type

Hachure Hachure_no Hachure_no Breeder_no Performance_lev Hachure_no


Performance_level el
employee bank_acount em_id dep_id adress bank_acoun
phone_no phone_no
em_id salary

Distributer Dis_id Dis_id Store_no Adress Birth_date


Birth_date

Costumer Phone_no Cs_id Dis_id Adress Phone_no


Cs_id

Store Store_no Store_no Hachure_no NULL Store_no


Store_p_type
Machine Machine_code Machin_id Hachure_no NULL NULL
Machin_id
finance Finance_code Finance_cod Store_no Fin_manR_name NULL
Finance_manager_name e

10 write data integrity rule such as entity integrity rule, referential integrity,
rule domain integrity rule, and null integrity rule

 Entity integrity rule

In a base relation, no attribute of a primary key can be null.


By definition, a primary key is a minimal identifier that is
used to identify tuples uniquely. The entity integrity
constraints states that no primary key value can be Null
 Based on our project entity integrity rule is all entity has

assign primary key that must not be null.


All primary key of our project is em_id, Hachure_no, Breeder_no,
dep_id, Finance_code, Machin_id, Store_no, Cs_id, and Dis_id
 referential integrity
if a foreign key exists in a relation, either the foreign key value must
match a candidate key value of some tuple in its home relation or the
foreign key value must be wholly null. We wish to ensure that a value
that appears in one relation for a given set of attributes also appears
for a certain set of attributes in another. This condition

is called "Referential Integrity". This constraint establishes a


relationship between records across a master and a detail tables.
This relationship ensures:

 Records cannot be inserted into a detail table if corresponding


records in the master table do not exist.
 Records of the master table cannot be deleted if corresponding
records in the detail table exist.
 Records of the detail table cannot be updated without updating in
to records in the master table.

Based on our project referential integrity as follow

 Records cannot be inserted into a hachure table if


corresponding records in the breeder table do not exist.
 Records of the breeder table cannot be deleted if
corresponding records in the hachure table exist.
 Records of the hachure table cannot be updated without
updating in to records in the breeder table.

 Records cannot be inserted into a costumer table if


corresponding records in the distributer table do not exist.
 Records of the distributer table cannot be deleted if
corresponding records in the costumer table exist.
 Records of the costumer table cannot be updated without
updating in to records in the distributer table.

 Records cannot be inserted into a finance table if


corresponding records in the store table do not exist.
 Records of the store table cannot be deleted if
corresponding records in the finance table exist.
 Records of the finance table cannot be updated without
updating in to records in the store table.

 domain integrity rule


No value of the attribute should be beyond the allowable limits.
Domains are used in the relational model to define the characteristics
of the columns of a table. Domain refers to the set of all possible values
that attribute can take

Based on our project


All attribute must take valid value

Example age can take value of positive integer, gender can take value of
male or female, name can take value of letter and so on.
 NULL integrity rule
 Represents a value for an attribute that is currently unknown or is
not applicable for this tuple. It can mean that a value is not
applicable to a particular tuple, or it could merely mean that no
value has yet been supplied
Based on our project attribute cannot assign any value that
attribute is currently unknown or not applicable
11 design the conceptual database of your project by using ER
diagram and EER diagram?
lemanso high middle

CreatedCreated
by TrialCreated
by
Version
Trialby
Version
Trial Version
location date bulanso
st arted_ dep_manager
high_line low
sudo
hac_no
perf_level
dep_id bred_type

departmen
brd_no location location
t
dep_name
kebele
works_in breeder
city town
l_name f_name supplise_egg hachure
sex
dis_id
adress
manages
works_with
em_id
l_name
work_with
supplise_chike distributer
n
birth_date f_nam

age emplyee age


started_date
birtdate
department
salary distribute_pro phone_no
city
adress record
expriance phone_no
position belongs_to adress
town
kebele costumer

city finance kebele


town

machine f_name
store
finance_cod pur_type
l_name
machine_nam cs_id
e
machine_code
location
manger_name store_no location

machine_id
store_p_type machine_type

You might also like