E-R-Model Example Questions
E-R-Model Example Questions
Rohit’s family owns and operates a 640-acre farm for several generations. Since the
farm business is growing, Rohit is thinking to build a database that would make easier
the management of the activities in the farm. He is considering the following
requirements for the database:
1. For each livestock classification group (for example, cow, horse etc.), Rohit
keeps track of the following: identification number, classification, total
number of livestock per classification group (for example, number of cows,
number of horses etc.).
2. For each crop the following information is recorded Crop identification
number and classification.
3. Rohit has recorded the yield of each crop classification group during the last
ten years. The records consist of the year, yield, sales, price of the crop and the
amount of money earned.
4. Rohit has recorded the yield of each livestock classification group during the
last ten years. The records consist of the following historical data: the year,
(historical) selling price per head, number of livestock in the end of the year,
number of livestock sold during one-year period, and the total amount of
money earned.
3- Airline Example
Major airlines companies that provide passenger services in Taiwan are: UniAir,
TransAsia Airways, Far Eastern Transport, Great China Airlines etc. Taiwan’s
Federal Aviation Administration (TFAA) keeps a database with lots of information on
all airlines. This information is made accessible to all airlines in Taiwan with the
intention of helping the Companies assess their Competitive position in the domestic
market. The information kept consists of:
1. Each airpline has an identification number, name of the contact person and
telephone number.
2. For each aircraft identification number, capacity and model is recorded.
3. Each employee has an employee identification number, name, address,
birthday, sex, position with the company and qualification.
4. Each route has a route identification number, origin, destination, classification
(into domestic or international route), distance of the route and price charged
per passenger.
Each airline keeps information about their buy/sell transactions (for example, selling
an airplane ticket is a sell transaction, paying for maintenance is a buy transaction).
Each transaction has a transaction identification number, date, description and amount
of money paid/received