Virtual University of Pakistan Spring 2025
CS409P –Introduction to Database Administration
(Practical)
Assignment No.1
Maximum Marks: 20
Instructions Due Date: May 02, 2025
The purpose of this assignment is to give you hands-on practice. It is expected that students
will solve the assignment themselves. The following rules will apply during the evaluation
of the assignment.
● Cheating from any source will result in zero marks in
the assignment.
● The submitted assignment does NOT open or the file is corrupted will yield zero
marks.
● No assignment after the due date will be accepted.
● Submit the assignment in .DOC file format.
● You can use MS Visio/ MS Paint for drawing the ERD Diagram etc.
Objectives and Learning Outcomes:
The objectives of this assignment are to,
● Give the idea of entities, attributes, and relationship between the entities in the system.
● Give the idea of Keys.
● Give the idea of Entity Relationship Diagram (ERD).
The Learning Outcome of this assignment is that,
● Students will be able to draw an Entity Relationship Diagram (ERD).
For any query about the assignment, contact at [email protected]
Virtual University of Pakistan Spring 2025
Question: An Entity Relationship Diagram is given below.
Consider this diagram and perform the following task:
Task :
Write answers to the questions listed in the first column in the corresponding second
column. No need to include any extra or irrelevant information in the answer column,
otherwise marks will be deducted.
Question Answer
How many foreign keys are there in the Loan entity?
Write the surrogate key of User entity.
According to the UML notation used for Installment
entity, can this entity exist without Loan entity? (Yes
or No)
Write the cardinality between User and Loan entities.
Write the name of an attribute (only one) which is a
Virtual University of Pakistan Spring 2025
candidate key, except primary key, in Bank Manager
entity.
In this ERD, which UML notation is used to show
relationship between entities?
Syllabus Covered: This assignment covers Lab 1 to Lab 3.
For any query about the assignment, contact at email
[email protected]