Dad - 16 - 001
Dad - 16 - 001
Dad - 16 - 001
Unit Code & Title : H/601/1991 - Unit 33 - Data Analysis and Design
Assessment Title & No’s: Database solution for Stafford University - (DAD – 16 – 001)
Date of Submission:
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.
7. Non-submission of work without valid reasons will lead to an automatic REFERRAL.
You will then be asked to complete an alternative assignment.
8. Take great care that if you use other people’s work or ideas in your assignment, you
properly reference them, using the HARVARD referencing system, in you text and any
bibliography, otherwise you may be guilty of plagiarism.
I hereby, declare that I know what plagiarism entails, namely to use another’s work and to
present it as my own without attributing the sources in the correct way. I further understand what
it means to copy another’s work.
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.
Critically compare different data models such as Hierarchical, Network, Relational and justify
which data model best fits the scenario (AC 1.1) (D 1.1)
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)
Analyze 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 PASSS grade
Write an update query with the help of Join queries to update a particular record in the database.
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 analyze 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 Task 3.1
relational 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 Task 3.3
through the use of query tools
LO4 - Be able to test and document relational database systems
4.1 critically review and test a relational database system Task 4.1
4.3 create user documentation for a developed relational database Task 4.2
system
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
Table of Contents-------------------------------------------------------------------------------------14
Acknowledgement------------------------------------------------------------------------------------16
Task 1: Understand data models and database technologies-----------------------------------17
1.1 Critically compare different data models such as Hierarchical, Network, and Relational and justify which data model best fits the scenario
17
1.1.2 Justification of the suitable data model-----------------------------------------------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---------------------------------19
1.2.1Advantages and Disadvantages of Data Warehouse---------------------------------20
1.2.2 Advantages and Disadvantages of Data Mining-------------------------------------21
1.3 Analyze 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-----------------------------------------------------------------------------23
1.3.1 Different Approaches-------------------------------------------------------------------23
1.3.2 Approaches to Database Design-------------------------------------------------------24
1.3.2.1 Differences between Top down and Bottom Up----------------------------------24
1.3.3 Database Planning-----------------------------------------------------------------------25
1.3.4 Systems Definition----------------------------------------------------------------------25
1.3.5 Requirements Collection and Analysis-----------------------------------------------25
1.3.6 Database Design-------------------------------------------------------------------------26
1.3.7 Database Management System Selection---------------------------------------------26
Table of Figures
List of Tables
I would like to express my sincere thoughts and gratitude to our lecturer, ____________________ who has always been there for us, whenever
we needed their assistance, by their teaching it is certainly a new experience to us.
It is our main opportunity to express our deep sense of gratitude and constant encouragement as well as motivation that has helped sustain our
efforts in assisting us in completing this assignment
I have worked hard in completing this assignment, and im proud to say that all my effort and energy has been put into this in order to complete
it. And most of all, I have gained an immense knowledge on databases that we have never learnt before
Special thanks to Esoft, for inspiring us, and my sincere thanks to all the lecturers, who has helped us overcome these assignments. Last but not
the least, my sincere gratitude to my parents, who has always been by my side and through their assistance I was able to complete this
assignment.
1.1 Critically compare different data models such as Hierarchical, Network, and Relational and justify which data model best fits the
scenario
The definition of data models specifies the structure of the database and how it is modelled. This is to introduce abstraction in a DBMS . This
shows how data is been connected to each other and by what means they are been processed and the ways they are stored inside the system.
There are various types of data models. They are explained below:
Hierarchical Model – it covers a large area, it refers to a lot of sets that are compared like various multi-level models where all the essential
information is compared to a larger form. It is quite similar to the network model as it displays a collection of records that are found in trees
besides arbitrary graphs
Relational model – this model may be the theoretical premise of social databases. It will be a system for structuring information utilizing
relations which would grid such as scientific structures comprising from claiming columns What's more rows. In the social model, know
information must a chance to be put away done relations and every connection comprises about rows. The principle trademark of the social
model will be the utilization about keys. These are uncommonly designated columns inside a connection used to request information alternately
relate information to different relations. A standout amongst those the majority essential fact that those elementary key, which is used to
particularly distinguish each column for information. Source (Techopedia, 2019)
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
1.3 Analyze 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
Database Design
The database is known as a fundamental component of the information system that is used mainly in business oriented systems. It is considered
as a part of system development
Database design
Bottom up
Bottom-up layout consists of defining and coding the very basic, definite parts of the machine to be designed, then linking these components
collectively to form the whole. It additionally identifies the statistics factors (items) and then groups them collectively in facts sets. In different
words, it first defines attributes, and then companies tend to form them. Bottom up starts off evolved with the specific important
points and moves up to the general.
1.3.2.1 Differences between Top down and Bottom Up
Top Down
In the systems definition phase, the scope and boundaries of the database software are described. This description includes
1.3.9 Prototyping
The motive of a prototype is to allow the users to use the prototype to pick out the points of the machine using a computer. There are horizontal
and vertical prototypes. A horizontal prototype has many facets (e.g. user interfaces) however they are not in a working condition. A vertical
prototype has very few points however they are in best working condition.
During the implementation phase, the physical realizations of the database and application designs are to be done. This is the
programming phase of the structures development.
1.3.12 Testing
Before the new gadget is going to live, it be fully tested. The aim of checking out is to discover errors. The purpose is not to prove the software
program is working well.
The operational renovation is the technique of monitoring and maintaining the database system. Monitoring ability that the performance of
the gadget is observed. If the overall performance of the machine falls beneath a perfect level, tuning or reorganization of the database may be
required. Source (www.amk.fi)
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
2.3 Design a relational database system according to the ER diagram you have created (Use SQL DDL statements)
);
Student ID Int,
Coursed Int,
Lecturer_ID Int,
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
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 of query tool is that there are various types of tools that are been used nowadays. But from this we realize that it helps to extract
relevant information from a database, thus the use of a query helps to define the categories of information that will be sought
Queries are the primary mechanism for retrieving from a database and they consist of questions that are presented to the database in a specific
format. These database management systems use the Structured Query Language. It helps to retrieve data from the database in a readable format
that is used per the user’s requirement. There are some few advantages it is shown below
While you are creating a database that is completely based totally on information specifications. There are no pointless bytes or characters saved
in the SQL database. This saves storage space
Efficient statistics retrieval
Queries can be used to retrieve giant amounts of data from a database efficiently and speedily.
Database safety
Security receives higher because you can enable particular data to be stored in the SQL database.
Speed
The database is environment friendly and makes use of the right personalize and record types, query speed will improve
We can build SQL queries to choose particular features or rows from the source data. For example, the ‘Select’ tool permits us to use a
SQL query to make a new feature class of facets that are chosen from a present class. As we specify about question tools, they help analyze
the records in a database in which they furnish question building enhancing and summarizes functionalities.
Examples
The most fundamental SELECT announcement has two parts. They are what columns you prefer to return and what table these columns come
from.
To retrieve all of the facts about the whole 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
4.1 Provide a suitable test plan to support the documentation of the testing process
Pass
Inserting
Display
1.1 Student
Message
details
Pass
Updating Display
2.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
Management
System
Name Reg No: DAD Page 75 of 95
Figure 22 Connecting using the server name
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
The V-Model in software development, also known as verification and validation model. The execution process takes place in a sequential
manner and each phase must be completed before the next phase begins.
This process is done before software This involves the execution of software
execution
all techniques of static testing are involved
whereas this process includes all ways of
in this process dynamic testing
Summary
This assignment known as DAD tells us about new things that we have never heard before, we are pretty confused when everyone mentions
about it. But what is a database. Its precisely an organized collection of data where it contains collection of schemas, tables and so on. But
besides all this it is barely a design known as Database design
This certain design includes the introduction of a database data model. Where it contains all logical and physical design choices and physical
storage parameters needed to generate a design in a data definition language which can 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 a database system. Basically, and most correctly, it can be thought as the logical
design of the database and the data structures that are used to store the data. However, the term database design could be used to apply to the
Self-Criticism
Realizing what a database is means so many things. I basically achieved many objectives that are concerned on data insertions, updating and
deleting all details and most importantly on how to secure a database with stored procedures and triggers
The following system that was given to us was S. It gave me a wide knowledge on relation design and various attributes and entities and ways to
create a successful relation between each entity by giving a valid primary key, plus to make a difference between entity and attributes. Im very
satisfied with this project that I have achieved and giving my utmost 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 May 2019].
Test bytes. 2018. Test bytes: Software Testing and QA Consulting Company. [ONLINE] Available at: http://www.testbytes.net/. [Accessed 17
May 2019].
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 May 2019].
Entrepreneur. 2018. Entrepreneur - Start, run and grow your business. [ONLINE] Available at: https://www.entrepreneur.com/. [Accessed 17
May 2019].
TechTarget. 2018. Fuel Your Pipeline Faster - TechTarget. [ONLINE] Available at: http://www.techtarget.com/. [Accessed 17 May 2019].
Indexes
D M
ID – Identity
ER – Entity Relationship