Lab no2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Database Lab

LAB - 2

Database Systems Lab

Name: Muhammad salman

Reg. #: UW-23-SW-BS-023

Semester:2nd

Date: 08/02/2024

Submitted To: Engr Faiza Bukhari

Presentation/Procedure Code Comments Response Total


&
conclusion

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

Prof name Course_Name

Phone Number Course_code

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

clicked on Databases and selected Crow's Fit Database Notations.

3. Then draw entities and relationships.

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

Title Movie action movie

Genre
Studio

Name

Name Addres

Acts_in

Action Play_roll

Director Directs Actor

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

Databases and selected Chen's Database Notations.

3. I dentified the main entities (Movies, Directors, Actors, Studios), determined the relationships

between them, defined attributes for each entity.

4. Drawn entities and relationships using simple shapes and connectors

5. Finally, I (simple ERD notations) and wrote the conditions given in Entities and Relationships.

3|Page
6.
Database Lab

Comments;

1. In this lab we learned about database and creating shapes in ms visoi.

2. We used the appropriate notation (Crow's Foot ERD and simple ERD notation) for each

task, demonstrating an understanding of different modeling techniques.

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

ability to translate real-world scenarios into structured data models.

__________________END________________

4|Page

You might also like