0% found this document useful (0 votes)
75 views

Unit 04 Database Design and Development

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

Unit 04 Database Design and Development

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 112

Higher Nationals

Internal verification of assessment decisions – BTEC (RQF)

INTERNAL VERIFICATION – ASSESSMENT DECISIONS


Programme title BTEC HND in Computing
Mr. Abdur Rahman
Assessor Internal
Yoosuff Verifier
Unit 04: Database Design & Development
Unit(s)
Database Solution for Quiet Attic Films
Assignment title
M.R Mohamed Rashad
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 Y/N
assignment brief?
Is the Pass/Merit/Distinction grade
awarded justified by the assessor’s Y/N
comments on the student work?
Has the work been assessed
Y/N
accurately?
Is the feedback to the student:
Give details:
• Constructive? Y/N
• Linked to relevant assessment Y/N
criteria? Y/N
• Identifying opportunities for
improved performance? Y/N
• Agreeing actions?
Does the assessment decision need
Y/N
amending?
Assessor signature Date

Internal Verifier signature Date


Programme Leader signature (if
Date
required)

Confirm action completed

Page |1 M.R Mohamed Rashad Database Design & Development Assignment 1


Remedial action
taken
Give details:
Assessor signature Date
Internal
Date
Verifier
signature
Programme Leader
Date
signature (if
required)

Page |2 M.R Mohamed Rashad Database Design & Development Assignment 1


Higher Nationals - Summative Assignment Feedback Form
Student Name/ID E217999

Unit Title Unit 04: Database Design & Development

Assignment Number 1 Assessor


31/03/2024 Date
Submission Date
Received 1st
submission
Date Received 2nd
Re-submission Date
submission
Assessor Feedback:
LO1 Use an appropriate design tool to design a relational database system for a
substantial problem
Pass, Merit & P1 M1 D1
Distinction Descripts

LO2 Develop a fully functional relational database system, based on an existing system
design
Pass, Merit & P2 P3 M2 M3 D2
Distinction Descripts

LO3 Test the system against user and system requirements.


Pass, Merit & P4 M4 D2
Distinction Descripts

LO4 Produce technical and user documentation.


Pass, Merit & P5 M5 D3
Distinction Descripts

Grade: Assessor Signature: Date:


Resubmission Feedback:

Grade: Assessor Signature: Date:


Internal Verifier’s Comments:

Signature & Date:

* Please note that grade decisions are provisional. They are only confirmed once
internal and external moderation has taken place and grades decisions have been
agreed at the assessment board.

Page |3 M.R Mohamed Rashad Database Design & Development Assignment 1


Assignment Feedback
Formative Feedback: Assessor to Student

Action Plan

Summative feedback

Feedback: Student to Assessor

Assessor Date
signature

Student Date
signature

Page |4 M.R Mohamed Rashad Database Design & Development Assignment 1


Pearson Higher Nationals in
Computing
Unit 04: Database Design & Development
Assignment 01

Page |5 M.R Mohamed Rashad Database Design & Development Assignment 1


General Guidelines

1. A Cover page or title page – You should always attach a title page to your
assignment. Use previous page as your cover sheet and make sure all the details
are accurately filled.
2. Attach this brief as the first section of your assignment.
3. All the assignments should be prepared using a word processing software.
4. All the assignments should be printed on A4 sized papers. Use single side printing.
5. Allow 1” for top, bottom , right margins and 1.25” for the left margin of each page.

Word Processing Rules

1. The font size should be 12 point, and should be in the style of Time New Roman.
2. Use 1.5 line spacing. Left justify all paragraphs.
3. Ensure that all the headings are consistent in terms of the font size and font style.
4. Use footer function in the word processor to insert Your Name, Subject,
Assignment No, and Page Number on each page. This is useful if individual sheets
become detached for any reason.
5. Use word processing application spell check and grammar check function to help
editing your assignment.

Important Points:

1. It is strictly prohibited to use textboxes to add texts in the assignments, except for
the compulsory information. eg: Figures, tables of comparison etc. Adding text
boxes in the body except for the before mentioned compulsory information will
result in rejection of your work.
2. Carefully check the hand in date and the instructions given in the assignment. Late
submissions will not be accepted.
3. Ensure that you give yourself enough time to complete the assignment by the due
date.
4. Excuses of any nature will not be accepted for failure to hand in the work on time.
5. You must take responsibility for managing your own time effectively.
6. 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.
7. Failure to achieve at least PASS criteria will result in a REFERRAL grade .
8. Non-submission of work without valid reasons will lead to an automatic RE
FERRAL. You will then be asked to complete an alternative assignment.
9. If you use other people’s work or ideas in your assignment, reference them
properly using HARVARD referencing system to avoid plagiarism. You have to
provide both in-text citation and a reference list.

Page |6 M.R Mohamed Rashad Database Design & Development Assignment 1


10. If you are proven to be guilty of plagiarism or any academic misconduct, your
grade could be reduced to A REFERRAL or at worst you could be expelled from
the course

Page |7 M.R Mohamed Rashad Database Design & Development Assignment 1


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.

1. I know that plagiarism is a punishable offence because it constitutes theft.


2. I understand the plagiarism and copying policy of Edexcel UK.
3. I know what the consequences will be if I plagiarise or copy another’s work in any
of the assignments for this program.
4. I declare therefore that all work presented by me for every aspect of my program,
will be my own, and where I have made use of another’s work, I will attribute the
source in the correct way.
5. I acknowledge that the attachment of this document signed or not, constitutes a
binding agreement between myself and Pearson, UK.
6. I understand that my assignment will not be considered as submitted if this
document is not attached to the assignment.

Student’s Signature: [email protected] Date: 31/03/2024


(Provide E-mail ID) (Provide Submission Date)

Page |8 M.R Mohamed Rashad Database Design & Development Assignment 1


Higher National Diploma in Computing
Assignment Brief
Student Name /ID Number E217999

Unit Number and Title Unit 4: Database Design & Development

Academic Year 2022/23

Unit Tutor Mr. Abdur Rahman Yoosuff

Assignment Title Data base system for Quiet Attic Films

Issue Date 29/10/2023

Submission Date 31/03/2024

IV Name & Date

Submission format

Part 1: The submission should be in the form of an individual written report 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 Harvard referencing system. Please also provide in-text citation
and bibliography using Harvard referencing system. The recommended word limit is 3,000–
3,500 words, although you will not be penalised for exceeding the total word limit.
Part 2: The submission should be in the form of a fully functional relational database system
demonstrated to the Tutor; and an individual written report (please see details in Part 1 above).
Part 3: The submission should be in the form of a witness statement of the testing completed
by the Tutor; technical documentation; and a written report (please see details in Part 1
above).
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 system, based on an existing system design.
LO3 Test the system against user and system requirements.
LO4 Produce technical and user documentation.
Assignment Brief and Guidance:

Page |9 M.R Mohamed Rashad Database Design & Development Assignment 1


Assignment brief
Quiet Attic Films is a film production company based in London, England who specialize in
making short information films and advertisements for television. They want you to design
and implement a database that meets the requirements for their data. These requirements
are specified in this scenario and the examples of paper documents kept by the company
shown below.
Quiet Attic Films organize their data around the concept of a ‘production’. A production is
specified as being for a particular client; but note that a client might have more than one
production at any time. A production will take place at one or more locations. A production
will also use a number of, what are called, properties, which might be anything from an
actual property like a building, to costumes or small items of any sort. It is important to
keep a record of which properties are required at which location.
There should also be a record kept of the staff types that are assigned to productions

P a g e | 10 M.R Mohamed Rashad Database Design & Development Assignment 1


Activity 1
Identify the user and system requirements to design a database for the above scenario and
design a relational database system using conceptual design (ER Model) by including
identifiers (primary Key) of entities and cardinalities, participations of relationships. Convert
the ER Model into logical database design using relational database model including primary
keys foreign keys and referential Integrities.
It should contain at least five interrelated tables. Check whether the provided logical design
is normalised. If not, normalize the database by removing the anomalies.
(Note:-It is allowed to have your own assumptions and related attributes within the scope
of the case study given)
Design set of simple interfaces to input and output for the above scenario using Wireframe
or any interface-designing tool. Evaluate the effectiveness of the given design (ERD and
Logical design) in terms of the identified user and system requirements.

P a g e | 11 M.R Mohamed Rashad Database Design & Development Assignment 1


Activity 2
Develop a relational database system according to the ER diagram you have created (Use
SQL DDL statements). Provide evidence of the use of a suitable IDE to create a simple
interface to insert, update and delete data in the database. Implement proper security
mechanisms in the developed database and evaluate the database solution developed in
terms of its effectiveness with relevance to the user and system requirements identified,
system security mechanisms (EX: -User groups, access permissions) and the maintenance of
the database. Suggest improvements for any identified problems.

Assess the usage of the below SQL statements with the examples from the developed
database to prove that the data extracted through them are meaningful and relevant to the
given scenario.
Select/ Where / Update / Between / In / Group by / Order by / Having

Activity 3

3.1 Provide a suitable test plan to test the system against user and system requirements.
provide relevant test cases for the database you have implemented. Assess how the
selected test data can be used to improve the effectiveness of testing.
Note:- Learner needs to give expected results in a tabular format and screenshots of the
actual results with the conclusion

3.2 Get independent feedback on your database solution from the non-technical users and
some developers (use surveys, questioners, interviews or any other feedback collecting
method) and make a separate conclusion from the feedbacks.

P a g e | 12 M.R Mohamed Rashad Database Design & Development Assignment 1


Activity 4

Produce technical and user documentation for a fully functional system, including data flow
diagrams showing movement of data through the system, and flowcharts describing how
the system works. Evaluate the developed database by suggesting future enhancements to
ensure the effectiveness of the system.

P a g e | 13 M.R Mohamed Rashad Database Design & Development Assignment 1


Table of Contents
Table of Figures ................................................................................................................. 15
List of Tables ..................................................................................................................... 19
1. Activity 1 ....................................................................................................................... 23
1.1 What Are Requirements?.............................................................................. 23
1.1.1 User requirements ......................................................................................... 23
1.1.2 System requirements .................................................................................. 24
1.2 What is ER Diagram?.................................................................................. 26
ER-Diagram for the given scenario.................................................................... 28
Mapping above ER-Diagram into relation ........................................................ 29
1.3 What is Normalization?............................................................................... 29
1.3.1 Importance of normalization ......................................................................... 30
1.3.2 Normalized form of Quiet Attic Film production sheet ................................ 33
1.4 What is Wireframe? (Jena, n.d.) .................................................................. 36
Wireframe for Quite Attic Film. ............................................................................ 36
2. Activity 2 ....................................................................................................................... 44
2.1 Types of SQL queries .......................................................................................... 44
2.2 What is an IDE (Prakritjvla, 2024) ...................................................................... 45
Advantages and Disadvantages of an IDE ............................................................. 47
2.3 Interface of Quiet Attic Films system .................................................................. 50
2.4 SQL Server Management Studio (SSMS) (JavaTpoint, n.d.) .............................. 56
2.5 Data validation (Taylor, n.d.) ............................................................................... 57
2.6 SQL Query for Quiet Attic Films ........................................................................ 58
2.7 Implementation of Database and SQL Queries in the system ............................. 62
2.7.1 Connecting Database to Visual Studio ......................................................... 62
2.7.2 Using SQL commands to develop the system. ............................................. 64
3. Activity 3 ....................................................................................................................... 68
3.1 Software testing (GeekforGeeks, 2024) .............................................................. 68
Test Cases .............................................................................................................. 69
3.2 Feedback Form ..................................................................................................... 77
4. Activity 4 ....................................................................................................................... 83
4.1 Technical Documentation .................................................................................... 83
Introduction .................................................................................................... 83
Requirements ................................................................................................. 84

P a g e | 14 M.R Mohamed Rashad Database Design & Development Assignment 1


Functionalities: ............................................................................................... 85
Installation steps: ........................................................................................... 85
4.1.1 Use Case Diagram for the system ................................................................. 88
4.1.2 Class Diagram for the system ....................................................................... 89
4.1.3 Sequence Diagram for the system ................................................................ 89
4.1.4 Activity Diagram for the system................................................................... 95
4.2 User Documentation ............................................................................................ 98
4.2.1 User guide for Quiet Attic Film System ....................................................... 98
References........................................................................................................................ 108

Table of Figures
Figure 1 ER Diagram ........................................................................................................... 27
Figure 2 Relationship.......................................................................................................... 27
Figure 3 ER Diagram for Quiet Attic Films.......................................................................... 28
Figure 4 Wireframe - Home Page....................................................................................... 37
Figure 5 Wireframe - Login Page........................................................................................ 37
Figure 6 Wireframe - Admin Access Page .......................................................................... 38
Figure 7 Wireframe - Manager Access Page ...................................................................... 38
Figure 8 Wireframe - Client Access Page ........................................................................... 39
Figure 9 Wireframe - Staff Access Page ............................................................................. 39
Figure 10 Wireframe - Manager Details ............................................................................ 40
Figure 11 Wireframe - Client Details .................................................................................. 40
Figure 12 Wireframe - Staff Details.................................................................................... 41
Figure 13 Wireframe - Production Details ......................................................................... 41
Figure 14 Wireframe - Property Details ............................................................................. 42
Figure 15 Wireframe - Location Details ............................................................................. 42
Figure 16 Code Editor ......................................................................................................... 47
Figure 17 Syntax Highlighting............................................................................................. 48
Figure 18 Debugging. ......................................................................................................... 48
Figure 19 Quiet Attic Films - Homepage Interface............................................................. 50
Figure 20 Quiet Attic Films - User Login Interface ............................................................. 50

P a g e | 15 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 21 Quiet Attic Films – Admin Page Interface .......................................................... 51
Figure 22 Quiet Attic Films - Manager Page Interface ....................................................... 51
Figure 23 Quiet Attic Films - Staff Page Interface .............................................................. 52
Figure 24 Quiet Attic Films - Client Page Interface ............................................................ 52
Figure 25 Quiet Attic Films - Manager Details Interface.................................................... 53
Figure 26 Quiet Attic Films - Staff Details Interface .......................................................... 53
Figure 27 Quiet Attic Films - Client Details Interface ........................................................ 54
Figure 28 Quiet Attic Films -Location Details Interface ..................................................... 54
Figure 29 Quiet Attic Films - Production Details Interface ............................................... 55
Figure 30 Quiet Attic Films - Property Details Interface ................................................... 55
Figure 31 Data Management Studio IDE ............................................................................ 56
Figure 32 CREATE and USE database. ................................................................................ 58
Figure 33 Client Table......................................................................................................... 58
Figure 34 Client Tabe Data ................................................................................................. 58
Figure 35 Production Table ................................................................................................ 59
Figure 36Production Table Data ........................................................................................ 59
Figure 37 Location Table .................................................................................................... 59
Figure 38 Location Table Data ........................................................................................... 59
Figure 39 Property Table .................................................................................................... 60
Figure 40 Property Table Data ........................................................................................... 60
Figure 41 Staff Table .......................................................................................................... 60
Figure 42 Staff Table Data .................................................................................................. 61
Figure 43 Login Table ......................................................................................................... 61
Figure 44 Login Table Data ................................................................................................. 61
Figure 45 Step 01: Choose Tools ........................................................................................ 62
Figure 46 Choose Connect to Database ............................................................................. 62
Figure 47 Choose Microsoft SQL Server............................................................................. 63
Figure 48 Choose server and Database. ............................................................................ 63
Figure 49 SQL Connection Establishment. ......................................................................... 64
Figure 50 INSERT Command............................................................................................... 64
Figure 51 UPDATE Command ............................................................................................. 64
Figure 52 SELECT Command............................................................................................... 65

P a g e | 16 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 53 DELETE Command .............................................................................................. 65
Figure 54 BETWEEN Command .......................................................................................... 65
Figure 55 BETWEEN Command result. ............................................................................... 65
Figure 56 ORDER BY Command.......................................................................................... 66
Figure 57 ORDER BY Command result. .............................................................................. 66
Figure 58 INNER JOIN Command ....................................................................................... 66
Figure 59 INNER JOIN Command result. ............................................................................ 66
Figure 60 GROUP BY Command ......................................................................................... 67
Figure 61 GROUP BY Command Result .............................................................................. 67
Figure 62 HAVING Command ............................................................................................. 67
Figure 63 HAVING Command result. .................................................................................. 67
Figure 64 IN Command ...................................................................................................... 67
Figure 65 IN Command result ............................................................................................ 67
Figure 66 Test 01: Test Data............................................................................................... 69
Figure 67 Test 01: Result .................................................................................................... 70
Figure 68 Test 02: Test Data............................................................................................... 70
Figure 69 Test 02: Result .................................................................................................... 71
Figure 70 Test 03: Test Data............................................................................................... 71
Figure 71 Test 03: Result .................................................................................................... 72
Figure 72 Test 04: Result .................................................................................................... 72
Figure 73 Test 05: Test Data............................................................................................... 73
Figure 74 Test 05: Result .................................................................................................... 73
Figure 75 Test 06: Test Data............................................................................................... 74
Figure 76 Test 06: Result .................................................................................................... 74
Figure 77 Test 07: Test Data............................................................................................... 75
Figure 78 Test 07: Results .................................................................................................. 76
Figure 79 Test Case 08: Results .......................................................................................... 76
Figure 80 Feedback Form 01 .............................................................................................. 77
Figure 81 Feedback Form 02 .............................................................................................. 78
Figure 82 Feedback Form 03 .............................................................................................. 79
Figure 83 Response 01 ....................................................................................................... 79
Figure 84 Response 02 ....................................................................................................... 80

P a g e | 17 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 85 Response 03 ....................................................................................................... 80
Figure 86 Response 04 ....................................................................................................... 81
Figure 87 Response 05 ....................................................................................................... 81
Figure 88 Technical Documentation: ER Diagram............................................................. 87
Figure 89 Use Case Diagram for the system. ..................................................................... 88
Figure 90 Class Diagram for the system. ............................................................................ 89
Figure 91 Sequence Diagram: Login ................................................................................... 90
Figure 92 Sequence Diagram: Register Production ........................................................... 90
Figure 93 Sequence Diagram: Search Production.............................................................. 91
Figure 94 Sequence Diagram: Update Production ............................................................ 91
Figure 95 Sequence Diagram: Register Manager............................................................... 92
Figure 96 Sequence Diagram: Search Manager ................................................................. 92
Figure 97 Delete Manager ................................................................................................. 93
Figure 98 Sequence Diagram: Register Client .................................................................... 93
Figure 99 Sequence Diagram: Make an Appointment ....................................................... 94
Figure 100 Sequence Diagram: Make Payment ................................................................. 94
Figure 101 Activity Diagram: Book a production. .............................................................. 95
Figure 102 Activity Diagram: Delete a production. .......................................................... 96
Figure 103 Activity Diagram: Make Payment. .................................................................. 97
Figure 104 User Manual: Homepage ................................................................................. 98
Figure 105 User Manual: Login page. .............................................................................. 98
Figure 106 User login code 1 ............................................................................................. 99
Figure 107 User login code 2 ............................................................................................. 99
Figure 108 User Manual: User Page ................................................................................ 100
Figure 109 User Manual: Manager Details ...................................................................... 101
Figure 110 User Manual: Staff Details ............................................................................ 102
Figure 111 User Manual: Client Details .......................................................................... 103
Figure 112 User Manual: Location Details ...................................................................... 104
Figure 113 User Manual: Property Details. ..................................................................... 105
Figure 114 User Manual: Production Details .................................................................. 106

P a g e | 18 M.R Mohamed Rashad Database Design & Development Assignment 1


List of Tables
Table 1 Unnormalized Table .............................................................................................. 30
Table 2 1NF - Student ......................................................................................................... 31
Table 3 1NF - Follower ....................................................................................................... 31
Table 4 2NF – Student ........................................................................................................ 31
Table 5 2NF - Course .......................................................................................................... 31
Table 6 2NF - Follower ....................................................................................................... 32
Table 7 3NF Student ........................................................................................................... 32
Table 8 3NF Follower ......................................................................................................... 32
Table 9 3NF - Course .......................................................................................................... 33
Table 10 3NF – Lecture....................................................................................................... 33
Table 11 Production ........................................................................................................... 33
Table 12 Client.................................................................................................................... 34
Table 13 Location ............................................................................................................... 34
Table 14 Property ............................................................................................................... 35
Table 15 Work on ............................................................................................................... 35
Table 16 Use ....................................................................................................................... 35
Table 17 Staff ..................................................................................................................... 36
Table 18 Advantages and Disadvantages of an IDE ........................................................... 47
Table 19 A Manual Test Plan .............................................................................................. 69
Table 20 Test Case 01......................................................................................................... 70
Table 21 Test Case 02......................................................................................................... 71
Table 22 Test Case 03......................................................................................................... 72
Table 23 Test Case 04......................................................................................................... 72
Table 24 Test Case 05......................................................................................................... 73
Table 25 Test Case 06......................................................................................................... 75

P a g e | 19 M.R Mohamed Rashad Database Design & Development Assignment 1


Table 26 Test Case 07......................................................................................................... 76
Table 27 Test Case 08......................................................................................................... 76

P a g e | 20 M.R Mohamed Rashad Database Design & Development Assignment 1


Acknowledgment

I would like to sincerely thank Mr. Abdur Rahman for all her help and consideration
during these lectures and assignment. He gave personal care for every student and
showed concern to everyone student without any inequality. His advice has been helpful
to me in grasping important ideas.

I want to express my sincere gratitude to my family, especially to my mom, for her


constant support and encouragement. My motivation has come from your faith in me.

I also want to express my gratitude to everyone who has helped me along the way in my
academic career, whether directly or indirectly. Your help has been invaluable, and I
appreciate everyone's efforts in making this project achievable.

Thank you for your support.


M.R.M Rashad

P a g e | 21 M.R Mohamed Rashad Database Design & Development Assignment 1


Introduction

In this assignment, our objective is to design and implement a relational database system
for Quiet Attic Films production company. The company need a strong database to
effectively handle the broad range of projects it produces.

There is main 4 activities and each of them aiming to guide use through the process of
creating an effective database solution. Initially, we'll analyze the user and system
requirements provided by Quiet Attic Films, focusing on understanding their
organizational structure and data needs. This analysis will lead us to design conceptual
and logical database models, capturing the relationships between entities and their
attributes.

Moving on to the implementation phase in Activity 2, we'll translate our conceptual


design into a tangible database system using SQL Data Definition Language (DDL)
statements. By creating tables, defining relationships, and enforcing data integrity
constraints, we'll lay the foundation for a functional database solution. Additionally, we'll
develop user interfaces for data manipulation and implement security mechanisms to
protect sensitive information from unauthorized access.

In Activity 3, quality control comes first. Here, we'll create a thorough test strategy to
verify the system to specified requirements. Our goal is to guarantee the database
system's dependability and usefulness by running relevant test cases using iterative testing
procedures. To aid in the comprehension and upkeep of the created solution, we will also
provide technical and user documentation that describes the architecture, data flow, and
operating processes of the system. We will find areas for improvement and make
recommendations for improvements to increase the database system's ability to satisfy
Quiet Attic Films' changing demands through assessment and feedback.

P a g e | 22 M.R Mohamed Rashad Database Design & Development Assignment 1


1. Activity 1

By the end of this activity, we can understand what a database is, what are
requirements, and some important stuff about database design and development.

What is Database?
A database is an organized collection of information or data stored electronically in a
computer system. The computerized data managed through a Database Management
Studio (DBMS). It helps to easily access, manage, delete, create, and update data.

1.1 What Are Requirements?


• A requirement is a specific need or condition that must be met or satisfied
service or a system to achieve a certain goal.
• Mainly there are two types of requirements.
1. User requirements
2. System requirements

1.1.1 User requirements


• It is a place where clients give their expectations and fundamental need to
be fulfilled by the software.
• Users of Quiet Attic Film
➢ Admin, Production Manager, Staff, Client
• Some user requirements for Quiet Attic Films,
o Able to view, update and delete the details from Production, Client,
Properties and Staff for the users.
o Should be able to view ongoing productions.
o Abilit to create profiles for clients, staffs, and production manager.
o Should be able to check salary information.
o Should be able to check the availability of staffs and properties.
o The system must be fast and efficient.
o Should be able to view previously done productions.
o Should be able to create profile.
o Should be able to view production work availabilities.
o Clients should be able to contact the production company.
o The system must run in any environment.

P a g e | 23 M.R Mohamed Rashad Database Design & Development Assignment 1


o The user interface includes eye catching designs.
1.1.2 System requirements
• This is the technical requirement for the software to run very functional
and efficiently.
• There are 4 types of system requirements,
a. Functional Requirements.
b. Non-Functional Requirements.
c. Software Requirements.
d. Hardware Requirements.

a. Functional Requirements
• Mandatory requirements need to be fulfilled by the software, based on user
requirements and the developer.
• Some functional requirements for Quiet Attic Films
Admin
o Ability to view, update and delete the details from Production, Client,
Properties and Staff for the users.
o Should be able to check which staff working in which production.
o Should be able to check client’s production and location.
o Should be able to check the availability of staffs and properties.
o Should be able to check payment history.

Production Manger
o Should be able to create profiles.
o Should be able to accept or decline appointments.
o Ability to view ongoing productions.
o Should be able to check which staff working in which production.
o Should be able to check payment history.

Staff
o Should be able to create profile.

P a g e | 24 M.R Mohamed Rashad Database Design & Development Assignment 1


o Should be able to check salary information.
o Should be able to view production work availabilities.
o Should be able to edit own details.
o Should be able to check ongoing productions.

Client
o Should be able to make an appointment.
o Should be able to make a payment.
o Should be able to view previously done productions.
o Should be able to check their productions works.
o Should be able to create a profile.

b. Non-Functional Requirements
• Some extra functions can be added to the software but it’s not mandatory.
• Some Non-Functional Requirements
o Security, Storage, Performance, Flexibility
c. Software Requirements
▪ It is a comprehensive description of the intended purpose and environment for
software under development.
▪ Basica software and software version needed to run the program.
o Windows 7 or latest version
o Visual Studio 2015 or above
o MySQL version 2015 or above
d. Hardware Requirements
▪ Some certain hardware needed to run a certain software.
▪ Mostly it’s based in Processor, Ram, Storage Devices.
o Processor – Intel Core I5
o Ram - 8 GB
o Storage – 10 GB

P a g e | 25 M.R Mohamed Rashad Database Design & Development Assignment 1


1.2 What is ER Diagram?
• ER Diagram stands for Entity Relationship Diagram. It is a type of flowchart that
illustrates how entities relate to each other within the system.
• There are symbols for entity, attributes, and relationships to identify them and
understand how it works within a database.
Entity
• It helps to identity as an object, person, event, or concept in a database system
and in the user environment about which the organization wishes to maintain the
data.
• A collection of entities that share common properties or characteristics called
Entity types.
• Entity types are shown in rectangular box.

Employee

Attributes
• Attributes represent the characteristics of an entity. And every type of attribute
has its identical shape.
• There are 6 types of attributes.
1. Simple attribute - An attribute that cannot be broken down to components
part. (Ex – Staff_id, Basic_salary)
2. Composite attribute – An attribute that can subdivide to component parts.
(Ex – Name, Address)
3. Single valued attribute – An attribute that take only one value for a given
entity. (Ex – Staff_id)
4. Multi valued attribute - An attribute that take more than one value for a given
entity. (Ex – Telephone_number, Skill)
5. Stored attribute – An attribute whose values are stored in the database.
(Ex – Basic_salary, DOB)
6. Derived attribute – An attribute whose value can be calculated from related
stored attribute. (Ex – Annual_salary, Age)

P a g e | 26 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 1 ER Diagram

Relationship
• Relationship represents the association or connection between two or more
entities. It shows how entities are related and interacted with each other within a
database.
EX – Teachers teach subjects.

Figure 2 Relationship

• The primary relationship types are,


1. One-to-One (1:1): One record in first entity is related to exactly one record in
the second entity.
Ex: An employee has one Employee ID

P a g e | 27 M.R Mohamed Rashad Database Design & Development Assignment 1


2. One-to-Many (1:N): A record in the first entity can be related to one or many
records in second entity, but a record in the second entity is related to one
record in first entity.
Ex: One customer can place many orders, but one order can be placed by only
one customer.
3. Many-to-Many (N:M): Each record in both entities can be related to many
records in both entities.
Ex: A course can have multiple students, and a student can enrol to multiple
courses

ER-Diagram for the given scenario.

Figure 3 ER Diagram for Quiet Attic Films

P a g e | 28 M.R Mohamed Rashad Database Design & Development Assignment 1


Mapping above ER-Diagram into relation

Production (Production_id, Production_type, Number_of_Days, Client_id)

Client (Client_id, C_contact_number, Client_name)

Location (Location_id, City, L_address, Production_id)

Work on (Production_id, Staff_id)

Staff (Staff_id, Staff_name, Staff_type, Salary, S_contact_number, Address,


DOB)

Use (Production_id, Property_id)

Properties (Property_id, Property_name, Property_type, Location_id)

1.3 What is Normalization?


• Normalization is a process that helps to organize the data in a database to reduce
data redundancy (Data repetition) and avoid anomalies.
• As an action it creates tables according to the normalization rules, remove data
redundancy and dependency, make it more flexible and understandable to avoid
anomalies.

Anomaly
o It simply means error.
o An inconsistency or an unexpected behaviour that can occur when inserting,
updating, or deleting a data from a database.
o The reason is poorly structured database that have not been normalized.

P a g e | 29 M.R Mohamed Rashad Database Design & Development Assignment 1


o There are 3 types of anomalies,
1. Insertion Anomaly – This anomaly happens when a specific data cannot
be added to the database.
2. Update Anomaly – This anomaly happens when a specific data cannot be
changed or update in the database. Because of data redundancy the
specific data couldn’t be able to Updata in all tables.
3. Deletion Anomaly – This anomaly happens when a specific data cannot
be deleted from the database.

Unnormalized Table (0NF)

Student Table
Student_ID Name University Major Course_ID Course title Lec_Name Lec_Loc Mark
S001 Kamal Colombo Accounts CA Co. Arch Hari X01 65
S001 Kamal Colombo Accounts AA Accounting Nisan Y02 74
S003 Nipun Jaffna Com.SC CA Co. Arch Kelvin X01 89
S003 Nipun Jaffna Com.SC DM Data Mining Lakshman Z05 76
S003 Nipun Jaffna Com.SC CS Co. Security Kavi L03 54
Table 1 Unnormalized Table

1.3.1 Importance of normalization

Normalization mainly aims to reduce the anomalies by organizing data in a


database to minimize data redundancy and dependency. So, it helps to ensure
that data can be stored very efficiently, and insertion, update and deletion can be
performed without any unexpected error.
• Levels of normalization
1. First Normal Form (1NF):
o This form ensures that there are no repeating groups and data
duplications.
o It removes the repeating groups and create a new table and assign the
copy primary key of original table.
o Student Table in 1NF:

P a g e | 30 M.R Mohamed Rashad Database Design & Development Assignment 1


Student
Student_ID Name University Major
S001 Kamal Colombo Accounts
S002 Nipun Jaffna Com.SC
Table 2 1NF - Student

Follower
Student_ID Course_ID Course_Title Lec_Name Lec_loc Mark
S001 CA Co. Arch Hari X01 65
S001 AA Accounting Nisan Y02 74
S003 CA Co. Arch Kelvin X01 89
S003 DM Data Mining Lakshman Z05 76
S003 CS Co. Security Kavi L03 54
Table 3 1NF - Follower

2. Second Normal Form (2NF):


o This form ensures that there are no partial dependencies.
o It removes the attributes that are depends on composite key, places them
in a new table and assigning the composite key as the primary key to the
new table.
o Tables in 2NF:

Student
Student_ID Name University Major
S001 Kamal Colombo Accounts
S002 Nipun Jaffna Com.SC
Table 4 2NF – Student

Course
Course_ID Course_Title Lec_Name Lec_loc
CA Co. Arch Hari X01
CA Co. Arch Kelvin X01
AA Accounting Nisan Y02
DM Data Mining Lakshman Z05
CS Co. Security Kavi L03
Table 5 2NF - Course

P a g e | 31 M.R Mohamed Rashad Database Design & Development Assignment 1


Follower
Student_ID Course_ID Mark
S001 CA 65
S001 AA 74
S003 CA 89
S003 DM 76
S003 CS 54
Table 6 2NF - Follower

3. Third Normal Form (3NF):


o This form ensures that there are no transitive dependencies.
o It removes the attributes that are transitively dependent on non-key
attributes, place them in a new table and add the copy of attribute which
are the determinants of the offending attributes. This will automatically
become the primary key of new table.
o Tables in 3NF:
Student
Student_ID Name University Major
S001 Kamal Colombo Accounts
S002 Nipun Jaffna Com.SC
Table 7 3NF Student

Follower
Student_ID Course_ID Mark
S001 CA 65
S001 AA 74
S003 CA 89
S003 DM 76
S003 CS 54
Table 8 3NF Follower

P a g e | 32 M.R Mohamed Rashad Database Design & Development Assignment 1


Course
Course_ID Course_Title Lec_Name
CA Co. Arch Hari
CA Co. Arch Kelvin
AA Accounting Nisan
DM Data Mining Lakshman
CS Co. Security Kavi
Table 9 3NF - Course

Lecture
Lec_Name Lec_Loc
CA X01
CA X01
AA Y02
DM Z05
CS L03
Table 10 3NF – Lecture

So, this is an example of how to normalize an unnormalized table.

1.3.2 Normalized form of Quiet Attic Film production sheet

Production
Production_id Production_type Number_of_Days Client_id

2 Advertisement 5 1

6 Information Film 1 2

7 Training Film 2 2

Table 11 Production

P a g e | 33 M.R Mohamed Rashad Database Design & Development Assignment 1


Client
Client_id Client_name C_contact_number DOB Address
1 Epom Motors 0762595487 25.06.1986 NO 2, Golden
street, Kady.
2 Ministry of 0779656596 19.01.1975 No 6, School Road,
Agriculture, Galle.
Fisheries and
food
Table 12 Client

Location
Location_id L_address City Production_id
00300 Greenwich London 2
Park, London
00700 Windsor Castle Windsor 2
Grounds
00800 River Cam, Cambridge 6
Cambridge
00900 Quiet Attic London 6
Studio
00950 St James’s London 7
Park, London

Table 13 Location

P a g e | 34 M.R Mohamed Rashad Database Design & Development Assignment 1


Property Work on

Property_id Property_name Property_type Location_id Production_id Staff_id

5001 Wrecked Car Vehicle 00300 2 1001

5002 Car Vehicle 00300 2 1008

5003 Car Vehicle 00700 2 1003

5004 Tractor Vehicle 00950 2 1012

5005 Boat Vehicle - 2 1009

5006 Chair Furniture - 2 1002

5007 Chair Furniture - 2 1006

5008 Table Furniture - 6 1008

5009 Table Furniture - 6 1013

5010 Cupboard Furniture - 6 1010

1253 Suburban House Building - 6 1004

1454 Inner City House Building - 6 1011


7 1001
Table 14 Property
7 1013
7 1003
7 1005
7 1007
Use
Production_id Property_id
Table 15 Work on
2 5001
2 5002
2 5003
7 5004

Table 16 Use

P a g e | 35 M.R Mohamed Rashad Database Design & Development Assignment 1


Staff
Staff_id Staff_name Staff_type Salary S_contact_number DOB Address

1001 John Camera Crew 100.00 0778542316 24.03.1992 No 2, Temple Road, Matara

1002 Nimal Actor 200.00 0743259874 15.05.1996 No 10, Market Road, Galle

1003 Vipun Runner 25.00 0726541239 02.05.2000 No 40, Court Road, Kinniya

1004 Farhad Producer 550.00 0753244865 06.09.2001 No 10, Main Road, Colombo

1005 Dhanushka Producer 550.00 0751694582 30.03.1995 No 24, Market Road, Kandy

1006 James Actor 200.00 0762548326 24.02.1989 No 65, Theatre Road, chillaw

1007 Hendry Voice Actor 100.00 0712548965 10.10.1991 No 02, 1st Cross Road, Galle

1008 Niyas Camera Crew 100.00 0773014586 24.11.1987 No 10, St Peter Road, Matara

1009 Mike Actor 200.00 0710540065 02.12.1999 No 36, Park Road, Kandy

1010 Kasun Runner 25.00 0785421565 20.12.1998 No 48, Mall Road, Vavuniya

1011 Shakthi Voice Actor 100.00 0762589631 31.07.1990 No 35, Lake Road, Kandy

1012 Siyath Producer 550.00 0774125896 10.12.1979 No 79, Station Road, Jaffna

1013 Nuwan Camera Crew 100.00 0789874561 25.06.1989 No 55, 2nd Cross Road, Galle

1014 Charley Actor 200.00 0774503210 16.12.2000 No 06, Kovil Road, Puttalam

Table 17 Staff

1.4 What is Wireframe? (Jena, n.d.)


• Wireframe is a basic visual interface guideline that shows the layout of an
interface and the connections between its components.
• They act as a blueprint for webpage’s structure, content, and operation.
• Wireframe and other interface designing tools help you to design an interface for
the system.

Wireframe for Quite Attic Film.

P a g e | 36 M.R Mohamed Rashad Database Design & Development Assignment 1


Home page.

Figure 4 Wireframe - Home Page

User Login Page.

Figure 5 Wireframe - Login Page

P a g e | 37 M.R Mohamed Rashad Database Design & Development Assignment 1


Admin Access Page.

Figure 6 Wireframe - Admin Access Page

Manager Access Page.

Figure 7 Wireframe - Manager Access Page

P a g e | 38 M.R Mohamed Rashad Database Design & Development Assignment 1


Client Access Page.

Figure 8 Wireframe - Client Access Page

Staff Access Page.

Figure 9 Wireframe - Staff Access Page

P a g e | 39 M.R Mohamed Rashad Database Design & Development Assignment 1


Manager Details.

Figure 10 Wireframe - Manager Details

Client Details.

Figure 11 Wireframe - Client Details

P a g e | 40 M.R Mohamed Rashad Database Design & Development Assignment 1


Staff Details.

Figure 12 Wireframe - Staff Details

Production details.

Figure 13 Wireframe - Production Details

P a g e | 41 M.R Mohamed Rashad Database Design & Development Assignment 1


Property Details.

Figure 14 Wireframe - Property Details

Location Details.

Figure 15 Wireframe - Location Details

P a g e | 42 M.R Mohamed Rashad Database Design & Development Assignment 1


To create this system, I have used Microsoft visual studio and SQL Server Management
Studio

Visual Studio
• Visual Studio is an integrated development environment (IDE) software that helps to
develop software codes very efficiently.
• It has compilers, code completion tools, graphical designers, and many more for
enhance developers’ productivity.
• When it comes to DBMS included interface development, it has some varieties of
feature and tools.
o Windows Forms:
Visual studio provides windows forms to create visually appealing and
interactive user interfaces.
o Database Forms:
Visual studio provides database form to create databases and implement SQL
queries and commands. By this we can store data in a proper way and retrieve it
whenever possible.

SQL Server Management Studio (SSMS)


• SQL Server Management Studio is an integrated environment for managing any
SQL infrastructure.
• It helps to access, configure, manage, administer, and develop all components of
SQL server.
• As a use of it, it helps to design and develop database.
o Table Designer:
SSMS has a visual table designer that helps to create, update, delete, and modify
database tables. And it defines columns, keys, and relationships.
o Query Editor:
SSMS has an integrated query editor that helps to execute SQL queries.

P a g e | 43 M.R Mohamed Rashad Database Design & Development Assignment 1


2. Activity 2

In this activity I have explained about the process of making a fully functional system.
So, to complete it we'll go through the types of SQL, what is and IDE, use of SSMS in
software development, interface development with Visual Studio and more.

There are several types of SQL queries.

2.1 Types of SQL queries

There are five types of SQL commands,


1. Data Definition Language (DDL)
2. Data Manipulation Language (DML)
3. Data Control Language (DCL)
4. Transaction control Language (TCL)
5. Data Query Language (DQL)

1. Data Definition Language (DDL) (Anon., n.d.)


• Data Definition Language (DDL) is a subset of SQL. It is a language for describing
data and its relationships in a database. You can generate DDL in a script for database
objects to: Keep a snapshot of the database structure. Set up a test system where the
database acts like the production system but contains no data.
• Some of DDL commands:
CREATE, DROP, ALTER, TRUNCATE, COMMENT, and RENAME

2. Data Manipulation Language (DML) (GeeksforGeeks, 2023)


• It is a part of SQL statement that manage database and data access. Basically, DML
and DCL belong together.
• Some DML commands:
INSERT, UPDATE, DELETE, and LOCK

3. Data Control Language (DCL) (GeeksforGeeks, 2023)


• It manages command that assign user's access privileges, rights, permissions, and
other controls of the database system.

P a g e | 44 M.R Mohamed Rashad Database Design & Development Assignment 1


• Some DCL commands:
GRANT, and REVOKE

4. Transaction control Language (TCL) (GeeksforGeeks, 2023)


• Transactions group a set of tasks into a single execution unit. Every transaction starts
with a particular task and concludes when every work in the group has been properly
finished. The transaction fails if any of the tasks are unsuccessful. A transaction might
only have two possible outcomes: success or failure.
• Some TCL commands:
COMMIT, ROLLBACK, and SAVEPOINT

5. Data Query Language (DQL) (GeeksforGeeks, 2023)


• The purpose of DQL command is to get some schema relation based on the query that
is given to it. We can define DQL as follows it is a component of SQL statement that
allows getting data from the database and imposing order upon it. The SELECT
command is a part of it. With the help of this command, data may be extracted from
the database and used for various purposes.
• Some of DQL commands:
SELECT

2.2 What is an IDE (Prakritjvla, 2024)


• It stands for Integrated Development Environment (IDE). It is a software application
that helps programmers develop software code efficiently. It increases developer
productivity by combining capabilities such as software editing, building, testing, and
packaging in an easy-to-use application. Just as writers use text editors and
accountants use spreadsheets, software developers use IDEs to make their job easier.

• Features of an IDE
o Code Editor:
A specialize text editor for write coding with various features as autocompletion
and code folding.
o Build Automation:

P a g e | 45 M.R Mohamed Rashad Database Design & Development Assignment 1


Ability to compile and build software projects with ease and able to support
multiple programming languages and build systems.

o Syntax Highlighting:
It highlights different elements of the code in different colors and makes it easier
to read and understand the code. This helps when we work with an algorithm that
involves multiple functions, variables, and data structures.
o Quick Action & Refactoring:
It provides short terms for common actions like fixing bugs, optimizing code
structure, readability, and overall develops efficiency and code quality.
o Debugging:
Tools for debugging such as breakpoints, step-by-step execution, and variable
inspection.
o Version control Integration:
Support for version control systems like Git, allowing developers to manage their
code revisions and collaborate with others.
o Testing:
Testing includes integration with testing frameworks and in-IDE test execution
capabilities.
o Code Analysis:
Tools that can be utilized to analyze code encompassing static code analysis,
linting as well as performance profiling.
o Project Management:
Assistance with the management of software projects, encompassing
dependencies, build configurations and deployment is provided through Project
Management.
o Extensibility:
Extensibility involves the capability to incorporate additional features and
functionality by using plugins or extensions.
o Integrated Documentation:
Inclusion of IDE-based access to help resources and documentation.
o User Interface:
A user-friendly and customizable interface to assist.

P a g e | 46 M.R Mohamed Rashad Database Design & Development Assignment 1


Advantages and Disadvantages of an IDE

Advantages Disadvantages
• Code Assistance: It has various features to • Resource Intensive: It's hardware dependable,
features to assist coding. so old hardware pcs hard to compete with it.

• Debugging Tools: IDEs includes powerful • Lack of Portability: IDEs are typically tied to a
debugging tools. specific platform

• Language Support: It supports a large number • Cost: Even though many IDEs open source
of coding languages. some top-class IDEs are expensive.

• Integrated Tool: it has built-in equipment • Limited Flexibility: IDEs are often tailor-made
such as GUI layout and database control. to precise coding languages or framework
Table 18 Advantages and Disadvantages of an IDE

• IDE feature that helped to enhance the code that I wrote.


Used visual studio 2022 to complete this project. And the IDE features that helped me
to write the code.
o Code Editor:
A specialize text editor for write coding and it’s so easy to with various features as
autocompletion that helps when we do small mistakes and code folding help to
work with multiple voids at the same time.

Figure 16 Code Editor

P a g e | 47 M.R Mohamed Rashad Database Design & Development Assignment 1


o Syntax Highlighting:

Figure 17 Syntax Highlighting.

It helps by highlighting different elements of the code in different colors and


makes it easier to read and understand the code. This helps when we work with an
algorithm that involves multiple functions, variables, and data structures.

o Debugging:

Figure 18 Debugging.

It helps to find and fix errors in the errors, and personally helped me a lot when I
was working on the project. Tools for debugging such as breakpoints, step-by-step
execution, and variable inspection help to identify where the things are going
wrong and fix it.

P a g e | 48 M.R Mohamed Rashad Database Design & Development Assignment 1


o Testing:

Testing includes integration with testing frameworks and in-IDE test execution
capabilities. It helps to execute the program, by that we can get output of the
program, find any errors, and debug it.

Visual Studio
• Visual Studio is an integrated development environment (IDE) software that helps to
develop software codes very efficiently.
• It has compilers, code completion tools, graphical designers and many more for
enhance developers’ productivity.
• When it comes to DBMS included interface development, it has some varieties of
feature and tools.
o Windows Forms:
Visual studio provides windows forms to create visually appealing and
interactive user interfaces.
o Database Forms:
Visual studio provides database form to create databases and implement SQL
queries and commands. By this we can store data in a proper way and retrieve it
whenever possible.

P a g e | 49 M.R Mohamed Rashad Database Design & Development Assignment 1


2.3 Interface of Quiet Attic Films system

Homepage

Figure 19 Quiet Attic Films - Homepage Interface

User Login

Figure 20 Quiet Attic Films - User Login Interface

P a g e | 50 M.R Mohamed Rashad Database Design & Development Assignment 1


Admin page

Figure 21 Quiet Attic Films – Admin Page Interface

Manager page

Figure 22 Quiet Attic Films - Manager Page Interface

P a g e | 51 M.R Mohamed Rashad Database Design & Development Assignment 1


Staff page

Figure 23 Quiet Attic Films - Staff Page Interface

Client page

Figure 24 Quiet Attic Films - Client Page Interface

P a g e | 52 M.R Mohamed Rashad Database Design & Development Assignment 1


Manager Details

Figure 25 Quiet Attic Films - Manager Details Interface

Staff Details

Figure 26 Quiet Attic Films - Staff Details Interface

P a g e | 53 M.R Mohamed Rashad Database Design & Development Assignment 1


Client Details

Figure 27 Quiet Attic Films - Client Details Interface

Location Details

Figure 28 Quiet Attic Films -Location Details Interface

P a g e | 54 M.R Mohamed Rashad Database Design & Development Assignment 1


Production Details

Figure 29 Quiet Attic Films - Production Details Interface

Property Details

Figure 30 Quiet Attic Films - Property Details Interface

P a g e | 55 M.R Mohamed Rashad Database Design & Development Assignment 1


2.4 SQL Server Management Studio (SSMS) (JavaTpoint, n.d.)
• SQL Server Management Studio is windows software or a client too l that helps to
connect and work with a SQL Server in a graphical interface instead of using
command line. Microsoft SQL 2005 launched the management studio to work with
SQL Server and Azure SQL Database.
• It allows DBA and Database developers to configure, manage, and administer all
components within SQL Server. Main functionality of SSMS is to create, update,
delete, maintain the tables and databases, execute SQL queries for inserting, updating,
and deleting data, creating, and managing stored procedures, triggers, views, and
cursors. It also enables us to set privileges(securities) on database and their objects.
• Interface of SSMS

Figure 31 Data Management Studio IDE

1. Query Editor
This is the part that we use to write all the queries. MS SQL server offers interactive
and user-friendly interface and gives recommendations for tables, columns, and
other items for easy query creation and a variety of other features.

2. Object Explorer
Object Explorer shows the database objects contained in the server in a tree format.
For quick reference, this section lists all the database, security, and server objects.
We can see each object's components by simply pressing the plus icon (+) to the left
of the object to expand it.

P a g e | 56 M.R Mohamed Rashad Database Design & Development Assignment 1


3. Database Selection Dropdown
It's an option to let users select the database that they need to work with.

4. Execute Button
It helps the users to run the queries and get the results.

5. Cancel Executing Query


This will stop the executing query.

6. Parse
This will validate the query's syntax but doesn't check the database.
7. Changing query results destination
This will allow us to set the query result's destination. There are three options for
that:
1) Results to Grid
2) Results to Text
3) Results to File

8. Comment/Uncomment out the Selected Lines


These buttons allow us to comment or uncomment the lines of code we have chosen.

2.5 Data validation (Taylor, n.d.)


• Before we jump into the SQL query part let's talk about data validation. Data
validation is a process that verifies and validates data that is collected before it is
used. Any type of data handling task, whether it is gathering data, analyzing it, or
structuring it for presentation, must include data validation to ensure accurate
results.
• Types of data validation
1) Data type check: This confirms that the entered data has the correct data type.
EX: Text, Numbers
2) Code check: Ensures that a field is selected from a valid list of values or follows
certain formatting rules.
EX: It is easier to verify that a postal code is valid by checking it against a list of
valid codes

P a g e | 57 M.R Mohamed Rashad Database Design & Development Assignment 1


3) Range check: This confirms that the entered data is within the range we assign.
EX: mobile = nchar(10) Only 10 numbers can be added to the field.
4) Format check: This confirms that the entered data is in the correct format.
EX: date format: YYYY-MM-DD
5) Consistency check: A consistency check is a type of logical check that confirms
the data’s been entered in a logically consistent way.
EX: checking if the delivery date is after the shipping date for a parcel.
6) Uniqueness check: It checks for the unique data.
EX: Email address, ID number

2.6 SQL Query for Quiet Attic Films

CREATE and USE a database.

Figure 32 CREATE and USE database.

CREATE and INSERT Client table and data.

Figure 33 Client Table

Client table data.

Figure 34 Client Tabe Data

P a g e | 58 M.R Mohamed Rashad Database Design & Development Assignment 1


CREATE and INSERT Production table and data.

Figure 35 Production Table

Production table data

Figure 36Production Table Data

CREATE and INSERT Location table and data.

Figure 37 Location Table

Location table data

Figure 38 Location Table Data

P a g e | 59 M.R Mohamed Rashad Database Design & Development Assignment 1


CREATE and INSERT Property table and data.

Figure 39 Property Table

Property table data

Figure 40 Property Table Data

CREATE and INSERT Staff table and data.

Figure 41 Staff Table

P a g e | 60 M.R Mohamed Rashad Database Design & Development Assignment 1


Staff table data

Figure 42 Staff Table Data

CREATE and INSERT Login table and data.

Figure 43 Login Table

Login table data

Figure 44 Login Table Data

P a g e | 61 M.R Mohamed Rashad Database Design & Development Assignment 1


2.7 Implementation of Database and SQL Queries in the system

2.7.1 Connecting Database to Visual Studio

• Step 01: Choose Tools

Figure 45 Step 01: Choose Tools

• Step 02: Choose Connect to Database

Figure 46 Choose Connect to Database

• Step 03: Choose Microsoft SQL Server

P a g e | 62 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 47 Choose Microsoft SQL Server

• Step 04: Type your Server Name and choose a Database.

Figure 48 Choose server and Database.

With these steps you can connect your database to the visual studio, but to access
and update the database we need to write a code for the connection establishment.

P a g e | 63 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 49 SQL Connection Establishment.

2.7.2 Using SQL commands to develop the system.

• INSERT Command

Figure 50 INSERT Command

• UPDATE Command

Figure 51 UPDATE Command

P a g e | 64 M.R Mohamed Rashad Database Design & Development Assignment 1


• SELECT Command

Figure 52 SELECT Command

• DELETE Command

Figure 53 DELETE Command

Some other commands to get information from the tables directly.

• BETWEEN

Figure 54 BETWEEN Command

Figure 55 BETWEEN Command result.

P a g e | 65 M.R Mohamed Rashad Database Design & Development Assignment 1


• ORDER BY

Figure 56 ORDER BY Command

Figure 57 ORDER BY Command result.

• INNER JOIN

Figure 58 INNER JOIN Command

Figure 59 INNER JOIN Command result.

P a g e | 66 M.R Mohamed Rashad Database Design & Development Assignment 1


• GROUP BY

Figure 60 GROUP BY Command

Figure 61 GROUP BY Command Result

• HAVING

Figure 62 HAVING Command

Figure 63 HAVING Command result.

• IN

Figure 64 IN Command

Figure 65 IN Command result

P a g e | 67 M.R Mohamed Rashad Database Design & Development Assignment 1


3. Activity 3

In this activity I have provided some test case and user feedback to show the capabilities
and the minor issues that Quiet Attic Films System has.

3.1 Software testing (GeekforGeeks, 2024)

• Software testing is a method to check whether the program is running and


functioning as expected requirements and ensures the software is bug-free. The
purpose of this test is to find out the errors, faults, or missing requirements in
contrast to actual requirements.
• Importance of software testing.
o Bugs can be identified early and can be fixed before the delivery of the software.
o Uncovers the errors and defects in the software and helps to fix them early.
o It ensures reliability, security, and high performance which helps to save time,
cost, and customer satisfaction.
o If an error is encountered after software publication, it can lead to a waste of
time and resources, resulting in potential financial losses. So, by performing
software testing at an early stage we can avoid unnecessary losses.

A manual test plan for Quiet Attic Films system


Quiet Attic Film System
About the system Quiet Attic Films System is mainly developed to manage all
sorts of production details
Objectives This document mainly describes the plan for testing the
database through the system.
• Testing the features of the system.
• Test how database response for the commands.
• To see all the requirements are fulfilled.
Testing items Main functions of the system
Features to be • Access the database.
tested • Create, update, delete, and search for a value.
• User privilege.

P a g e | 68 M.R Mohamed Rashad Database Design & Development Assignment 1


• Log in function.
• Connection within forms.
Test Environment Asus Vivo book, Microsoft SQL Server Management Studio
2019, Visual Studio 2022
Tasks Test planning, Test Design, Test development, Test execution.
Table 19 A Manual Test Plan

Test Cases

Test Case: 01

Scenario Register a new staff to the staff table in the database

Test case Register Staff

Test Staff ID: 1005


Data Staff Name: Dhanushka
DOB: 1995-03-30
Staff Type: Producer
Staff Salary: 550
Staff Contact Number: 0751694582
Address: No 24, Market Road, Kandy

Figure 66 Test 01: Test Data

P a g e | 69 M.R Mohamed Rashad Database Design & Development Assignment 1


Expected The details should be saved to the database
Results

Actual The staff detail saved successfully.


Results

Figure 67 Test 01: Result

Pass/Fail Pass

Table 20 Test Case 01

Test Case: 02

Scenario Update an existing staff's details in the database


Test case Update details
Test Data Update the Staff ID: 1004 Contact number with "0743694565"

Figure 68 Test 02: Test Data

Expected Results The contact number of the Staff ID should be updated

P a g e | 70 M.R Mohamed Rashad Database Design & Development Assignment 1


Actual Results The contact number updated successfully

Figure 69 Test 02: Result

Pass/Fail Pass
Table 21 Test Case 02

Test Case: 03

Scenario Deleta an existing staff's details in the database


Test Table Data Deletion
case
Test Delete the staff where the Staff ID: 1005
Data

Figure 70 Test 03: Test Data

P a g e | 71 M.R Mohamed Rashad Database Design & Development Assignment 1


Expecte Staff with the Staff ID:1005 will be deleted
d
Results
Actual The data deleted successfully.
Results

Figure 71 Test 03: Result

Pass/Fai Pass
l
Table 22 Test Case 03

Test Case: 04

Scenario Provide an error message when the field are empty while register
Test case Display error message
Test Display error message when the required fields are empty while registering data in
Data location table
Expected Display an error message when the required fields are empty while registering in location
Results table
Actual The program has stopped
Results

Figure 72 Test 04: Result

Pass/Fail Fail
Reason Semi-Colon (;) expected
Table 23 Test Case 04

P a g e | 72 M.R Mohamed Rashad Database Design & Development Assignment 1


Test Case: 05

Scenario Check Username, Password which are already save in table


Test case Valid Username & Password
Test Username: 1005 (False Data)
Data Password: John (False Data)

Figure 73 Test 05: Test Data

Expected Display an error message when the incorrect username or password entered
Results
Actual "Invalid. Please try again!"
Results

Figure 74 Test 05: Result

Pass/Fail Pass
Table 24 Test Case 05

P a g e | 73 M.R Mohamed Rashad Database Design & Development Assignment 1


Test Case: 06

Scenario Check Username, Password which are already save in table and redirect them to the
assigned form
Test case Redirect to the assigned form
Test Username: 1001
Data Passwords: John

Figure 75 Test 06: Test Data

Expected Redirect to the Staff form


Results
Actual Redirected to the staff form.
Results

Figure 76 Test 06: Result

P a g e | 74 M.R Mohamed Rashad Database Design & Development Assignment 1


Pass/Fail Pass
Table 25 Test Case 06

Test Case: 07

Scenario Display the details of the location where the Location_id: 00300
Test case Valid data type
Test Location_id: 00300
Data

Figure 77 Test 07: Test Data

Expected Display the details of the location where the Location_id: 00300
Results
Actual Display the details.
Results

P a g e | 75 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 78 Test 07: Results

Pass/Fail Pass
Table 26 Test Case 07

Test Case: 08

Scenario Add a new property to the database


Test case Add new property
Test Data ID: 5005
Type: Vehicle
Name: Boat
Availability: Available
Expected Results The details should be saved successfully
Actual Results Property detail saved successfully

Figure 79 Test Case 08: Results

Pass/Fail Pass
Table 27 Test Case 08

P a g e | 76 M.R Mohamed Rashad Database Design & Development Assignment 1


Conclusion
From all the above test cases the software has some minor errors that need to be fixed
in the future. The main requirements and the functions seem to be fulfilled.

3.2 Feedback Form


We let some technical and non-technical users experience the Quiet Attic Films System
and get their feedback. The feedback was collected from technical and non-technical
user using a google form. The form and the collected results are below:

Feedback Forms

Figure 80 Feedback Form 01

P a g e | 77 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 81 Feedback Form 02

P a g e | 78 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 82 Feedback Form 03

Responses

Figure 83 Response 01

P a g e | 79 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 84 Response 02

Figure 85 Response 03

P a g e | 80 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 86 Response 04

Figure 87 Response 05

P a g e | 81 M.R Mohamed Rashad Database Design & Development Assignment 1


The Quiet Attic Films System has been positively described by both technical and non-
technical users, according to the survey findings. Most users said they had problems
while retrieving data from the production details. The reason is the columns for Start
and End Dates are not included in the database. Otherwise, they expressed a broad
satisfaction with the interfaces and ability to use it.

Overall, we must fix the error in Production Details, otherwise the system is successful.

P a g e | 82 M.R Mohamed Rashad Database Design & Development Assignment 1


4. Activity 4

In this part necessary technical documentation and user manual are provided. By the
technical documentation, it will be much easier when we do future enhancement and
upgrades done by the same or a different team. For the user documentation, the user will
get a clear idea of the system and will get to know how to operate the system.

4.1 Technical Documentation

Technical documentation is written material that provides vast amounts of information


about the software product or a system. It is designed as a guide to help the users,
developers, testers, and more people who's going to improve the system furthermore in
future. It normally includes details about designs, architecture, functionality,
installation, configuration, development, data structures, coding standards, algorithms,
and more.

Introduction

Abstract:

Leading London, England-based film production firm Quiet Attic videos specializes in
making short educational videos and eye-catching TV commercials. They have given us
the assignment of creating and putting into place a database system that meets their
needs as they work to improve operational effectiveness and data management. To
create a customized database solution, this project requires you to comprehend the
workflow and data management requirements of Quiet Attic Films.

Overview:

This project's main goal is to create a complete database system for Quiet Attic Films
centered around the idea of a "production." Their commercial activities revolve around
their productions, each of which is customized for a particular customer. Notably,
customers could order several projects at once, which calls for a scalable and adaptable
database architecture.

P a g e | 83 M.R Mohamed Rashad Database Design & Development Assignment 1


The administration of production data, such as client information, locations, and assets
used for filming, is an important factor to consider. Productions can take place on one or
more sites, and the implementation of these events depends on a variety of elements,
from structures to costumes. As a result, the database needs to effectively manage the
distribution of assets among various sites and productions.

Moreover, the database must preserve documentation of the categories of employees


assigned to productions, guaranteeing effective distribution and administration of
resources. For Quiet Attic Films, the database's client-centric features and production
lifecycle-based data organization will result in more efficient operations and increased
productivity.

And mainly C# and SQL languages are used in this project.

Requirements

Hardware Requirements
• Processor: Intel Core i5 processor (8th generation or newer) or equivalent AMD
Ryzen processor for optimal performance.
• Memory: 8GB of RAM (16GB recommended)
• Storage: 256GB SSD
• Graphic Card: NVIDIA GTX 660 or Integrated graphics card with DirectX 11
support for basic graphics rendering and video playback.

Software Requirements
• OS: Windows 10 Professional (64-bit) or Windows 11 Professional (64-bit)
• Visual Studio: Visual Studio 2019 or above
• SSMS: SQL Server Management Studio (SSMS) 17.9 or above

P a g e | 84 M.R Mohamed Rashad Database Design & Development Assignment 1


Functionalities:

• User Login
• Register manager, client, staff, production, location, and property details.
• Update manager, client, staff, production, location, and property details.
• Delete manager, client, staff, production, location, and property details.
• Search manager, client, staff, production, location, and property details.

Installation steps:
1) Download software:
• Go to the official Microsoft website or trusted sources to download the installation
files for SQL Server Express, Visual Studio 2022, and SQL Server Management
Studio (SSMS) 2019. Make sure to download the appropriate versions based on your
operating system (e.g., Windows 10).

2) Install SQL Server Express:


• Run the downloaded SQL Server Express setup file and follow the installation
wizard.
• Choose the installation type (Typical, Custom, or Advanced) based on your
preferences and requirements. For simplicity, you can opt for the Typical
installation.
• Follow the prompts to configure SQL Server instance settings, including instance
name, authentication mode (typically choose Windows Authentication for
development purposes), and system configuration options.
Complete the installation process by following the remaining steps in the wizard.

3) Install Visual Studio 2022:


• Run the downloaded Visual Studio 2022 setup file and follow the installation
wizard.
• Select the workload(s) relevant to your development needs. For database
development, ensure that the ".NET desktop development" and "ASP.NET and web
development" workloads are included.

P a g e | 85 M.R Mohamed Rashad Database Design & Development Assignment 1


• Customize installation settings as needed and follow the prompts to complete the
installation process.

4) Install SQL Server Management Studio (SSMS) 2019:


• Run the downloaded SSMS 2019 setup file and follow the installation wizard.
• Choose the installation options and features you want to include during the
installation process. Ensure that the necessary components for database management
and development are selected.
• Follow the prompts to complete the installation of SQL Server Management Studio.

5) Configuration and Setup:


• Once all the software components are installed, configure SQL Server Express as
needed. This may involve setting up database users, configuring security settings,
and creating databases.
• Open Visual Studio 2022 and configure any additional settings or preferences based
on your development environment.
• Launch SQL Server Management Studio (SSMS) 2019 and connect to the SQL
Server Express instance to verify connectivity and access to the database system.

6) Database Creation and Schema setup:


• Create the necessary databases and tables based on the design requirements for
Quiet Attic Films' database system. This may involve running SQL scripts to create
database objects, tables, relationships, and constraints.
• Populate the database with sample data if needed for testing and development
purposes.

By following these steps, you can successfully install the database system designed for
Quiet Attic Films and begin using it to manage their production operations effectively.

P a g e | 86 M.R Mohamed Rashad Database Design & Development Assignment 1


ER Diagram

Figure 88 Technical Documentation: ER Diagram

In other hand for this scenario, I have used UML diagrams to represent the technical
documentation

UML Diagram (micro, n.d.)


• UML Diagram stands for Unified Modeling Language Diagram. It is used to
visualize the system and understand the design, code architecture, and proposed
implementation of complex software system. It helps to keep track of relationships
and hierarchies between important lines of code.
• UML diagrams that I have included in the technical documentation.
1. Use Case Diagram
2. Class Diagram
3. Sequence Diagram
4. Activity Diagram

P a g e | 87 M.R Mohamed Rashad Database Design & Development Assignment 1


4.1.1 Use Case Diagram for the system
Use case diagram provides graphical overview of interactions between actors (Users)
and use case. It helps to illustrate system functionality and outline a system's expected
behavior.

Figure 89 Use Case Diagram for the system.

P a g e | 88 M.R Mohamed Rashad Database Design & Development Assignment 1


4.1.2 Class Diagram for the system
It is a type of static structure diagram that describes the structure of a system by showing
the system's class, attributes, operation, methods, and the relationship among objects.

Figure 90 Class Diagram for the system.

4.1.3 Sequence Diagram for the system

It's also known as an event diagram which helps to display how the users and the objects
interact with each other. It includes the lifeline of objects, process that interact with the
object, and the messages exchanged between the object that performs a function.
Login.

P a g e | 89 M.R Mohamed Rashad Database Design & Development Assignment 1


Figure 91 Sequence Diagram: Login

Register production.

Figure 92 Sequence Diagram: Register Production

P a g e | 90 M.R Mohamed Rashad Database Design & Development Assignment 1


Search production.

Figure 93 Sequence Diagram: Search Production

Update production.

Figure 94 Sequence Diagram: Update Production

P a g e | 91 M.R Mohamed Rashad Database Design & Development Assignment 1


Register Manager.

Figure 95 Sequence Diagram: Register Manager

Search Manager.

Figure 96 Sequence Diagram: Search Manager

P a g e | 92 M.R Mohamed Rashad Database Design & Development Assignment 1


Delete Manager.

Figure 97 Delete Manager

Register Client.

Figure 98 Sequence Diagram: Register Client

P a g e | 93 M.R Mohamed Rashad Database Design & Development Assignment 1


Make an appointment.

Figure 99 Sequence Diagram: Make an Appointment

Make payment.

Figure 100 Sequence Diagram: Make Payment

P a g e | 94 M.R Mohamed Rashad Database Design & Development Assignment 1


4.1.4 Activity Diagram for the system

It is a flowchart that shows all the functions of system activities. It shows everything
from the very beginning, defines the various decision paths and steps that need to be
taken to move on to the next activity. This diagram helps to get a high-level overview of
the dynamic aspects of a system.

Book a production.

Figure 101 Activity Diagram: Book a production.

P a g e | 95 M.R Mohamed Rashad Database Design & Development Assignment 1


Delete a client.

Figure 102 Activity Diagram: Delete a production.

P a g e | 96 M.R Mohamed Rashad Database Design & Development Assignment 1


Make payment.

Figure 103 Activity Diagram: Make Payment.

P a g e | 97 M.R Mohamed Rashad Database Design & Development Assignment 1


4.2 User Documentation

4.2.1 User guide for Quiet Attic Film System

Homepage

Figure 104 User Manual: Homepage

LOGIN: Press 'LOGIN' button to access the system.

Login Page

Figure 105 User Manual: Login page.

1. Enter a registered Username.


• Enter a registered username to the field.
2. Enter the Password
• Make sure the password is correct.
3. Login to the account
4. Clear text boxes
• Clear the fields.
5. Exit
• Get back to the Homepage.

P a g e | 98 M.R Mohamed Rashad Database Design & Development Assignment 1


When a user enters the username and the password, the system can find out which type of
user is trying to log in. By that the user will redirect to the page that assigned to their user
type.

Code for that specific function

Figure 106 User login code 1

Figure 107 User login code 2

P a g e | 99 M.R Mohamed Rashad Database Design & Development Assignment 1


User Page

Figure 108 User Manual: User Page

From the login page, by identifying the user type they will redirect to the specific user
page.
• Admin -> Admin page
• Manager -> Manager page
• Client -> Client page
• Staff -> Staff page

1. My Details: My details from each page show the form that includes the option that
helps to search, register, update, delete the specific user data.
2. Production: It will redirect to the production page
3. Property: It will redirect to the property page
4. Location: It will redirect to the location page.

P a g e | 100 M.R Mohamed Rashad Database Design & Development Assignment 1


Manager details

Figure 109 User Manual: Manager Details

1. Enter ID Number: Enter a valid ID number to Search, register, update or


delete the user details.
2. Enter Name: Enter name to register or update the user details.
3. Enter Date of Birth: Enter DOB to register or update the user details.
4. Enter Contact Number: Enter contact number to register or update the user
details.
5. Enter Address: Enter the home address to register or update the user details.
6. Search: Enter a valid manager id and click search to get the details.
7. Register: Fill all the fields and click register to register a new manager.
Make sure that the Manager ID is not repeated.
8. Update:
• Get the details for a specific manager.
• Make changes in the fields.
• Click update button to update the details.
9. Delete: Inert a valid ID and click delete button to delete.
10. Clear: Clear all the fields
11. Back button: Click back button to get back to the user page.
o Admin -> Admin page
o Manager -> Manager page
o Client -> Client page
o Staff -> Staff page

P a g e | 101 M.R Mohamed Rashad Database Design & Development Assignment 1


Staff Details

Figure 110 User Manual: Staff Details

1. Enter ID Number: Enter a valid ID number to Search, register, update or


delete the user details.
2. Enter Name: Enter name to register or update the user details.
3. Enter Date of Birth: Enter DOB to register or update the user details.
4. Type: Enter Type to register or update the user details.
5. Salary: Enter Salary to register or update the user details
6. Enter Contact Number: Enter contact number to register or update the user
details.
7. Enter Address: Enter the home address to register or update the user detail.
8. Clear: Clear all the fields
9. Back button: Click back button to get back to the user page.
o Admin -> Admin page
o Manager -> Manager page
o Client -> Client page
o Staff -> Staff page

P a g e | 102 M.R Mohamed Rashad Database Design & Development Assignment 1


Client Details

Figure 111 User Manual: Client Details

1. Enter ID Number: Enter a valid ID number to Search, register, update or


delete the user details.
2. Enter Name: Enter name to register or update the user details.
3. Enter Date of Birth: Enter DOB to register or update the user details.
4. Enter Contact Number: Enter contact number to register or update the user
details.
5. Enter Address: Enter the home address to register or update the user details.
6. Search: Enter a valid client id and click search to get the details.
7. Register: Fill in all the fields and click register to register a new client. Make
sure that the Client ID is not repeated.
8. Update:
• Get the details for a specific client.
• Make changes in the fields.
• Click update button to update the details.
9. Delete: Inert a valid ID and click delete button to delete.
10. Clear: Clear all the fields
11. Back button: Click back button to get back to the user page.

P a g e | 103 M.R Mohamed Rashad Database Design & Development Assignment 1


o Admin -> Admin page
o Manager -> Manager page
o Client -> Client page
o Staff -> Staff page

Location Details

Figure 112 User Manual: Location Details

1. Enter ID Number: Enter a valid ID number to Search, register, update or


delete the location details.
2. Enter City: Enter City to register or update location details.
3. Enter Address: Enter Location Address to register or update location
details.
4. Enter Availability Status: Enter availability status to register or update
location details.
5. Search: Enter a valid location id and click search to get the details.
6. Register: Fill in all the fields and click register to register a new location.
Make sure that the Location ID is not repeated.
7. Update:
• Get the details for a specific location.
• Make changes in the fields.
• Click update button to update the details.

P a g e | 104 M.R Mohamed Rashad Database Design & Development Assignment 1


8. Delete: Inert a valid ID and click delete button to delete.
9. Clear: Clear all the fields
10. Back button: Click back button to get back to the user page.
o Admin -> Admin page
o Manager -> Manager page
o Client -> Client page
o Staff -> Staff page
Property Details

Figure 113 User Manual: Property Details.

1. Enter ID Number: Enter a valid ID number to Search, register, update or


delete the property details.
2. Enter Type: Enter property type to register or update property details.
3. Enter Name: Enter property name to register or update property details.
4. Enter Availability Status: Enter availability status to register or update
property details.
5. Search: Enter a valid property id and click search to get the details.
6. Register: Fill in all the fields and click register to register a new property.
Make sure that the Property ID is not repeated.
7. Update:
• Get the details for a specific property .

P a g e | 105 M.R Mohamed Rashad Database Design & Development Assignment 1


• Make changes in the fields.
• Click update button to update the details.
8. Delete: Inert a valid ID and click delete button to delete.
9. Clear: Clear all the fields
10. Back button: Click back button to get back to the user page.
o Admin -> Admin page
o Manager -> Manager page
o Client -> Client page
o Staff -> Staff page
o
Production Details

Figure 114 User Manual: Production Details

1. Enter ID Number: Enter a valid ID number to Search, register, update or


delete the production details.
2. Enter Type: Enter Production Type to register or update production details.
3. Enter No of Days: Enter total production working days to register or update
production details.
4. Enter Start Date: Enter production start date.
5. Enter End Date: Enter production end date.
6. Enter Location ID: Enter one or more Location ID where the production
works are going to be held.

P a g e | 106 M.R Mohamed Rashad Database Design & Development Assignment 1


7. Enter Property ID: Enter one or more Property ID, which are going to be
used in the production work.
8. Search: Enter a valid production id and click search to get the details.
9. Register: Fill in all the fields and click register to register a new production.
Make sure that the Production ID is not repeated.
10. Update:
• Get the details for a specific production.
• Make changes in the fields.
• Click update button to update the details.
11. Delete: Inert a valid ID and click delete button to delete.
12. Clear: Clear all the fields
13. Back button: Click back button to get back to the user page.
o Admin -> Admin page
o Manager -> Manager page
o Client -> Client page
o Staff -> Staff page

This user manual provides step-by-step instructions on how to use Quiet Attic Films
System software for database management. This guide covers parts like How to log in,
register, search, update, and delete user, production, location, and property details. And
it includes how to access and manage users, and payment details.

P a g e | 107 M.R Mohamed Rashad Database Design & Development Assignment 1


References
Anon., n.d. ibm. [Online]
Available at:
https://www.google.com/search?q=ddl&oq=ddl&gs_lcrp=EgZjaHJvbWUyCQgAEEUYORi
ABDIHCAEQABiABDIHCAIQABiABDIHCAMQABiABDIHCAQQABiABDIHCAUQABiABDIHCA
YQABiABDIHCAcQABiABDIGCAgQRRg90gEIMzMwOWowajGoAgCwAgA&sourceid=chro
me&ie=UTF-8#:~:text=Data%20Definition%20Languag

GeekforGeeks, 2024. GeekforGeeks. [Online]


Available at: https://www.geeksforgeeks.org/software-testing-basics/
[Accessed 27 March 2024].

GeeksforGeeks, 2023. GeekforGeeks. [Online]


Available at: https://www.geeksforgeeks.org/sql-ddl-dql-dml-dcl-tcl-commands/
[Accessed 26 March 2024].

JavaTpoint, n.d. JavaTpoint. [Online]


Available at: https://www.javatpoint.com/sql-server-management-studio
[Accessed 26 March 2024].

Jena, B. K., n.d. simpliearn. [Online]


Available at: https://www.simplilearn.com/tutorials/programming-tutorial/what-is-a-
wireframe-and-how-to-make-one#:~:text=Lesson%20%2D%2068-
,What%20Is%20a%20Wireframe%3F%20How%20to%20Make%20One%3F,as%20a%20
blueprint%20for%20each%20Web%20page%27s%20structure%2C%20content
[Accessed 5 January 2023].

micro, n.d. micro. [Online]


Available at: https://miro.com/diagramming/what-is-a-uml-diagram/
[Accessed 29 March 2024].

P a g e | 108 M.R Mohamed Rashad Database Design & Development Assignment 1


Prakritjvla, 2024. [Online]
Available at: https://www.geeksforgeeks.org/why-do-we-need-an-ide/
[Accessed 26 March 2024].

Taylor, S., n.d. CFI (Corporate Finance Institute). [Online]


Available at: https://corporatefinanceinstitute.com/resources/data-science/data-
validation/
[Accessed 28 March 2024].

P a g e | 109 M.R Mohamed Rashad Database Design & Development Assignment 1


Grading Criteria Achieved Feedback

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 clear statements of user and system
requirements.
M1 Produce a comprehensive design for a fully-functional
system, which includes interface and output designs, data
validations and data normalization.
D1 Evaluate the effectiveness of the design in relation to
user and system requirements.

P a g e | 110 M.R Mohamed Rashad Database Design & Development Assignment 1


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.

P3 Implement a query language into the relational database


system

.
M2 Implement a fullyfunctional database system, which
includes system security and database maintenance.

M3 Assess whether meaningful data has been extracted


through the use of query tools to produce appropriate
management information
LO3 Test the systems against user and system requirements

P4 Test the system against user and system requirements.

P a g e | 111 M.R Mohamed Rashad Database Design & Development Assignment 1


M4 Assess the effectiveness of the testing, including an
explanation of the choice of test data used.
D2 Evaluate the effectiveness of the database solution in
relation to user and system requirements and suggest
improvements.
LO4 Produce technical and user documentation

P5 Produce technical and user documentation.

M5 Produce technical and user documentation for a fully-


functional system, including data flow diagrams and
flowcharts, describing how the system works.

D3 Evaluate the database in terms of improvements needed


to ensure the continued effectiveness of the system.

P a g e | 112 M.R Mohamed Rashad Database Design & Development Assignment 1

You might also like