Task 3 DataBase
Task 3 DataBase
dd
Task#3
Semester: 4th Section: Data Science
AAA
Faculty of Computer Science and Information Technology
:
Instructions:
Question # AssignmentCLO
Sub-Question should
# be submitted inBT
Domain and word or pdf.Total Marks
Level
1 4 Cognitive 10
Question 1:
Questions:
● List all the entities shown in the ER diagram.
1) Employee
2) factory
3) model
4) part
5) vendor
● For each entity, specify its attributes as shown in the diagram.
1) Employee
1. ID
2. Name
3. position
4. pay rate
5. pay park
2) Factory
1. City
2. Throughput
3) Vendor
1. Contact info
2. E-mail
3. Photo
4. Name
4) Model
1. Designated
2. Name
3. Number
4. Type
5. Application
● Relationships :
A. read as “one-to-one”
B. read as “one-to-many” (equivalently, N: 1, or “many-to-one”)
C. read as “many-to-many”
● Primary Keys:
○ Determine and indicate which attributes in each entity are designated as primary
keys.
○ Identify any foreign keys in the diagram. Which entities do they reference, and
which attributes serve as foreign keys?
○ Are there any associative entities or weak entities in the diagram? If so, specify
them.
a. Assembly Line