Uploaded by ShaarA DEE

Assignment Batch 10.docx

advertisement
Assignment Brief (RQF)
Assignment Brief (RQF)
Higher National Certificate/Diploma in
Student Name/ID Number:
S.M.Kavinda Hesanka Samarakoon
Unit Number and Title:
Unit: 4 Database Design & Development
Academic Year:
2021/2023
Unit Assessor:
Ms.Sachini Gunasekara
Assignment Title:
Portfolio
Issue Date:
31/10/2021
Submission Date:
31/12/2021
Internal Verifier Name:
Mrs.Maduwanthi Uthpala
Date:
22/10/2021
Submission Format:
The submission is in the form of an individual written report. This should be
written in a concise, formal business style using single spacing and font size 12.
You are required to make use of headings, paragraphs and subsections as
appropriate and all work must be supported with research and referenced using
the Harvard referencing system. Please also provide a bibliography using the
Harvard referencing system.
Unit Learning Outcomes:
LO1 Use an appropriate design tool to design a relational database system for a
substantial problem.
LO2 Develop a fully functional relational database syetm, based on an existing
system design.
LO3 Test the system against user and system requirements.
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
1
Assignment Brief (RQF)
Scenario
Topic - BEST BUILDER LTD. Provides building services, new builds, extensions, roof
conversions, kitchens, and bathrooms, etc.
You have been provided with a topic. You are to supply a report containing the
following deliverables: Q1. Analyze the business you are devising the database system for. Describe the
business rules, and data involved. Explain why the data is important to the
information system being developed. Related to your specific topic, discuss the
legal and ethical issues involved in managing your data. (P1,M1,D1)
Q2. Using the Oracle Data Modeler Tool DRAW AN ERD DESIGN: AT LEAST 4 OR 5
entities ARE EXPECTED. Include attributes, cardinalities and relationship names.
Ensure the diagram is readable. (P1,M1,D1)
Q3. List the Relational Table Headings. Show clearly any primary keys (underlined)
and foreign keys (shown with an *, or in italics). Your tables must match your ERD,
otherwise 0 marks. Select suitable primary keys for every table. (P1,M1,D1)
Q4. Use MySQL or SQL server and Create your database (ensure you save your
CREATE TABLE statement). Highlight any additional constraints added. Ensure AT
LEAST ONE table has a COMPOSITE PRIMARY KEY. The primary and foreign keys
should be added at the same time as your CREATE TABLE statement, i.e., do not
use ALTER TABLE to add them after. (P2,M2,D2)
0 marks if you use any other DBMS or auto-generated DDL code.
Q5. Populate all the tables with data (having 8 or more rows per table). Show all
rows, (use SELECT * from <tablename>;) of data in every table created.
Good/suitable TEST DATA created. Note, the tables at the many end of a
relationship should contain more data.
(P3,M3,D3)
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
2
Assignment Brief (RQF)
SQL & QUERIES:
Devise 6 SQL queries that demonstrate appropriate use of the following:
Q6. Use of the BETWEEN logical operator;
Q7. AN example of DISTINCT within your query
Q8. TO_CHAR function;
Q9. An aggregate function in the SELECT list
Q10. A GROUP BY command
Q11. A SUBQUERY;
At least one of the above queries should include data from more than one table
and a different query should demonstrate the use of an OUTER JOIN. (P3,M3,D3)
Include the following for each query:
-
A short sentence saying what the query is doing
-
SQL Query
-
Result
Q12. Devise a DELETE command that tests the foreign keys (testing of the
referential integrity of the PK-FK relationship). Explain any error message.
Q13. Use an UPDATE command to test the foreign keys. Explain what the error
message means.
Q14. Use an INSERT command to test the primary key (test the entity integrity),
explain what the error message means.
(Include the query and comment on any results. Show at least 2 queries for each
part (l-n): one that works successfully and one that does not.) (P3,M3,D3)
The report should be put together professionally, that is, include a contents page,
each section correctly labeled. Ensure all the diagrams and results are
presentable and in a readable format. If you cannot read it, neither can the
lecturer marking your work! See your workshop tutor at workshop sessions for
further guidance.
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
3
Assignment Brief (RQF)
Learning Outcomes and Assessment Criteria
Pass
Merit
Distinction
LO1 Use an appropriate design tool to design a relational database system for a
substantial problem
P1 Design a relational
database system using
appropriate design tools and
techniques, containing at
least four interrelated tables,
with a clear statement of
user and system
requirements.
M1 Produce a
comprehensive design for a
fully functional system that
includes interface and
output designs, data
validations and data
normalization.
D1 Assess the
effectiveness of the design
in relation to user and
system requirements.
LO2 Develop a fully functional relational database system, based on an existing system
design
P2 Develop the database
system with evidence of user
interface output and data
validations and querying
across multiple tables.
M2 Implement a fully
functional database system
that includes system
security and database
maintenance.
P3 Implement a query
language into the relational
database system
M3.Assess whether
meaningful data has been
extracted through the use of
query tools to produce
appropriate management
information
D2 Evaluate the
effectiveness of the
database solution in
relation to user and system
requirements and suggest
improvements.
LO3 Test the systems against user and system requirements.
P3 Test the systems against
user and system
M3 Assess the effectiveness
of the testing. Including an
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
4
D3 Evaluate the
effectiveness of the
Assignment Brief (RQF)
requirements.
explanation of the choice of
the test data used.
Assignment Feedback
Formative Feedback: Assessor to Student
Action Plan
Summative feedback
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
5
database solution in
relation to user and system
requirements and suggest
improvements.
Assignment Brief (RQF)
Feedback: Student to Assessor
Assessor Signature
Student Signature
Date
Kavinda
Date
End Of the Assignment
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
6
26/12/2021
Assignment Brief (RQF)
STUDENT ASSESSMENT SUBMISSION AND DECLARATION
When submitting evidence for assessment, each student must sign a declaration confirming that the
work is their own.
Student name:
Assessor name:
Kavinda Hesanka Samarakoon
Sachini Vindya
Issue date:
Submission date:
Submitted on:
31/10/2021
31/12/2021
12/30/2021
Programme:
BTEC HND in Computing
Unit:
4 - Database Design & Development
Assignment number and title:
Portfolio
Plagiarism
Plagiarism is a particular form of cheating. Plagiarism must be avoided at all costs and students who break
the rules, however innocently, may be penalised. It is your responsibility to ensure that you understand
correct referencing practices. As a university level student, you are expected to use appropriate references
throughout and keep carefully detailed notes of all your sources of materials for material you have used in
your work, including any material downloaded from the Internet. Please consult the relevant unit lecturer or
your course tutor if you need any further advice.
Student Declaration
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the
consequences of plagiarism. I understand that making a false declaration is a form of
malpractice.
Student signature: Kavinda
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Date:2021.12.30
Approved by: HEQ, QDAM (HE)
7
Assignment Brief (RQF)
Q1.
Best Builders Ltd is a construction company specializing in building services, new construction,
extensions, roof conversions, kitchens and bathrooms. The Company maintains essential data
records such as customer details, employee details, purchasing information, information about the
company's raw material stores, services provided and sales details. These are stored in separate
ledgers as soft copies so that they do not overlap. These databases are not interconnected, making it
difficult to update and delete them, and errors can occur while attempting to do so. In this case, the
company's management also had a problem with the security of the data due to the redundancy of
the data in the same database, which could have been compromised and accessed by any employee.
Due to this, the management of the company has decided to implement a database system to avoid
these problems.
Here we need to understand the rules of the business and the responsibilities that come with it, as
well as identify the management needs of Best Builders Ltd. There the database development team
needs to discuss with the company management and employees to identify the needs of the database
system. We also have to conduct ground level observations on the procedures to be followed in
running the business and recording the required data. Accordingly, there will be an opportunity to
discuss production costs and budget with management. Here we can propose the duration of the
project at each of the major milestones, thereby providing a better understanding of the current
situation and providing updates to the management of the company.
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
8
Assignment Brief (RQF)
ERD of Best Builders LTD
Figure 1 - ERD of Best Builder LTD
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
9
Assignment Brief (RQF)
Relational Schema of Best Builder LTD
Company ( Com_ID, Com_Name, Address,
Customer_Customer_ID, Project_Project_ID )
Employee_Emp_ID,
Project ( Project_ID, Project_Name, Location, Project_Duration )
Services ( Services_ID, Service_Name, Cutomer_ID, Issue_Date )
Customer ( Customer_ID, Customer_Name, Customer_Address, Phone )
Employee ( Emp_ID, Emp_Name, Emp_Address, Emp_Phone )
Take ( Service_service_ID, Customer_Customer_ID )
Works_On ( Employee_Emp_ID, Project_Project_ID )
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
10
Servise_Service_ID,
Assignment Brief (RQF)
Create Data Base
Prepared by: Higher Education Qualifications (HEQ)
Version 1.0 – November 2017
DCL 1 – Public (Unclassified)
Approved by: HEQ, QDAM (HE)
11
Download