Uploaded by Tamia Gorata Masenya

Lab 2 Conceptual Modeling

advertisement
Department of Computer Science
CSI262 Lab 2
Conceptual Design Using the Entity-Relationship (ER) model
Aim: The aim of this lab is to get the students to practice conceptual design through
development of an ER diagram for a given scenario.
Instructions: Carry out a data analysis of the application described below and construct a
conceptual data model of the application in the form of an Entity-Relationship Diagram (ERD).
You might want to approach the task by first outlining all the entities, their attributes, and the
relationship types from the description below.
Note any additional assumptions that you make, and also note the integrity constraints you
cannot capture in the ER model.
Scenario:
The university admits students for both undergraduate and graduate programmes.
Undergraduate students are allocated a tutor while graduate students have a supervisor and
a work email address. Programmes offer courses for registration by students every semester.
Students register for up to 6 courses every semester. A course is registered for by zero or
more students. Some courses have prerequisites, which are other courses offered. Courses
are taught by lecturers.
The data that should be stored include:
➢ Courses – course code, title, credits, syllabus, and prerequisites;
➢ course offerings – course code, year, semester, timings (day and time) and
classrooms;
➢ students - student-id, full name, and programme;
➢ lecturers - identification number, full name, department and title.
Download