No Title
No Title
Coursework Weight: This coursework accounts for 50% of the overall module
grades.
1
PLAGIARISM
You are reminded that there exist regulations concerning plagiarism. Extracts from
these regulations are printed overleaf. Please sign below to say that you have read
and understand these extracts:
Extracts from University Regulations on Cheating, Plagiarism and Collusion Section
2.3: “The following broad types of offence can be identified and are provided as
indicative examples ….
Cheating: including taking unauthorised material into an examination; consulting
unauthorised material outside the examination hall during the examination; obtaining
an unseen examination paper in advance of the examination; copying from another
examinee; using an unauthorised calculator during the examination or storing
unauthorised material in the memory of a programmable calculator which is taken into
the examination; copying coursework.
2
This module is assessed by coursework (50%). For the coursework, the students are
required to develop a database for an organisation. The coursework / assignment
should cover all of the following, but should also not be limited only to these features /
functionalities:
● Creation of objects — Entities and Attributes,
● Creation of Relationship Types
● Identify and include constraints (Such as not null, unique, Supertype, Subtype,
etc.)
● Identify and include Primary Keys, Foreign keys and unique keys.
● Normalisation of the Relationships (3NF) with Explanation of the process with
reasoning.
● Draw 2 ER Diagram, for initial (before normalisation) and final (after
normalisation) with entities and relationships.
Case Study
Select any kind of transportation company of your choice, it can be national or
international like Uber, Pathao, Lyft and more. This company should enable its
customers to reserve a vehicle and driver for transportation in a manner akin to a taxi
and provide services that should include food delivery, package delivery and more.
Formulate its business activities, operations, and the business rules. Analyse the
scenario given below to design the database accordingly.
The proposed transportation company should be able to keep track of all its drivers
and customer list. The drivers can be full time or part time staff. The customers reward
points system allows the customers to earn points on their account when they use the
service. Every customer should get an invoice for each ride or the service used.
Some of business rules need to be followed by the drivers and customers are :
● A driver may drive many vehicles, but each vehicle and a service is used by
only one driver at a time.
● A driver writes a single invoice for each service he provides.
● Once the customer books the service they cannot cancel the service.
● Service ticket is issued once the customer books the vehicle and the service
and will include details like driver name, type of service, total charge, estimated
duration of the destination.
3
● The cost of the vehicle and duration can vary depending on its type. For
example the cost of riding the motorcycle service can be cheaper than riding
the car.
This coursework is about the design and implementation of a database for
transportation companies and should contain following details.
Marks are awarded for structure and formatting, providing query files and dump
files.
Part 1. Introduction
a. Introduction of the business, its forte, aims, and objectives.
b. Description of Current Business Activities and Operations and List of Business
Rules that derived from the description of Operational Procedures that will be
used in the system.
c. The rules and activities can be taken as assumption as they affect the structure
of the database schema.
Part 3. Normalisation
a. Normalise the data collected from Unnormalized form to Third Normal Form
with valid process description.
b. Produce a set of fully normalised tables for the system as described in the case
study.
c. Show clearly all the steps of normalisation. Demonstrate that each of your
relations is in third normal form (3NF) by displaying the functional dependencies
between attributes in each relation.
Part 4. Final ERD
4
A minimum of 5 Tables must be developed after the normalisation with proper
relationship and cardinality.
Part 5. Implementation
a. Create relations and tables for the database with the SQL Command and list
the image of its resulting output. Ensure that referential integrity is established
between related tables.
b. Populate them with appropriate test data that is relevant to the questions listed
below.
c. List the screenshots of the SQL Command used and the overall rows of the
table with an image of its resulting output.
d. Enter at least 7 rows in each table. Include the screenshot of the INSERT SQL
Statement used to populate table data, along with the TABLE's CONTENT
displayed using SELECT statements.
a. Show the total cost and the type of service of a particular customer in a year
that has used the service.
b. List the details of services that have been provided by a driver for the current
month whose first name starts with the letter ‘A’.
c. List the details of customers who have used only courier service and their
location of delivery.
d. List all the details of the top 3 highest earning drivers.
5
e. Display the rate of all vehicles for staff and normal customers on a particular
destination.
a. Submit all appropriate Oracle SQL scripts and screenshots of the resulting
image of the output.
b. Make sure each functionality/report is documented separately and clearly
mark each piece of output and state its purpose.
c. You are required to create and submit a dump file along with your coursework
file.
a. Critical Evaluation of module, its usage and relation with other subjects.
b. Critical Assessment of coursework.
Components Marks
1. Formatting and Introduction 5
2. Current Business Activities and Operations and Business Rules 10
3. Initial entities, attributes and ERD 5
4. Normalisation 20
5. Final ERD 15
6. Table creation and Implementation 5
7. Informational Queries 10
8. Transactional Queries 15
9. Database Queries and Dump file creation 5
10. Critical Evaluation 10