You are on page 1of 7

Faculty of Computing, Engineering & Media (CEM)

Coursework Brief 2022/23

Module name: Information and Database Management


Systems
Module code: IMAT2914
Title of the Assessment: Database Management Design and
Implementation
This coursework item is: (delete as appropriate) Summative
This summative coursework will be marked Yes
anonymously: (delete as appropriate)
The learning outcomes that are assessed by this coursework are:
1. Evaluate and interpret a Relational Database Management System (RDBMS)
design.
2. Prepare a relational database design that reflects database design principles and
data modelling.
3. Produce a RDBMS solution that demonstrates the application of SQL to
dynamically manage data storage and retrieval.
This coursework is: (delete as appropriate) Individual

This coursework constitutes 100 % of the overall module mark.


Date Set: 4th November 2023
Date & Time Due (the deadline): 15/12/2022 at 12.00 noon
In accordance with the University Assessment and 12/1/2023
Feedback Policy, your marked coursework and feedback
will be available to you on:
You should normally receive feedback on your coursework no later than 15
University working days after the formal hand-in date, provided that you
have met the submission deadline
If for any reason this is not forthcoming by the due date your module leader will
let you know why and when it can be expected. The Associate Professor Student
Experience (CEMstudentexperience@dmu.ac.uk) should be informed of any
issues relating to the return of marked coursework and feedback.
When completed you are required to submit your coursework via:
1. Turnitin
2. If you need any support or advice on completing this coursework please visit the
Student Matters tab on the CEM Blackboard shell.
Late submission of coursework policy:
Late submissions will be processed in accordance with current University
regulations.
Please check the regulations carefully to determine what late submission
period is allowed for your programme.
Academic Offences and Bad Academic Practices:
Please ensure you read the section entitled “Academic Offences and Bad
Academic Practice” in the module handbook or the relevant sections in this link:
BaseCamp Link: Overview: Assessment and Good Academic Practices
Tasks to be undertaken: Please see the attached document

Deliverables to be submitted for assessment:

A written report as described in the assignment specification.

Module leader/tutor name: Chandrika Lakhani(ML), Hakeem Ibrahim


(Module Tutor)
Contact details: chandrika.lakhani@dmu.ac.uk,
hakeem.ibrahim@dmu.ac.uk

Should you need any further information or advice please email


cemadvicecentre@dmu.ac.uk

The Star Trek Games Rental Shop Scenario

This individual assignment is worth 100% of the module marks for IMAT2914
To be submitted by 15th December 2022 via Turnitin by 12pm

Analysis and Database Design of Star Trek Games Shop

Using the Business Description below:

1. Produce a top-down an Enhanced Entity-Relationship Diagram (Logical Data Model) for


the Star Trek Games Shop.
2. Create SQL tables from the EER Diagram and write SQL to answer the following queries:

 List all rentals between 1st October and 31st October in a given year.
 List all games for a WII
 List all games which have not been rented out for a year
 Search for a particular game – how many copies are there?

You will need to be creative about populating the tables with data which prove that the
queries work.

3. Refer to the sample data given below. Normalize separately the Stock Enquiry,
Membership & Rentals Enquiry, Reservations Enquiry, Rental History Data and Catalogue
Data showing all appropriate Normal Forms for each normalisation task. You may include
any additional attributes required for the new system that are not included in the
examples given. State any assumptions you make.

4. You will then create the corresponding tables and document all the integrity constraints
explaining the reason why they have been created. You need to present them in a tabular
form in the format of:

Table Name Constraint Name Type of Constraint Source Table Target Table
From then you need to:

1. Create SQL tables from step 3 and write SQL to answer the following queries:

i. List all Members including all their details


ii. List all Games
iii. List all Suppliers

Consider also:
 If there are any other (possible) entities, attributes or relationships for which you require
more information
 Any additional investigations you wish to carry out to validate your final model to support
the assumptions you have made

Business Description (Scenario) for the Coursework


You have been asked by the manager of the Star Trek Games rental shop to replace their existing
system for recording rentals. Information about the shop is provided below.

Note: the following information was collected during an investigation of the Star Trek Games
Rental Shop.

Star Trek Games Rental shop holds numerous games from a number of different developer
companies. Previously the shop kept records of the rentals using a system originally intended just
for PC games but this is no longer commercially supported. The manager of the shop wants to
replace the old system with a more efficient and useful one. The new system needs to deal with
games of different types such as Wii, Xbox, PlayStation, etc.
There are two ‘aspects’ (these are complementary sub-systems that make up the system)
required for the new system: the rentals and the catalogue. The rental aspect should keep track of
the shop’s membership and games rented to them. The catalogue aspect should hold product
details of the games including developers as well as any reviews and highlights.
The distribution companies which produce the games give their own unique catalogue
number to each different game. Some games are in sets containing more than one disk. Many of
the games are popular and there is often more than one copy of the same game held by the shop.
The number of copies depends on

popularity and demand. Every individual copy of a game is identified by a unique stock number,
which is allocated by the manager of the shop when the item comes into stock. A set of disks for one
game counts as a single stock item.

Anyone who wants to rent a game must first register their details to become a member. Each rental
is for a specified period agreed at the time of rental (up to a maximum of 2 weeks), after which it can
be renewed provided that there is no outstanding reservation for the same item. Normally a
maximum of 3 games can be rented at the same time by one member. The issuing, renewal and
return of games is carried out at the shop counter by a shop assistant.

The cost of each rental is based on a scale of daily rates. Very new games are usually charged at the
highest rate and there are a number of rates for other games. Renewals are charged at the same
daily rates as the initial loan. If a member wants to rent a game and all the copies are already on
loan, then they may make a reservation. If rentals are returned late then additional charges will be
made for the extra days at twice the normal daily rate for the item.
In order to ensure that additional copies are obtained for popular items, the manager wants to keep
track of the rental history of games and will require various reports on the rentals. For audit
purposes it will also be necessary to keep a record of each rental by a member after the game has
been returned.
The manager of the shop wants to provide members with access to an electronic catalogue of the
game collection via a terminal in the shop. This should allow a member to browse by genre, or to
look for a specific game, or to search in different ways such as by release date, age rating or category.
To make this into a useful resource the manager would like to hold brief product details as well as
reviews of games where appropriate. The catalogue may eventually be made available to borrowers
via the Internet but this is not part of the current requirements.
Sample Data
Some examples of the output for enquiries that can be made using the current system are provided
below. There are data requirements for the new system that are not included in the current system
such as records of rentals that have been returned and more information about the Games for the
catalogue. Suggestions for this data are provided but you should consider carefully if these are
adequate and make any further additions you find necessary. Explain any such additions.

Stock Enquiry Screen [Extracted from the old system]


Includes current rental Platform No. of discs copies held
(if there is one). Wii 1 2
Catalogue No.
01852GAME
Title Rating Rental Rate
Grand Theft Auto V 18 4
Copies & Current Rentals
Stock No. Supplier Date Cost Return Member ID Member
Acquired Due (Rental) Name
1956 Games 28/08/13 £16.50 12/12/09 45632 Kermit Frog
9513 Amazon 12/6/08 £11.30 11/12/09 51231 Bob Marley

Membership & Rentals Enquiry Screen [Extracted from the old system]
The current system does not handle charges and payments for rentals.

Member ID No. 45632 Address Tel. No. 01752 633212


10 New St.
Surname Frog Crownhill Email gt91jones@hotmail.com
Forenames Kermit Plymouth Date of Birth (if under 18)
PL1 6TY 28/06/1985
Max. No. concurrent rentals 4

Current Rentals
Issue Return N of
o.
Stock Platform Cat. No. Title No. of Notes
date due renew No. discs
als
Marvel Lego Box
1/09/13 15/09/13 1 3124 Wii SP004 1
heroes damaged
Jewel Link –
5/09/13 12/09/13 0 3642 3DS 7952262 4
Arctic Quest
01852GAM Angry Birds
5/09/13 12/09/13 0 1956 Playstation 1
E Trilogy
Reservation Enquiry Screen [Extracted from the old system]
Includes copies held and current rentals.

Catalogue No. Platform Title


CDR42094 Wii LEGO Marvel Super Heroes

Reservations
Member ID Member Name Requested Date Issued
51456 Drummer Animal 6/10/13 8/10/13
55347 Great Gonzo 10/10/13

Copies Held & Current Rentals


Stock No. Return Due Member ID Member Name

6623 15/12/13 51456 Drummer Animal


7010 11/12/13 51231 Cookie Monster

Rental History Data


No records of completed rentals exist in the current system. This should be included in the new
system. The data required by the shop manager for each completed rental is as follows:

Stock No.
Catalogue No.
Platform
Title/Short Description
Member (Borrower) ID
Member Name
Date issued
Date due – [date game should have been returned]
Date returned – [date game was actually returned]
Overdue (yes or no) – [indicates if game was late being returned]
Total rental charges paid – [requires charges for current rentals to be recoded]

Catalogue Data – [available for borrowers (as well as staff) to search]


This is not included in the current system but the new system should provide some details about
contents of the games. The following suggestions for the required information were made by the
Shop Manager but you should decide what needs to be included. You may include other
attributes not listed below.

Platform, Catalogue No. and Title


Number of disks
Synopsis and Review(s?)
Category, Genre, Age Rating, Release Date
Screenshots
User Rating

*Further examples of the information that could be held for each game can be found by visiting
suitable web sites selling or renting games.

Submitting your work


Your report should have the following Sections:

1. EER Diagram (20 marks)


2. Business Rules (5 marks)
3. Assumption made about the scenario (5 marks)
4. A complete listing of all tables. This should have the SQL for table creation (10 marks)
5. A table listing all the constraints (5 marks)
6. A listing of the contents of all the tables. (5 marks)
7. SQL Queries from on the tables from 2. (10 marks)
8. The normalisation process in the form of a table. (20 marks)
9. The SQL for all the queries from the normalised tables and the results (10)
10. A Reflection on your learning – this should correspond to the weekly journals. (10 marks)

To be submitted online via Turnitin. Please keep a copy of your work.

Academic offences
As with any piece of coursework, there may be a temptation to take ‘short cuts’, especially if the
topic is new, unfamiliar or difficult. Copying the work of another, or allowing someone to copy your
work is an academic offence. The temptation is particularly strong if the work is individual.
Remember that if you are having problems with any piece of academic work (whether assessed or
not) you should always consult your module tutor first. Please check out the regulations on
Examination and Assessment Offences at DMU.

You might also like