Labact 1 F
Labact 1 F
Labact 1 F
Ballesteros
USN: 20000157300
BSIT
Lab Activity
1. Make a relationship with the following entity: Doctor, Patient and Room. (doctor attends patient, patient
assigned to room)
2. Entity CUSTOMER can be characterized by Id, Name and Address. The attribute “customer address”
have the attributes number, street, city, and state.
Customer Information
I used the Chen Diagram for better presentation of the problem above. The Entity customer has the attribute:
Customer ID, Name, Address and the address is a composite attribute with an attribute of number, street, city and
state. I also used the ERD standard but I don’t familiar how to make a composite attribute their and there is no
symbol on the tool for the composite attribute. I assigned the customer ID as the primary key.
3. An Engineer builds a house with few workers and raw materials participating in this building at the same
time.
The diagram above is all about building a house. The engineer is the one who supervises or tells to the workers what
to do and the one who manage the raw materials. The workers uses raw material and builds it into a house.
4. Make an ER diagram that has a multiple relationships. Three (3) minimum relationship
The diagram above shows the relationship between the entities. The department has instructor and headed by an
instructor. The department offers many courses. A course was taught by instructor. The courses are enrolled by the
students.