You are on page 1of 7

IE4425 MIDTERM EXAM

Wednesday, March 6, 2024

Name:

Note: no partial credit will be given for wrong answers on T/F and multiple-choice problems;
answer carefully. For multiple selection M/C problems, points deducted for both incorrect
AND missed answers.
Answer problems #1-13 based on the ERD in Figure 1 of the handout (scroll down).
1. [4pts] The ERD can only contain information on one hotel ( T | F )

2. [4pts] A guest can have more than one bill per booking ( T | F )

3. [4pts] Room is an Associative Entity ( T | F )

4. [4pts] DiscountCodesApplied is a (circle all that apply)


a. Simple attribute
b. Composite attribute
c. Single valued attribute
d. Multi-valued attribute
e. Unique key
f. Foreign key
g. Associative entity

5. [4pts] More than one room can be assigned to a booking ( T | F )

6. [4pts] The same room number can be used at more than one hotel ( T | F )

7. [4pts] A hotel can have many rooms ( T | F )

8. [4pts] A hotel can have no rooms ( T | F )

9. [4pts] The relation between Room Type and Room is correctly shown ( T | F )

10. [4pts] The relation between Booking and Guest is correctly shown ( T | F )

11. [4pts] The relation between Room to Booking is one-to-many (T | F )

12. [4pts] The attributes HotelCode, GuestID, and RoomNo form a UK in the Bookings table (T | F )

13. [8pts] The hotel has determined that an employee may need to hold more than one role at a time (for
instance, Shift Manager and Supply Chain manager concurrently). Does the ERD design shown in
Figure 1 support this requirement? Explain why or why not. If not, also indicate how you would alter the
ERD design to support the requirement.
14. [36pts total, 4pts each] For each of the following terms, note the letter for the most appropriate matching
item from the list below. Note there are more items in the list than terms, so some of the items will not
be selected.
Distribution channel:
Trading goods:
Plant (in SAP):
EOQ:
MRP:
Goods receipt:
BoO:
Transit warehouse:
Work Center:

A. Raw materials
B. A valuation area
C. A specific way in which products or services reach (are sold to) customers
D. Finished goods produced in-house for sale
E. Forecast-based inventory and production planning model
F. A warehouse where materials awaiting custom clearance are stored
G. Any location where goods are made
H. Point at which inventory area takes possession of received goods
I. Already finished goods that are purchased for resale
J. In an EIS, any area of production used to define resource capacities and capture
resource related use and cost data
K. A warehouse where goods are dropped off by one truck to await pickup by
another truck; often combined with a cross-dock facility
L. Point at which inventory is decremented when goods are shipped
M. A physical location used by a business
N. Maximum order quantity that a supplier agrees to provide within a lead time
O. Inventory model used in consumption-based ordering
P. Vendor managed inventory model
15. [8pts] Fill the blank table below with the results of selecting all fields from
T1 RIGHT JOIN T2 ON T1.B=T2.N. Note there may be more rows than needed in the blank table.
T1 4 2 1
A B C 5 4 5
1 5 8 T2
2 4 2 M N
3 2 1 2 6
2 3
3 4
6 2
A B C M N
FIGURE 1
ERD for a hotel chain. A "booking" is a visit booked at a hotel. This ERD does not show
whether attributes are required or not. It also does not show any UK (there may be some).

You might also like