CM1603 Individual Coursework - Jan 24
CM1603 Individual Coursework - Jan 24
Deadline (time and date) 29th March 204 at 11.30 pm (LK time)
Area in CampusMoodle.
Submission
1. Database Report
2. SQL Script
Relational Database Management System (RDBMS). Specifically, you will be able to:
• analyse a given case study and identify the requirements to create a RDBMS.
• apply conceptual database design techniques to create an Enhanced Entity Relationship
Diagram (EERD) with suitable entities, relationships, attributes, and multiplicities.
• apply database modelling techniques to convert the Conceptual Data Model (EERD) into the
Logical Data Model (Relational Schema) with suitable integrity constraints.
• use MySQL with phpMyAdmin dashboard to implement and test a relational database using
Structured Query Language (SQL).
• write SQL queries to create and manipulate data in the relational database according to the
requirements and constraints of the given case study.
Outcomes:
1. Describe and evaluate underlying theory and principles of relational database management
system (RDBMS).
2. Analyse and apply database design and modelling methods for a given business case study.
3. Use SQL as a data definition and data manipulation language and to query a relational database.
4. Implement and test relational database using a query language with a suitable interface.
Please also refer to the Module Descriptor, available from the module Moodle study area.
Builders Citadel, a renowned construction company, is currently in the planning phase for the
introduction of an advanced online project management system with Artificial Intelligence
features. This initiative aims to extend the company's influence in the digital landscape by ensuring
quality project delivery and reliable services. The preliminary analysis highlights the following key
information to be captured in the database of the online project management system to optimise
operational efficiency.
Builders Citadel manages multiple construction or renovation projects across various locations.
Each project is sponsored by a customer who can be an individual or a company. Payments for
projects follow an instalment plan, and the database must record project details such as site
location, start date, estimated completion date, actual project completion date, project type
(whether construction or renovation), specific project requirements, current progress etc.
Additionally, the database must also maintain records of customer details and payment
information.
Moreover, the database should include the details about the staff at Builders Citadel, including
supervisors who oversee other employees. A given employee may or may not have an assigned
supervisor, and those in supervisor roles are entitled to additional privileges and allowances. The
allocation of staff to projects is based on their job roles. The system should record the duty
You have been hired by Builders Citadel as a Database Management Architect to undertake the
development of the database for the online project management system. Your primary objective
is to design a high-quality Conceptual Data Model and Logical Data Model for the specified
Relational Database Management System (RDBMS). Furthermore, you must develop the Physical
Data Model by writing suitable SQL queries using MySQL. An executive report should be provided
to justify your database design along with the underlying assumptions. Also, the report should
include the relevant SQL queries used to develop the database along with high-quality
screenshots as evidence.
Task(s) - Format
Your submission should include the following:
1) Database Report
2) SQL Script
Database Report
This should be a PDF that includes:
- a cover sheet that contains RGU and IIT Student ID, student name, module code and module
title.
- table of contents, list of figures, list of tables etc.
- section 1: Extended Entity Relationship Diagram (EERD)
- section 2: Relational Schema Diagram
- section 3: Table Creation and Population of data
- section 4: Data Manipulation with SQL
- reference list
Provide an accurate EERD with suitable entities, relationships, attributes, and multiplicity constraints
with suitable assumptions. You need to identify additional attributes for each entity.
Note that your diagram must include the given requirements, but you are allowed to add new
requirements as they do not alter the case study's scope.
The diagram needs to fit into a single page of the report while maintaining the clarity. Mention all the
relevant assumptions you have made.
Provide an accurate Relational Schema Diagram for the above EERD with all the relations, primary
keys, foreign keys, and other attributes. This needs to fit into one page of the report. Mention all the
appropriate assumptions you have made.
Provide the SQL queries used to implement the above relational schema in MySQL. Each table
should consist of appropriate table names, field names, data types, field sizes, and constraints
(if applicable). It is required to submit clear screenshots as evidence of all the SQL queries
used for table creation, as well as the specification of each column within the tables after their
creation in the database.
Provide the Database Diagram generated by the system by indicating all the tables, their
attributes, and relationships clearly.
Furthermore, insert at least 5 meaningful sample data into each table. Note that the sample
data in each table must satisfy the requirements given in Section 4. For each table created,
provide clear screenshot evidence displaying the entered sample data.
a) Display details of the projects located in Colombo and Kandy regions which were
completed within the last 6 months.
b) Display the project code, company name, estimated date of completion and the total
payments received from the ongoing renovation projects sponsored by company
customers.
SQL Script
It should be simple text document (eg: .txt) which includes all the SQL queries used to:
- create tables
- insert data
- data manipulation for section 4 (a & b)
Note that you need to copy and paste all the original SQL queries used to create the database
and manipulate data.
Also note that the marks will be deducted if the DB backup file is not submitted.
At least 50% of the subgrades to be at Grade A, at least 80% of the subgrades to be at Grade B
A
or better, and normally 100% of the subgrades to be at Grade C or better.
At least 50% of the subgrades to be at Grade B or better, at least 80% of the subgrades to be at
B
Grade C or better, and normally 100% of the subgrades to be at Grade D or better.
At least 50% of the subgrades to be at Grade C or better, and at least 80% of the subgrades to
C
be at Grade D or better.
At least 50% of the subgrades to be at Grade D or better, and at least 80% of the subgrades to
D
be at Grade E or better.
NS Non-submission.
*** Cannot award if the *** Cannot award if the SQL *** Cannot award if the
SQL Script file is not Script file is not submitted. SQL Script file is not
submitted submitted.
GRADE A B C D E F
DEFINITION / EXCELLENT COMMENDABLE/VERY GOOD GOOD SATISFACTORY BORDERLINE FAIL UNSATISFACTORY
CRITERIA Outstanding Meritorious Highly Competent Competent Fail
(WEIGHTING) Performance Performance Performance Performance
An excellent script of SQL A very good script of SQL A good script of SQL A reasonable script of SQL An approximately A semantically poor
Data codes with relevant codes with relevant conditions codes with conditions has codes has been produced reasonable script of SQL and/or inappropriate
Manipulation with conditions and comments has been produced to been produced to to generate the result-set. codes has been produced and/or incorrect and/or
SQL to has been produced to generate the correct result- generate the result-set. Reasonable screenshot but fails to generate the no script of SQL codes has
generate the correct set. All the screenshot Relevant screenshot evidence is included in result-set. Approximately been produced to
(Weight 1) result-set. All the evidence is included in the evidence is included in the report. Clarity, reasonable screenshot generate the correct
screenshot evidence is report. Clarity, formatting, the report. Clarity, formatting, and structure evidence is included in result-set. No screenshot
included in the report. and structure of the query formatting, and structure of the query result-set is the report. Clarity, evidence is included in the
Clarity, formatting, and result-set is very good. of the query result-set is reasonable. formatting, and structure report. Clarity, formatting,
structure of the query good. of the query result-set and structure of the query
result-set is excellent. needs to be improved. result-set is semantically
poor.
*** Cannot award if the *** Cannot award if the SQL *** Cannot award if the
SQL Script file is not Script file is not submitted SQL Script file is not
submitted submitted
An excellent knowledge A very good knowledge and A good knowledge and A reasonable knowledge An approximately A semantically poor
and awareness of the awareness of the theories and awareness of the theories and awareness of the reasonable knowledge knowledge and
theories and concepts concepts applied. Very good and concepts. Good theories and concepts. and awareness of the awareness of the theories
applied. Excellent justification for the use of justification for the use of Reasonable justification theories and concepts. and concepts. Very poor
justification for the use of appropriate methods and certain methods and for the use of certain Poor justification for the justification for the use of
appropriate methods and techniques. On-time techniques. On-time methods and techniques. use of certain methods certain methods and
Knowledge,
techniques. On-time participation. Very good participation. Good Late participation for the and techniques. Late techniques. Late
Awareness, and
participation. Excellent preparation for the preparation for the demonstration / less participation for the participation for the
Preparation for
preparation for the demonstration. demonstration. preparation for the demonstration / poor demonstration / very poor
the
demonstration. demonstration / failed to preparation for the preparation for the
demonstration
handle the issues during demonstration / failed to demonstration / failed to
the demonstrations. handle the issues during handle the issues during
(Weight 2)
the demonstrations. the demonstrations /
failed to execute any SQL
query.
GRADE A B C D E F
DEFINITION / EXCELLENT COMMENDABLE/VERY GOOD GOOD SATISFACTORY BORDERLINE FAIL UNSATISFACTORY
CRITERIA Outstanding Meritorious Highly Competent Competent Fail
(WEIGHTING) Performance Performance Performance Performance
Complete implementation Partial implementation of an Partial implementation of Reasonable attempt to Poor attempt to No attempt to implement
of an accurate SQL query accurate SQL query with few a SQL query with few implement a SQL query. implement a SQL query. a SQL query. Very poor
Ability to create
with relevant logics and relevant logics and conditions. logics and conditions. Query execution Query execution justification for
an error free DML
conditions. Accurate Partially accurate result-set Generates an incorrect / generates errors. Failed to generates errors. Failed to appropriate logics and
query for a given
result-set has been has been produced. Very irrelevant result-set. Good generate a result-set. generate a result-set. conditions.
requirement
produced. Excellent good justification for the justification for Reasonable justification Poor justification for
justification for the use of appropriate logics and appropriate logics and for appropriate logics and appropriate logics and
(Weight 2)
appropriate logics and conditions. conditions. conditions. conditions.
conditions.
Coursework received late, will be regarded as a non-submission (NS) and one of your assessment opportunities will be lost.
What else is important to my assessment?
What is the Assessment Word Limit Statement?
It is important that you adhere to the Word Limit specified above. The Assessment Word Limit
Statement can be found in Appendix 2 of the RGU Assessment Policy. It provides detail on the
purpose, setting and implementation of wordage limits; lists what is included and excluded from the
word count; and the penalty for exceeding the word count.
The table below lists the constituent parts which are included and excluded from the word limit of a
Coursework; more detail can be found in the full Assessment Word Limit Statement. Images will not
Excluded Included
Main Text e.g. Introduction, Literature Review,
Cover or Title Page Methodology, Results, Discussion, Analysis,
Conclusions, and Recommendations
Executive Summary (Reports) or Abstract Headings and subheadings
Figures
Appendices
Glossary
The grade for the submission will be reduced to the next lowest grade if:
• The word count of submitted work is above the specified word limit by more than 10%.
original, without acknowledgement of their source(s) at the point of their use in the student’s work. All
materials including text, data, diagrams or other illustrations used to support a piece of work, whether
from a printed publication or from electronic media, should be appropriately identified and
referenced and should not normally be copied directly unless as an acknowledged quotation. Text,
opinions or ideas translated into the words of the individual student should in all cases acknowledge
What is collusion?
“Collusion is defined as two or more people working together with the intention of deceiving another.
Within the academic environment this can occur when students work with others on an assignment,
• If you require an extension, you should complete and submit a Coursework Extension Form. This
• Your Module Coordinator, Course Leader and designated Personal Tutor can also provide
support.
important information about assessment and how it is conducted across the University.