1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bezzdna [24]
3 years ago
11

You are modeling a small part of an online flight reservation system, according to the following description. A flight is a sing

le non-stop hop between a pair of cities. A booking can include several flights and travelers (think of a family vacation hitting multiple cities), with the requirement that all the travelers are on all the flights in a booking. Furthermore, every booking has a single owner who is one of the travelers on that booking (think one family member booking the tickets for the entire family), and the owner can manage functionality on the system that other travelers cannot. A separate ticket is issued and priced individually for each traveler on a booking, and the ticket applies to all flights within that booking. Draw the most appropriate UML diagram for your model. Identify entities (classes/abstract classes/interfaces) clearly, and separate them according to their functionality--the separation should be faithful to the description above. Set up relationships between entities as precisely as possible. Inside each class in the diagram, only list the class name and minimal number of attributes required to characterize objects of that class (no operations needed). For the attributes, you are not required to show access level. For any ONE association, code the classes involved, detailing the fields ONLY.

Computers and Technology
1 answer:
Law Incorporation [45]3 years ago
4 0

Answer:

Explanation:

The database schema can have following tables:

1. airport_table(apcode, apcity, apcountry)

2. airline_table(aid, aname, acountry)

3. flight_table(fid, aid, arrtime, depttime)

4. passenger_table(pid, pname, pcity, pcountry)

5 booking_table(bid, bdate, pid)

See attachment for the diagram

You might be interested in
New friends??? if you want to be my new friend go follow my gram
lord [1]

Answer:

what you need

only friends

4 0
3 years ago
Read 2 more answers
Plzzzz plzzzzz helpppp meeeeee dueee tidayyyy i beggggggg
Talja [164]

Answers:

Lever- a rigid bar resting on a pivot, used to help move a heavy or firmly fixed load with one end when pressure is applied to the other

Pulley- a wheel with a grooved rim around which a cord passes. It acts to change the direction of a force applied to the cord and is chiefly used (typically in combination) to raise heavy weights

Wheel and axle- a simple lifting machine consisting of a rope which unwinds from a wheel on to a cylindrical drum or shaft joined to the wheel to provide mechanical advantage.

Inclined plane- a plane inclined at an angle to the horizontal.

Wedge- a piece of wood, metal, or some other material having one thick end and tapering to a thin edge, that is driven between two objects or parts of an object to secure or separate them.

Screw- a short, slender, sharp-pointed metal pin with a raised helical thread running around it and a slotted head, used to join things together by being rotated so that it pierces wood or other material and is held tightly in place.

<em>hope this helps :)</em>

5 0
3 years ago
Write a python program to calculate the average of two numbers​
Elan Coil [88]

Answer:

n1 = int(input("Please enter a number<:"))

n2= int(input("Please enter a number<:"))

sum = n1 + n2

print("The average of the two numbers is", sum / 2)

8 0
3 years ago
Which statement is true? Opinions can be scientifically tested. Scientific theories are absolute and cannot be changed. Scientis
ivolga24 [154]
The one that is correct is the one that says "Facts can be scientifically tested"
6 0
3 years ago
Ava's newest financial goal is to eliminate the remainder of her student loan debt. She has about $8,950 left on her student loa
vekshin1

Answer: She Should use a line graph. Y axis should go up to $9000 and the X value should go up to 25. The Y Axis represents how much money she has left to pay, and The X axis represents the amount of month left. Over Time the line should slope downwards

Explanation:

6 0
3 years ago
Other questions:
  • Ben buys an Olympus E-PL2 from Sony which starts malfunctioning. When he opts for an exchange, the customer representative says
    11·1 answer
  • ROE: what does this represent (in plain terms)? In what range would this number typically be? What type of person/position would
    11·1 answer
  • Write a program that allows two players to play a game of tic-tac-toe. Use a two dimensional char array with three rows and thre
    7·1 answer
  • Which statement will call this module and pass 12 as the argument?
    11·1 answer
  • When planning the structure of a spreadsheet, columns are for _______ items and rows are for _______ items.
    10·2 answers
  • 1. Here is a program segment to find the quantity base . Both base and exp are entered at the keyboard. System.out.println("Ente
    13·1 answer
  • ¿Cuales son las empresas mas exitosas que aún usan hoja de cálculo? porfa es urgentee
    6·1 answer
  • I made Pico with a Ray Gun (Next is Dad/Tankman)<br><br> Opinons?
    11·2 answers
  • HELP PLS
    5·2 answers
  • For some reason my code is not printing in python. It doesn't give me an error is just not printing no thing shows up
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!