Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Assignment no# 3

Bc200411619

Saiqa Kanwal

Course code# cs507

Suppose Mr. Jeff is a professor in a well-known academic institute and has diverse research
experience in different areas of computer science. Mr. Jeff also has vast experience in the
software development and has much expertise/skills in different programming languages. He
supervises Research Students and teaches advance programming courses as well.

Considering above scenario, you are required to perform following tasks.

Task 1:

Consider Professor entity from above scenario, and place following attributes in their relevant
columns in given table.

PID, Name, CNIC#, Qualification, Specialization, Designation, EmailID, Address, Salary,


Joining Date, Date of Birth, Age, Skills, Research Areas.

Solution:

Entity Simple Unique Composite Derived Multi-Valued Attribute(s)


Attributes Attribute(s) Attribute(s) Attribut
e(s)

Designation PID Name Age Skills

Professor Date of Birth CNIC Address Qualification

Salary EmailID Research Areas

Joining Date

Specialization

Task 2:
After placing attributes of Professor in correct columns, identify two more entities from given
scenario with at least two attributes.

Solution:

Student: stid, sname

Course: cid, cname

Draw an ERD showing three entities (Professor and two other entities identified in Task 2). For
drawing ERD, use proper symbols to show entities, simple attributes, key attribute, composite
attributes, derived attributes and multi-valued attributes. Also, show relationship between
entities. For any possible composite attribute (s), extract and show its sub-attributes too.
Designation
PID

Joining date
Age

Name
CNIC No

Specialization
EmailID
Cid Sid

Teachers Supervisor
Course
Student

Professor
Cname
Date of birth
Sname

Qualification
Salary

skill Research Areas

Address

House no
Contact no
Street no

You might also like