Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSE 3241 Introduction to Database Systems Work Assignment 2 Answer Key Ohio State University

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
13-02-2023
Written in
2022/2023

CSE 3241 Introduction to Database Systems Work Assignment 2 Entity Relationship (ER) and Enhanced ER (EER) Model There are 3 questions in this assignment. Both electronic or paper copies are acceptable; however, paper copies must be turned in during class on 9/6 Question 1: (Exercise 3.19) Consider the ER diagram in Figure 3.21, which shows a simplified schema for an airline reservations system. Extract from the ER diagram the requirements and constraints that produced this schema. Try to be as precise as possible in your requirements and const

Show more Read less
Institution
Course

Content preview

CSE 3241 Introduction to Database Systems

Work Assignment 2

Entity Relationship (ER) and Enhanced ER (EER) Model
There are 3 questions in this assignment. Both electronic or paper copies are
acceptable; however, paper copies must be turned in during class on 9/6

Question 1: (Exercise 3.19)
Consider the ER diagram in Figure 3.21, which shows a simplified schema for an airline
reservations system. Extract from the ER diagram the requirements and constraints that
produced this schema. Try to be as precise as possible in your requirements and constraints
specification.




This study source was downloaded by 100000850872992 from CourseHero.com on 02-12-2023 23:02:47 GMT -06:00


https://www.coursehero.com/file/33903401/WA2-Keydocx/

, Answer:

(1) The database represents each AIRPORT, keeping its unique AirportCode, the AIRPORT Name,
and the City and State in which the AIRPORT is located.



(2) Each airline FLIGHT has a unique number, the Airline for the FLIGHT, and the Weekdays on
which the FLIGHT is scheduled (for example, every day of the week except Sunday can be coded as
X7).



(3) A FLIGHT is composed of one or more FLIGHT LEGs (for example, flight number

CO1223 from New York to Los Angeles may have two FLIGHT LEGs: leg 1 from New York to
Houston and leg 2 from Houston to Los Angeles). Each FLIGHT LEG has a DEPARTURE AIRPORT
and Scheduled Departure Time, and an ARRIVAL AIRPORT and Scheduled Arrival Time.



(4) A LEG INSTANCE is an instance of a FLIGHT LEG on a specific Date (for example, CO1223 leg
1 on July 30, 1989). The actual Departure and Arrival AIRPORTs and

Times are recorded for each flight leg after the flight leg has been concluded. The

Number of available seats and the AIRPLANE used in the LEG INSTANCE are also kept.



(5) The customer RESERVATIONs on each LEG INSTANCE include the Customer Name, Phone,
and Seat Number(s) for each reservation.



(6) Information on AIRPLANEs and AIRPLANE TYPEs are also kept. For each AIRPLANE

TYPE (for example, DC-10), the TypeName, manufacturing Company, and

Maximum Number of Seats are kept. The AIRPORTs in which planes of this type

CAN LAND are kept in the database. For each AIRPLANE, the AirplaneId, Total number of seats,
and TYPE are kept.




Question 2: (Exercise 3.27)
Cardinality ratios often dictate the detailed design of a database. The cardinality ratio depends
on the real-world meaning of the entity types involved and is defined by the specific application.



This study source was downloaded by 100000850872992 from CourseHero.com on 02-12-2023 23:02:47 GMT -06:00


https://www.coursehero.com/file/33903401/WA2-Keydocx/

Written for

Course

Document information

Uploaded on
February 13, 2023
Number of pages
6
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsConnoisseur Self
Follow You need to be logged in order to follow users or courses
Sold
587
Member since
3 year
Number of followers
344
Documents
1492
Last sold
1 week ago

4.2

68 reviews

5
40
4
11
3
13
2
1
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions