0% found this document useful (0 votes)
72 views4 pages

Information Technology: Sample Assignment 1B Database Design and Normalisation

This 3 sentence summary provides the key information from the document: The document provides a sample assignment on database design and normalization that includes an entity relationship diagram (ERD) modeling course data with entities for program managers, courses, subjects, lecturers, and students. It asks students to convert the ERD into preliminary relational tables by listing each table with its primary key underlined and foreign keys marked with asterisks to represent the relationships between entities. The tables are to include ProgramManager, Course, Subject, Lecturer, Student, and a joining table StudentSubjects to resolve the many-to-many relationship between students and subjects.

Uploaded by

sherin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views4 pages

Information Technology: Sample Assignment 1B Database Design and Normalisation

This 3 sentence summary provides the key information from the document: The document provides a sample assignment on database design and normalization that includes an entity relationship diagram (ERD) modeling course data with entities for program managers, courses, subjects, lecturers, and students. It asks students to convert the ERD into preliminary relational tables by listing each table with its primary key underlined and foreign keys marked with asterisks to represent the relationships between entities. The tables are to include ProgramManager, Course, Subject, Lecturer, Student, and a joining table StudentSubjects to resolve the many-to-many relationship between students and subjects.

Uploaded by

sherin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Sample Assignment 1B

Database Design and Normalisation

Information Technology
Database Fundamentals

Beware – this is not the solution for your assignment.

This sample is provided so you can gain an understanding of what


output is required for each question.

Your assignment will have a very different solution. You will need to
use the modelling techniques we have learnt in class to resolve it.
There may be more than one solution.
Case Study

The business rules shown below identify how a university captures their Course Data.

Each course has only one program manager. A program manager may oversee many
courses.
A Course has at least one subject, but normally many subjects. Each subject may be part
of one course or no courses.
A student may be enrolled in one subject or many subjects. A subject may have no
students enrolled in it (in the holiday period) or may have many students enrolled in it.
Each lecturer may work on many subjects, but a subject can only have one lecturer.

Attribute Name Attribute Description


CourseID Unique ID given to the course
CourseName Course Name
LecturerFaculty Faculty the lecturer works in
LecturerID Unique ID given to a lecturer
LecturerName Lecturers name
ProgramManagerID Unique ID give to the Program Manager
ProgramManName Program Managers Name
StudentAddress Address of the Student
StudentID Unique ID given to a student
StudentName Name of the Student
SubjectAbbrev Abreviation of the Subject name
SubjectID Unique ID given to the subject
SubjectName Name of subject
1. Entity Relationship Diagram:

Identify the entities in the above report and information.


ProgramManager, Course, Subject, Lecturer, Student

Using these entities produce an ERD reflecting all the data shown in the report
using crow’s foot notation. Create any additional primary keys you require. Your
conceptual data model will be marked according to your ability to identify
appropriate entities & attributes, to show all relationships and their names, modality
and cardinalities, and to structure a data model using these elements.

Lecturer
LecturerID
ProgramManager
Taught by
ProgManagerID
LecturerName
No Foreign keys
LecturerFaculty
ProgManName Subject on ERDs
SubjectID

SubjectName
Manages
SubjectNumber
Course
CourseID Student
StudentID
Made up of Enrolled in
CourseName
StudentName

StudentAddress
Logical design and the Relational Model:

2. Convert ERD to preliminary Relational Model:

Convert your ERD (conceptual schema) into a set of relational tables. Use the
following format to list each table, where the primary keys are underlined and the
foreign keys are marked with asterisk(s):

TableName (Identifier, attributes) or


TableName (Identifier, attributes, ForeignKey*)

Ensure all relationships from the ERD are kept in your relational model. Your
relational model will be marked according to your correct application of the
appropriate conversion rules.

ProgramManager (ProgManagerID, ProgManName)


Course (CourseID, CourseName, ProgManagerID*)
Subject (SubjectID, SubjectName, SubjectNumber, CourseID*, LecturerID*)
Lecturer (LecturerID, LecturerName, LecturerFaculty)
- StudentSubjects is the resolution of many to many binary relationship between
student and subjects relations.
StudentSubjects (StudentID, StubjectID)
Student (StudentID, StudentName, StudentAddress)

Ensure all relations are connected.

You might also like