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

Database Deign UG - G Assignment 1 Semester 1 2021

Uploaded by

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

Database Deign UG - G Assignment 1 Semester 1 2021

Uploaded by

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

Semester 1, 2021

Semester 2, 2019
Database Design 5915 and Database Design G 6672
Assignment 1
This assignment is worth 30 marks constituting 15% of the total marks for this unit.
Due date: Friday Week 7 of Semester 1, 2021 at 11:55pm

1. General Information
The purpose of this assignment is to provide you with experience in analysing and designing a
database for a given problem. It will help you to understand the nature and purpose of database
analysis and design.

This assignment is an individual assignment. There are no restrictions on the use of word
processors or similar tools to produce submissions for this assignment.

Be sure to maintain regular back-ups for any models or material prepared with the aid of
software. Loss of files will not be accepted as an excuse for non-completion of this assignment.

Submit your assignment to the Canvas website of this subject. Marked assignments will be
available from Canvas website of this subject.

2. Problem Description
Smart Driving School (SDS) was established recently. SDS has five branches in Canberra. SDS
requires your team to design a database system to enable more smooth operation of the centre.
The details of the branches of SDS are:

Branch name Address


SDS Dickson 150 Camilla Way, Dickson, 2662, ACT
SDS Page 12 Page St, Page, 2614, Page, ACT
SDS Franklin 12 Franklin St, Franklin, 2912, Franklin, ACT
SDS City 12 Bunda St, 2601, City, ACT
SDS Bruce 12 Norman Fisher Crt, 2617, Bruce, ACT

SDS database will record and store the data about each of its clients and instructors including
their first and last name, postal address and home address (street number, street name, suburb,
post-code, city), sex and type of driving classes a client is enrolled in. The name (first and last
name), contact telephone number and address (street number, street name, suburb, post-code,
city) of client’s next-of-kin is also stored in database.

SDS offers several types of driving classes. Driving classes are managed under course
development section of SDS. There exist several types of driving classes. These are namely
Class A (Trucks), Class B (Mini Trucks) and Class C (normal passenger vehicles). A client can
be enrolled in up to two different classes at any time. Each class type has different fees. SDS
database will record and store the data about each of its classes.

Clients need to book for each class up to two weeks beforehand. The timetable and availability
of each instructor is provided on SDS website.

When a client enrols at SDS he or she is assigned a client number and his/her details are
recorded. Every client is provided with a client number and an ID-card as well as the rules of
SDS and charges. Each class type has its own terms and conditions. A client can use his/her
client number to book a class (using the online booking facilities).

1
Semester 1, 2021

SDS has several staff members in each branch. For each staff member the following data is
stored in the database system: staff first and last name, staff number, position, sex, date of birth,
name of the section and branch number he/she works in as well as each staff internal telephone
number. Each branch has a manager. Detail of each manager for each branch is also stored in
SDS database.

SDS has also several instructors in each branch. For each instructor the following data is stored
in the SDS database system: staff first and last name, instructor number, position, sex, date of
birth, type of driving classes that an instructor can teach (i.e. Class A, B or C), internal
telephone number and branch number.

SDS consists of four sections. These sections are: instructor section, information and course
development section, assessment and enrolment section, administration section. The
information about each section is stored in the SDS database. The information about each
section includes the section name, location, telephone and fax number. SDS clients can browse
the SDS website to find out the details of all classes available for each week.

Instructors belong to the instructor section. Each instructor is limited to teach a maximum of
two types of classes at any day. The instructor’s identity is established with their ID number and
ID-card and it is used to retrieve the details of the classes that they teach. The details of each
class (class number, Instructor ID number, date and time, details of the clients for each
instructor) are stored in the SDS database. If a staff, instructor or a client loses his/her ID-card,
he/she then contacts the SDS at the following telephone number: 1800800800. The staff at
administration section once notified will deactivate the lost ID-card and a new ID-card is issued
later. Issue of a new ID-card may take up to 24 hours. When a new card is issued the details of
the staff in administration section that issued the card is recorded in SDS.

The details of all lost card stored in SDS database is: first name and last name of staff who
issued the new ID-card, date and time that the card was issued and staff first and last name of
the staff that has lost his/her card.

When a client is enrolled in a driving class, then the client should make a payment for his/her
classes before he/she can take that class. The amount of payment depends on the type of class.
The payment can be performed via the SDS website using a credit card. After each class, the
instructor records the progress made by the client and notes the mileage of the car used for the
driving class before and after the class.

Vehicle details used for each class and their millage is stored in SDS database. These details
are: vehicle number, registration number, type, make and mode of vehicle, class number, client
and instructor first and last name. SDS has a pool of cars and trucks that are adapted for
teaching.

All payment details made by all clients for each class enrolment is stored in SDS database. The
details of payments stored are: payment number, client first and last name, date of payment,
amount paid, class number, class date, class time, instructor number.

For each payment made by a client a receipt is issued to the client. Receipt details are, client
first and last name, receipt number, date of payment, amount paid, payment number. Receipt
details are stored in SDS database.

SDS website also provides a class timetable and instructor availability facilities where a client
can check the availability of a certain class with the details of the instructor teaching the class.
The timetable of classes is stored in SDS database.

2
Semester 1, 2021

SDS timetable of classes is:

Monday Tuesday Wednesday Thursday Friday Saturday


9:00– 9:00– 9:00–10:00am 9:00–10:00am 9:00– 9:00–10:00am
10:00am 10:00am Class A, Class B, 10:00am Class B,
Class A, Class B, Instructor: Instructor: Class A, Instructor: Mary
Instructor: Instructor: Mary Douglas Mary Douglas Instructor: Douglas
Mary Mary Mary
Douglas Douglas Douglas
10:00– 10:00– 10:00– 10:00–11:00am 10:00– 10:00–11:00am
11:00am 11:00am 11:00am Class B, 11:00am Class B,
Class B, Class B, Class B, Instructor: John Class B, Instructor: John
Instructor: Instructor: Instructor: Bossy Instructor: Bossy
John Bossy John Bossy John Bossy John Bossy
1:00- 1:00-2:.00pm 1:00-2:.00pm 1:00-2:.00pm 1:00-2:.00pm 1:00-2:.00pm
2:.00pm Class B Class C Class B Class C Class B
Class C Instructor: Instructor: Instructor: Jane Instructor: Instructor: Jane
Instructor: Jane Pontiac Jane Pontiac Pontiac Jane Pontiac Pontiac
Jane
Pontiac
3:00- 3:00-4:00pm 3:00-4:00pm 3:00-4:00pm 3:00-4:00pm 3:00-4:00pm
4:00pm Class B Class B Class A Class B Class A
Class A Instructor: Instructor: Instructor: Instructor: Instructor: Allen
Instructor: Allen Peace Allen Peace Allen Peace Allen Peace Peace
Allen Peace
5:00- 5:00-6:00pm 5:00-6:00pm 5:00-6:00pm 5:00-6:00pm 5:00-6:00pm
6:00pm Class C Class B Class C Class C Class B
Class B Instructor: Instructor: Instructor: Instructor: Instructor:
Instructor: Charlie Charlie Marek Charlie Marek Charlie Charlie Marek
Charlie Marek Marek
Marek

Class timetable details are stored in SDS database. SDS keeps track of maintenance schedules
for each of their vehicles. SDS asks their instructors to record their name and mileage of the
vehicle they used for each class at the end of each class. Each vehicle is serviced every 5000
kilometres or every three months. The details of all vehicles and their service history are
recorded. These details are available to all staff from administration section only. The vehicle
service detail stored in SDS database is: Vehicle number, date of service, type of service and the
details of the vehicle dealership in which each vehicle is serviced.

In addition, SDS keeps information about each of the vehicle (i.e. service history of each
vehicle and the amounts money paid for services and repair description for taxation purposes).
To service vehicles, SDS has a service agreement with three local vehicle dealership who
provide servicing of all vehicles at a very competitive rate.

SDS details stored about local car dealership that they work with are stored in SDS database.
These details are: car dealer name, dealer address, telephone number, email address.

The details of petrol stations that provide petrol to SDS are store in SDS database. These details
are: petrol station name, address, telephone number, email address. SDS provides their
instructors with industry related courses. Up to three courses are provided for each instructor

3
Semester 1, 2021

every six months. Each instructor is required to attend all courses. The details of all courses
attended by each instructor is stored in SDS database. These details are: instructor first and last
name, course name, course number and date of course attendance by each instructor for each
course. For each course the course name, course number, course duration and the date the
course is offered is recorded in SDS database.

Instructors are required to sit for instructor examination every three years to renew their
instructor driving licence. Details of instructor licence examinations are recorded in SDS
database. These details are: instructor first and last name, instructor number, driving
examination date and the result of examination (pass or fail). SDS has two seminar rooms. SDS
clients can book seminar rooms. Details of SDS customers that book seminar rooms are stored
in SDS database. These details are: customer number, customer first and last name, seminar
room number and date and time for which a seminar room is booked.

Details of staff that book a seminar room for a customer is also recorded in SDS database.
These details are: staff number, staff first and last name, position of staff, date and time for
which a seminar room is booked. Hiring of seminar rooms costs $130 per day for customers.
Customers need to make a payment for any seminar room that they book. Details of all seminar
booking, and payments are stored in SDS database.

3. Requirement:
For the scenario in the problem above:
(a) Identify entity types and their attributes, including the primary keys (in third normal form).
(20 Marks)

(b) Compile an E-R diagram for the above scenario based on your solution part (a) above.
(State all assumptions that you have made) (10 Marks)

Note: If you make any assumptions, they should be explained clearly. Submit the list of your
entities and attributes including primary keys of your solution (in a Word document) with its
E-R diagram and all assumptions to canvas site of Database Design (5915)/Database Design G
(6672) on the due date specified above.

Please note that list of entities should be in the following format:


NextOfKin (NextOfKinNo, firstName, lastName, contactTelNo, streetNo, streetName,
suburb, post-code, city)

You can use the assignment coversheet available in Canvas or the first page of your
assignment must include the information as follows:
Student Name and Student IDs:
Tutor name:
Tutorial day and time:

Please follow with note request, otherwise you will lost your marks.

You might also like