Data Base System For The Smartmovers Transport Company: Godrick Naveen KAN/A-013536
Data Base System For The Smartmovers Transport Company: Godrick Naveen KAN/A-013536
SMARTMOVERS TRANSPORT
COMPANY
Student’s name
List which assessment Pass Merit Distinction
criteria the Assessor
has awarded.
INTERNAL VERIFIER CHECKLIST
Do the assessment criteria
awarded match those shown in
the assignment brief? Y/N
Is the Pass/Merit/Distinction
grade awarded justified by the Y/N
assessor’s comments on the
student work?
Has the work been
assessed accurately? Y/N
Is the feedback to the student:
Give details:
• Constructive? Y/N
• Linked to relevant Y/N
assessment criteria?
• Identifying opportunities Y/N
for improved performance? Y/N
• Agreeing actions?
Does the assessment decision
need amending? Y/N
Assessor signature Da
te
Page | 2
Godrick Naveen - HND in Computing |DDD Assignment 01
Confirm action completed
Remedial action
taken Give details:
Assignment Feedback
Formative Feedback: Assessor to Student
Action Plan
Summative feedback
Page | 4
Godrick Naveen - HND in Computing |DDD Assignment 01
Feedback: Student to Assessor
Page | 5
Godrick Naveen - HND in Computing |DDD Assignment 01
Student Declaration
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 form. I
further understand what it means to copy another’s work.
Page | 6
Godrick Naveen - HND in Computing |DDD Assignment 01
Page | 7
Godrick Naveen - HND in Computing |DDD Assignment 01
Overview
I am employed as a Database Developer for a large IT development company. The
company has been approached by a transport company called SmartMovers which has
grown to a level where they need to have an automated system to handle day today
operational activities to meet customer demands.so I am given the job to design and
develop a database solution for SmartMovers to meet their business requirements.
Activity 01
What is a Database?
A database is an organized collection of structured information, or data, stored in a
computer system. A database is generally controlled by a database management
system (DBMS). Together, the data and the DBMS, beside with the applications that
are associated with them, are referred to as a database system, often shortened to just
database.
What are user and system requirements?
User requirements, frequently referred to as user needs, define what the user does
with the system, such as what activities that users must be able to perform. User
requirements are generally documented in a User Requirements Document (URD)
using narrative text. User requirements are generally signed off by the user and used
as the primary input for creating system requirements.
An important and tough step of designing a software product is determining what the
user actually wants it to do. This is because the user is often not able to communicate
the wholeness of their needs and wants, and the information they provide may also be
imperfect, inaccurate and self-conflicting. The responsibility of completely
understanding what the customer wants falls on the business analyst. This is why user
requirements are generally considered separately from system requirements. The
business analyst carefully analyzes user requirements and carefully constructs and
documents a set of high quality system requirements ensuring that that the
requirements meet certain quality features.
System requirements are the building blocks developers use to build the system.
These are the traditional “shall” statements that define what the system “shall do.”
System requirements are categorized as either functional or supplemental
requirements. A functional requirement specifies something that a user needs to
Page | 8
Godrick Naveen - HND in Computing |DDD Assignment 01
perform their work. For example, a system may be required to enter and print cost
estimates, this is a functional requirement. Supplemental or non-functional
requirements specify all the remaining requirements not covered by the functional
requirements. Supplemental requirements are sometimes called quality of service
requirements. The plan for implementing functional requirements is detailed in the
system design. The plan for implementing supplemental requirements is detailed in
the system architecture.
In this case the user and requirements for the company are,
User Requirements
The system must be able to calculate according to the customers wants.
The system must have login and password for security.
The interface must not be complicated to the user
System Requirements
Processor (CPU):Intel Core i5 (sixth generation or newer) or equivalent
Operating System:Microsoft Windows 10 Professional x64
Memory:8 GB RAM
Storage:512 GB internal Solid State Drive (SSD) or 1 TB internal HDD
Monitor/Display:24" LCD monitor
Network Adaptor:802.11ac 2.4/5 GHz wireless adapter
Other:Webcam, lock, external drive for backups
ER (Entity Relationship ) Diagram
An ER diagram illustrates the relationship among entity sets. An entity set is a group
of similar entities and these entities can have attributes. In terms of DBMS, an entity
is a table or attribute of a table in database, so by displaying relationship among tables
and their attributes, ER diagram shows the complete logical structure of a database.
Below showed is the ERD of “SmartMovers”.
Page | 9
Godrick Naveen - HND in Computing |DDD Assignment 01
Page | 10
Godrick Naveen - HND in Computing |DDD Assignment 01
Customer Customer_
Contact ID
ID ID
Type
Customer Product
Orders M
Address 1 Name No Risk High Risk
M
Consists
L:arge
Load ID
Category
Medium
1 From
Type 3 Type
Ty pe 1 M Load
Makes Small
Type 2
Date Job ID Depot ID
Consists
Consists
1 1
Receipt No Job
M
Depot Region
Job ID
N
M
Date Consists
M
Paym ent For Job_ID Product_ID
Driver_ID
Assistant
Amount Lorry
ID Container
Driver_ID
Page | 11
Godrick Naveen - HND in Computing |DDD Assignment 01
Entities and Attributes of Smart Movers
Entity Attributes
Page | 12
Godrick Naveen - HND in Computing |DDD Assignment 01
What is Normalization?
Normalization is the process of reorganizing data in a database so that it meets two
basic requirements:
There is no redundancy of data, all data is stored in only one place.
Data dependencies are logical, all related data items are stored together.
Normalization is important for many reasons, but chiefly because it allows databases
to take up as little disk space as possible, resulting in increased performance.
Normalization is also known as data normalization.
Normalized tables for Smart Movers
Customer table
Customer_ID Customer_Name Customer_Address Contact_No Category
C001 Danny Nuwara-eliya 0752154215 1
C002 Tanya Kandy 0725454548 2
Product table
Product_ID Product_Name Product_Type
P01 Botulinum toxin High Risk
P02 Sodium hydroxide Low Risk
Depot table
Depot_ID Depot_region
D01 Nuwara-eliya
D02 Kandy
Job table
Job_No Job_Date Depot_ID
J001 20th Dec 2020 D01
J002 1st Jan 2021 D02
Payment table
Reciept_N Payment_Dat Payment_Amount Customer_I Job_No
o e D
1333 20th Dec 2020 10,000 C001 J001
Page | 13
Godrick Naveen - HND in Computing |DDD Assignment 01
1444 1st Jan 2021 40,000 C002 J002
Transport table
Page | 14
Godrick Naveen - HND in Computing |DDD Assignment 01
4. Creating Load table
Page | 15
Godrick Naveen - HND in Computing |DDD Assignment 01
8. Creating Transport table
Data validation
What is Data validation?
Data validation means checking the accuracy and quality of source data before using,
importing or otherwise processing data. Different types of validation can be
performed depending on destination constraints or objectives. Data validation is a
form of data cleansing.
Data Validation used in Smart Movers
Primary Key validation
Primary key analysis information allows to validate the primary keys that are already
defined in the data and identify columns that are candidates for primary keys. A
primary key must be unique and cannot contain null values.
Not Null Constraint
A NOT NULL constraint in SQL is used to prevent inserting NULL values into the
specified column, considering it as a not accepted value for that column.
Foreign Key constraint
A Foreign Key is a key used to link two tables together. A Foreign Key is a field or
collection of fields in one table that denotes to the Primary key in another table.
Page | 16
Godrick Naveen - HND in Computing |DDD Assignment 01
Interface Design for Smart Movers
Page | 17
Godrick Naveen - HND in Computing |DDD Assignment 01
Page | 18
Godrick Naveen - HND in Computing |DDD Assignment 01
Page | 19
Godrick Naveen - HND in Computing |DDD Assignment 01
The effectiveness of the user and system
Requirements with Database design
In this particular case the entire system is represented in an ER Diagram, so it gives
an idea about how the system operates. The customers are the ones who requests the
orders and the orders are carried out by the transport unit. To identify the customers,
they are given an unique “ID” Which is shown as Customer_ID” which is used as
primary key in the database design. Which is also given to the product, depot, load,
transport and job to uniquely identify the specific and accurate details. The system is
also designed user friendly to the customers so they don’t face any complications
while logging into the Smart Movers system interface.
Page | 20
Godrick Naveen - HND in Computing |DDD Assignment 01
Activity 02
Implementing the database records
DDL Statements
DDL refers to “Data Definition Language”, a subclass of SQL statements that change
the structure of the database scheme in some way, typically by creating, deleting, or
altering scheme objects such as databases, tables, and views. Most DDL statements
start with the keywords CREATE, DROP, or ALTER.
SQL statement for CREATE command
Following are the screenshots for inserting records to the above created database
Page | 21
Godrick Naveen - HND in Computing |DDD Assignment 01