Assignment Brief BTEC Level 4-5 HNC/HND Diploma (QCF) : To Be Filled by The Student
Assignment Brief BTEC Level 4-5 HNC/HND Diploma (QCF) : To Be Filled by The Student
Assignment Brief BTEC Level 4-5 HNC/HND Diploma (QCF) : To Be Filled by The Student
Unit Code & Title : H/601/1991 - Unit 33 - Data Analysis and Design
A Cover page or title page – You should always attach a title page to your assignment. Use previous page
as your cover sheet and be sure to fill the details correctly.
1. This entire brief should be attached in first before you start answering.
2. All the assignments should prepare using word processing software.
3. All the assignments should print in A4 sized paper, and make sure to only use one side printing.
4. Allow 1” margin on each side of the paper. But on the left side you will need to leave room for
binging.
5. Ensure that your assignment is stapled or secured together in a binder of some sort and attach the
Softcopy (CD) of your final document, system on last page.
Important Points:
1. Check carefully the hand in date and the instructions given with the assignment. Late submissions
will not be accepted.
2. Ensure that you give yourself enough time to complete the assignment by the due date.
3. Don’t leave things such as printing to the last minute – excuses of this nature will not be accepted
for failure to hand in the work on time.
4. You must take responsibility for managing your own time effectively.
5. If you are unable to hand in your assignment on time and have valid reasons such as illness, you
may apply (in writing) for an extension.
6. Failure to achieve at least a PASS grade will result in a REFERRAL grade being given.
Stafford University is a large institution which provides education to vast number of students. The
University consists of a number of faculties, such as the Art Faculty, the Science Faculty, and so on. Each
faculty has a name, dean and building. Each faculty offers different programs and each program can be
offered by only one faculty. Each program has a unique code, title, level and duration. Some programs
may have one or more prerequisite courses and one course can be the prerequisite course of some other
courses.
Students work on courses and are awarded a grade in any course if he/she passes the course. Otherwise
the student has to re-take the failed course. The system needs to record the year and term in which the
course was taken and the grade awarded to the student. Every student has a unique ID. The system also
keeps the student name, birthday and the year he/she enrolled in the course.
The school employs lecturers to teach the students. Each lecturer is assigned an ID which is unique across
the whole university. The system keeps the lecturer’s name, title and the office room. A supervisor maybe
in charge of several lecturers, but a lecturer, however reports to only one supervisor. A lecturer can teach
many different courses. A course may also have been taught by many different lecturers.
The university is operated by committees. Each faculty has to have a number of committees with the
same titles across the university, such as the Faculty Executive, the Post Graduate Studies Committee, the
Health and Sanity Committee, and so on. A committee’s members are all lecturers. A lecturer may be a
member of several committees.
1.1 Critically compare different data models such as Hierarchical, Network, and Relational and justify
which data model best fits the scenario (AC 1.1) (D 1.1)
1.2 Prepare a power point presentation to critically discuss the benefits and limitations of different
database technologies such as distributed database, data warehouse, Data mining, Multimedia database.
(AC 1.2)
1.3 Analyse different approaches such as Top down and Bottom up which can be used to design a
database and justify how these approaches relate to database design (AC 1.3)
2.1 Identify entities and attributes of the given scenario and draw an ER diagram by showing different
attribute types and cardinality constraints
2.2 Translate the ER diagram into relational schemas by showing the relation with each through primary
keys and foreign keys (AC 2.1)
2.3 Design a relational database system according to the ER diagram you have created (Use SQL DDL
statements) (AC 2.2)
2.4 Provide evidence of the use of a suitable IDE to create a simple interface to insert, update and delete
data in the database (AC 2.3)
3.1 Explain the benefits of different manipulation and query tools which can be used to design the
relational database system (AC 3.1)
3.2 Perform following SQL queries using the tables you have created and provide the output gained
(AC 3.2) (M 1.2)
Display the details of students who have awarded by a grade with particular lecturer’s ID and the
lecturer’s name using Join queries
Delete all the details of the students who have not achieved a PASS grade
3.3 Critically evaluate how different query tools can be used to obtain meaningful data with its unique
functionalities (AC 3.3)
4.1 Provide a suitable test plan to support the documentation of the testing process (AC 4.2)
4.2 Provide relevant test cases for the database you have implemented (AC 4.1) (D 3.2)
(Note: Learner needs to give expected results in a tabular format and screenshots of the actual results with
the conclusion)
4.3 Create user documentation for a developed relational database system with the help of help menus,
pop ups (AC 4.3)
4.4 Provide evidences on how to address verification and validation (AC 4.4)
4.5 explain how control mechanisms have been used and the importance of these mechanisms for the
security of the database (AC 4.5)
Comments:
Context – This presentation assessment criteria sheet makes provision for the assessment of student
engagement with the group and the handling of questions. The different features of the assessment criteria
can be adjusted and given different weightings in the overall grid as required
Best Features-
Suggestions to improve-
Assessor- Date-
IV- Date-
1.2 critically discuss the benefits and limitations of different database Task 1.2
technologies
1.3 analyse different approaches to database design Task 1.3
2.2 build a relational database system based on a prepared design Task 2.3
2.3 apply a range of database tools and techniques to enhance the user Task 2.4
interface
LO3 -Be able to use manipulation and querying tools
3.1 explain the benefits of using manipulation and query tools in a relational Task 3.1
database system
3.2 implement a query language into the relational database system Task 3.2
3.3 critically evaluate how meaningful data has been extracted through the Task 3.3
use of query tools
4.3 create user documentation for a developed relational database system Task 4.2
4.4 explain how verification and validation have been addressed Task 4.3
4.5 explain how control mechanisms have been used. Task 4.4
D2 Take responsibility for managing and organizing Provide a Gantt chart in the
activities Appendix section and submit the
assignment on time
D2.3 Activities have been managed
Table of Contents
Acknowledgement...........................................................................................................................16
Summary.........................................................................................................................................17
1.1 Critically compare different data models such as Hierarchical, Network, and Relational and justify which data model best fits the scenario 18
1.2 Prepare a power point presentation to critically discuss the benefits and limitations of different database technologies such as distributed database, data
warehouse, Data mining, Multimedia database...........................................................................20
1.3 Analyse different approaches such as Top down and Bottom up which can be used to design a database and justify how these approaches relate to
database design............................................................................................................................24
1.3.9 Prototyping.....................................................................................................................28
1.3.10 Implementation.............................................................................................................28
1.3.12 Testing..........................................................................................................................28
2.1 Identify entities and attributes of the given scenario and draw an ER diagram by showing different attribute types and cardinality constraints 29
2.2 Translate the ER diagram into relational schemas by showing the relation with each through primary keys and foreign keys 30
2.3 Design a relational database system according to the ER diagram you have created (Use SQL DDL statements) 31
2.4 Provide evidence of the use of a suitable IDE to create a simple interface to insert, update and delete data in the database 33
3.1 Explain the benefits of different manipulation and query tools which can be used to design the relational database system 40
3.2 Perform following SQL queries using the tables you have created and provide the output gained 41
3.3 Critically evaluate how different query tools can be used to obtain meaningful data with its unique functionalities 43
4.1 Provide a suitable test plan to support the documentation of the testing process...................44
4.2 Provide relevant test cases for the database you have implemented......................................49
4.3 Create user documentation for a developed relational database system with the help of help menus, pop ups 51
4.5 explain how control mechanisms have been used and the importance of these mechanisms for the security of the database 57
Gantt chart.......................................................................................................................................58
Self-criticism...................................................................................................................................59
References.......................................................................................................................................60
Indexes............................................................................................................................................61
Glossary..........................................................................................................................................62
Table of Figures
List of Tables
It is of greatest and extreme gratitude and with the help and guideline of one person, our wonderful lecturer Miss Shifna Therefore the
completion of this assignment gives us much pleasure. Our sincere gratitude to Miss Shifna and to the whole administration of Esoft for giving
us a good guideline in helping us in our assignments.
You have guided us in every possible way and we are grateful. From a certain point of view, we can always ask anything from you and we are
certain that you will certainly help us in every possible way.
Her valuable guidance and advice has inspired us greatly to work in this project. Thus, her willingness to motivate us has contributed
tremendously to the completion of this assignment.
It is certainly a great privilege to be learning under your guidance, no other words to describe you, such a wonderful, kind hearted and loving
lecturer.
To end all I have to say or mention is about a famous quote about Education – “Education is the most powerful weapon which you can use to
change the world.
Summary
As we mention about this specific assignment known as DAD or in other words Database Analysis and Design, it foretells about certain new
things that we have never known about
We would be confused when everyone talks about it, mentioning about Databases and all those stuff. But what is a Database. As we mention
about Databases it is known as an organized collection of data. It is the collection of schemas, tables, queries, reports, views and other objects.
Besides that, although we mentioned about Databases behind all that it’s barely a design known as Database design.
Database design is the process of producing a detailed data model of a database. This data model contains all the needed logical and physical
design choices and physical storage parameters needed to generate a design in a data definition language, which can then be used to create a
database. A fully attributed data model contains detailed attributes for each entity.
It can be used to describe many different parts of the design of an overall database system. Principally, and most correctly, it can be thought of as
the logical design of the base data structures used to store the data. However, the term database design could also be used to apply to the overall
1.1 Critically compare different data models such as Hierarchical, Network, and Relational and justify which data model best fits the
scenario
Data models define how the logical structure of a database is modelled. They are fundamental entities to introduce abstraction in a DBMS. Thus
they define how data is connected to each other and how they are processed and stored inside the system. They following data models are as
follows:
Hierarchical Model – this covers a broad concept spectrum. It often refers to a lot of set ups like Multi level models where they are various
levels of information or data all related to be some larger form. This model is similar to the network model where it displays a collection of
records in trees rather than arbitrary graphs.
Network Model – is a database model that is designed as a flexible approach to representing objects and their relationships. A unique feature of
the network model is its schema which is viewed as a graph where relationship types are arcs and object types are nodes. Unlike other database
models, the network model’s schema is not confined to be a lattice or hierarchy
Relational Model – this model is the conceptual basis of relational databases. It is a method of structuring data using relations which are grid
like mathematical structures consisting of columns and rows. In the relational model, all data must be stored in relations and each relation
consists of rows and columns. The main characteristic of the relational model is the usage of keys. These are specially designated columns
within a relation used to order data or relate data to other relations. One of the most important key is the primary key, which is used to uniquely
identify each row of data
For this certain case study, I have chosen the relational model because this model is the conceptual basis of relational databases where it is been
used as a method of structuring data using relations which are grid like mathematical structures that consists of columns and rows. Thus this
model borrows heavily from mathematics and uses mathematical terms such as domains, unions and ranges, thus the features and conditions that
it describes are easy to define using simple English. In the relational model, all data must be stored in relations such as tables where each relation
consists of rows and columns. Each relation must have a header and body. The header is simply the list of columns in the relation. The body is
the set of data that actually populates the relation, thus organizing them into rows. You can extrapolate that the junction of one column and one
row will result in a unique value, this value is called a tuple. The second major characteristic of the relational model is the usage of keys. These
are specially designated columns within a relation, used to order data or relate data to other relations. One of the most important key is the
primary key, which is used to uniquely identify each row of data.
The hierarchical model is not like the other two models. In the hierarchical model, data is stored in a defined hierarchy. For instance, a company
is made of departments and each department has employees. So a tree structure is created with the company at the root of the tree. To get to all
employees in the company, one would have to traverse the entire tree. The hierarchical model does exist today, but typically in legacy
applications. The network model was the first attempt to address the inefficiencies of the hierarchical model. In the network model, you could
create a network showing how data related to each other. The network model never caught on, and was eventually replaced by the relational
model. The relational model has proven to be the most efficient and most flexible database model in use today. There are many advantages of the
relational model over the other models, which is why the most popular databases in use today employ this methodology. The hierarchical model
really only implements 1:1 relations, as defined in the strict hierarchy. The other two models do implement 1: m relationships.
Database Design
Database design is the process of producing a detailed data model of a database. This data model contains all the needed logical and physical
design choices and physical storage parameters that are needed to generate a design in a data definition language, which can be used to create a
database.
Source (www.tutorialpoint.com)
A database is usually a fundamental component of the information system, especially in business oriented systems. Thus database design is part
of system development.
Source (www.amk.fi)
The top-down approach, also known as step-wise design, essentially breaks a system or model down into component sub-systems, each of which
may further broken down further. However, no first-level system are defined – you won’t describe a for loop, or define the attributes of an object
in the top-down approach. Systems end up as a series of ‘black boxes’; components that have specific inputs and outputs, but no definite internal
structure.
Bottom Up
Bottom-up design consists of defining and coding the very basic, definite parts of the system to be designed, then linking these parts together to
form the whole. It also identifies the data elements (items) and then groups them together in data sets. In other words, it first defines attributes,
and then groups them to form entities. Bottom up begins with the specific details and moves up to the general. It identifies the data elements and
then groups them together in data sets.
Top Down
Bottom Up
It’s just the reverse as it begins with the concrete design to get the abstract entity
It has the advantages of solid business logic and the ability to write good unit test and to ease which changes can be managed and
modified
The database planning includes the activities that allow the stages of the database system development lifecycle to be realized as efficiently and
effectively as possible. This phase must be integrated with the overall Information System strategy of the organization.
The very first step in database planning is to define the mission statement and objectives for the database system. It is the major aim, the purpose
and the supported tasks of the database system which are known as the resources of the database system
In the systems definition phase, the scope and boundaries of the database application are described. This description includes
The major user views are also described. I.e. what is required of a database system from the perspectives of particular job roles or enterprise
application areas?
During the requirements collection and analysis phase, the collection and analysis of the information about the part of the enterprise to be served
by the database are completed. The results may include e.g.:
Source (www.amk.fi)
In the logical database design phase, the model of the data to be used is based on a specific data model, but independent of a particular database
management system is constructed. This is based on the target data model for the database e.g. relational data model.
In the physical database design phase, the description of the implementation of the database on secondary storage is created. The base relations,
indexes, integrity constraints, security, etc. are defined using the SQL language.
This is an optional phase. When there is a need for a new database management system (DBMS), this phase is done. DBMS means a database
system like Access, SQL Server, MYSQL, and Oracle. In this phase the criteria for the new DBMS are defined. Then several products are
evaluated according to the criteria. Finally the recommendation for the selection is decided.
In the application design phase, the design of the user interface and the application programs that use and process the database are defined and
designed. It includes database concerns such as interfacing SQL with traditional programming languages
The purpose of a prototype is to allow the users to use the prototype to identify the features of the system using a computer. There are horizontal
and vertical prototypes. A horizontal prototype has many features (e.g. user interfaces) but they are not in a working condition. A vertical
prototype has very few features but they are in perfect working condition.
1.3.10 Implementation
During the implementation phase, the physical realizations of the database and application designs are to be done. This is the programming
phase of the systems development.
This phase is needed when a new database is replacing an old system. During this phase the existing data will be transferred into the new
database.
1.3.12 Testing
Before the new system is going to live, it should be thoroughly tested. The goal of testing is to find errors! The goal is not to prove the software
is working well.
The operational maintenance is the process of monitoring and maintaining the database system. Monitoring means that the performance of the
system is observed. If the performance of the system falls below an acceptable level, tuning or reorganization of the database may be required
Source (www.amk.fi)
);
Student ID Int,
Coursed Int,
Lecturer_ID Int,
Birthday date,
Enroll_year int,
);
Lecturer_ID int,
Student_ID int,
);
Lecturer_ID int,
Student_ID int,
);
Course_ID int,
Student_ID int,
Lecturer_ID int,
Start_year int,
Insert code
Update code
Delete code
Insert code
Update code
Delete code
Insert code
Update code
Insert code
Update code
Delete code
3.1 Explain the benefits of different manipulation and query tools which can be used to design the relational database system
The benefits that is mentioned about Query tools firstly is that different types of query tools are been used nowadays. From this we realize that
queries allows the users to extract relevant information from a database, thus from the use of a query it helps to pre define the categories of
information that will be sought.
Queries are the primary mechanism for retrieving information from a database and consist of questions presented to the database in a predefined
format. Many database management systems use the Structured Query Language (SQL) standard query format. A database query is used to
retrieve data from the database in a readable format according to the user's request. There are some few advantages and there are as follows
Storage space
While you are developing a database that is entirely based on data specifications. There are no unnecessary bytes or characters stored in the
SQL database. This saves storage space.
Database security
Security gets better because you can allow particular data to be stored in the SQL database.
They have changed, by making storage, retrieval and accuracy of data that is stored more efficiently effective and reliable. It enables us to
execute arbitrary SQL commands.
The approach would be to select features that meet some criteria or that are located in a particular place. We can build SQL queries to select
particular features or rows from the source data.
For example, the ‘Select’ tool allows us to use a SQL query to make a new feature class of features that are selected from an existing class. As
we specify about query tools, they help analyze the data in a database in which they provide query building editing and summarizes
functionalities
Examples
The most basic SELECT statement has two parts. They are what columns you want to return and what table those columns come from.
To retrieve all of the information about the entire Student in the Add_New_Student table, we can use the asterisk (*) mark as a shortcut
for all of the columns.
Description: Login Details form – Please insert Username and Password, Successful
and Unsuccessful Login
Test Action User System Response Pass/
Case Expected Fail
No Result
Pass
Successful Display
2.1
Login Message
Pass
Inserting
Display
1.1 Student
Message
details
Deleting Pass
Display
3.1 Student
Message
details
Pass
Inserting
Display
1.1 Course
Message
details
Pass
Updating Display
2.1
Course Message
details
Pass
Updating Display
2.1
Lecturer Message
details
Deleting Pass
Display
3.1 Lecturer
Message
details
Pass
Inserting
Display
1.1 Faculty
Message
details
Pass
Updating Display
2.1
Faculty Message
details
Pass
Record Display
2.1
Successfully Message
Pass
Syntax Display
2.2
Errors Message
Display
Object Pass
Error
2.3 Errors
Message
Pass
Display
Display
3.2 Record
Data
Successfully
Pass
Syntax Display
3.3
Errors Message
Pass
Display
3.4 Object Errors Error
Message
Pass
Display
Column
3.5 Error
Errors
Message
Pass
Table Display
3.6 Definition Error
don’t Match Message
Stafford University
4.3.1 Steps to create a database
Management System
Then in Object Explorer, there is databases, right click and create new database
Once the new query is created the user can create tables in the following query
Figure 28 result
We have V-Model in software development, popularly known as verification and validation model. It is executed in sequential manner and each
phase must be completed before the next phase begins.
Verification Validation
Control mechanisms are methods or process to define and manage variables in a desirable way. For example a test manager at
deployment site might install a variety of control mechanisms to help them monitor various testing activities in software testing life cycle.
We need to apply control mechanisms over our system to ensure that a high standard of quality is met. To keep the entire process on
track, it is important to have quality control. It helps us to figure out the problem, fix it and also helps us in judging the effectiveness of
implemented solution
The entire process of quality control must go on smoothly. A control feature must be devised, to manage major portion of work in
standardized manner.
If in the entire process of controlling the system work flow, we are not able to achieve any task by straight method, we need to devise some
alternative control mechanisms, which comply with the standardized methods
In the process of controlling, one must also know how to react in case of defects. The areas of system where defects are most likely to
occur must be monitored carefully, so that the defects can be caught and fixed there and then, rather than continuing the work flow further.
Defects must be caught and treated in their nascent stage or must be reduced to near zero, so that we can say that six sigma is attained
Gantt chart
This assignment was of great source of knowledge to me. From this assignment, I came to know about various data models, database
technologies. In this assignment I covered many ways of the database.
I got to realize what a database is. I achieved many of the objectives which are mainly data insertion, updating and deletion in the database and I
learnt how to secure database with the stored procedures and triggers. It’s certainly a new thing to us learning about Databases.
The following system that we were given was Stafford University Management System. It gave me a wide knowledge about the relations designs
on the database with entities attributes and how to create a successful relation between each entity, and to give each a valid unique primary key,
plus also to make a difference between entity and attributes.
I'm very satisfied with this project as I achieved, and I gave my uttermost effort in completing this following assignment.
Techopedia - Where Information Technology and Business Meet. 2018. Techopedia - Where Information Technology and Business Meet.
[ONLINE] Available at: https://www.techopedia.com/. [Accessed 17 March 2018].
Test bytes. 2018. Test bytes: Software Testing and QA Consulting Company. [ONLINE] Available at: http://www.testbytes.net/. [Accessed 17
March 2018].
tutorialspoint.com. 2018. Ansible, LOLCODE, Current Affairs 2018, Apache Commons Collections, Intellij Idea, Java 9, GSON, Test Link,
Inter Process Communication (IPC), Logo, PySpark, Google Tag Manager, Adobe InDesign, IFSC Code, SAP Workflow, Scipy, Angular 4,
D3js, dcjs, Rich Faces, Spring Boot, SAP Hybris, Flexbox, Azure RP, Open Shift, Apache Bench, qTest, Test Lodge, Power BI, Python,
Financial Accounting, Text and Video Tutorials for UPSC, IAS, PCS, Civil Services, Banking, Aptitude, Questions, Answers, Explanation,
Interview, Entrance, Exams, Solutions, Examples, Online, Quiz, Current Affairs 2017, Aptitude Test, Verbal Ability, General Knowledge,
Reasoning, Mock test, Kubernetes, Spring JDBC, Java Concurrency, Spring AOP, Gerrit, Spring MVC, Indian Polity, History, Geography,
Biology, Physics, Chemistry and Economy. [ONLINE] Available at: https://www.tutorialspoint.com/. [Accessed 17 March 2018].
More Process. 2018. More Process - Relevant Technology Articles and Tutorials for Everyone. [ONLINE] Available
at: http://www.moreprocess.com/. [Accessed 17 March 2018].
Entrepreneur. 2018. Entrepreneur - Start, run and grow your business. [ONLINE] Available at: https://www.entrepreneur.com/. [Accessed 17
March 2018].
D Ide, 6, 32
Dad, 16 M
Dbms, 26
Mysql, 26
Ddl, 6, 30, 48, 49
S
E
Sql, 6, 26, 30, 39, 40, 42
Er, 6, 28, 29, 30, 54
V
I
V-Model, 54
Id, 5, 6, 30, 31, 33, 34, 35, 36, 37, 38
ID – Identity
ER – Entity Relationship