Lab no2
Lab no2
Lab no2
LAB - 2
Reg. #: UW-23-SW-BS-023
Semester:2nd
Date: 08/02/2024
1|Page
Database Lab
Task 1: Room
PK Room name
Room_number
Location of room
Professor Course
PK Prof ID PK Course_ID
has contain one
1 1
Class
PK Class_number
takes
has different
Class Capacity
* Course_id *
Location
Prof_ID
Room_ID
Procedure:
1. Started, opened MS visio.
2. In the Home tab, clicked on More Formats and clicked on Software and Databases then
4. Finally, I Construct an ER Diagram and wrote the conditions given in Entities and
Relationships.
2|Page
Database Lab
Length
Task 02 Year
Plot
Genre
Studio
Name
Name Addres
Acts_in
Action Play_roll
Name
Actor Name
contact number
phone number
Date of Birth
Date of birth
place
Procedure:
1. Started, opened MS visio.
2. In the Home tab, clicked on More Formats and clicked on Software and Databases then clicked on
3. I dentified the main entities (Movies, Directors, Actors, Studios), determined the relationships
5. Finally, I (simple ERD notations) and wrote the conditions given in Entities and Relationships.
3|Page
6.
Database Lab
Comments;
2. We used the appropriate notation (Crow's Foot ERD and simple ERD notation) for each
3. The attributes defined for each entity cover the essential information required for the
database.
Conclusion;
In this lab By completing these tasks, we have demonstrated proficiency in designing ER Diagrams
for different scenarios using various notations. ER Diagrams serve as valuable tools for database
design, helping to visualize the structure of the data and relationships between entities. Overall,
we work on these tasks showcases your understanding of database modeling concepts and our
__________________END________________
4|Page