Docsity

Database Design and Normalization for a Survey Builder Application, Slides of Applications of Computer Sciences

Toggle sidebar
bg1
Outline
Overview of last semester work
Functional Requirements
Work Flow Model
Database Design
Logical Database Design
Entities and Attributes
Relationships
ERD
Mapping of E-R Model to Relational Model
Relational Schema of Survey Builder
Normalized Relational Schema of Survey Builder
Graphical User Interface
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31

Partial preview of the text

Download Database Design and Normalization for a Survey Builder Application and more Slides Applications of Computer Sciences in PDF only on Docsity!

Outline

 Overview of last semester work

Functional RequirementsWork Flow Model

 Database Design

Logical Database DesignEntities and AttributesRelationshipsERDMapping of E-R Model to Relational ModelRelational Schema of Survey BuilderNormalized Relational Schema of Survey Builder

 Graphical User Interface

Previous Work

Following work was focused in 6 th^ semester :

 SRS Document

 Requirement Gathering

 SPMP

Back Traversing

Developing User interface it was found that Employee addition and Editing Functionality was skipped.It was included in functional requirements and use case for it was developed.It allows the Master administrator and Departmental administrator to:  Add a new employee  Edit the existing employee  Delete the existing employee

Updated Functional requirements

Authentication

Create New SurveyAdd Questions in SurveyEdit Survey

Publish SurveyPerform SurveyReporting

Add Employee

7 th^ Semester Mid Term Progress

 Database Design

 Graphical User Interface

Database Design

Logical Database Design of Survey

Builder

 Designing a database involves two distinct

processes [2].  Firstly we need to understand the requirements of the users. Why do they want a database? What is it supposed to achieve? What real-world process is it designed to emulate?  Secondly we need to actually create a technical solution – a set of entities, complete with attributes and relationship between entities, each of which with correct data type. We need to choose the primary keys, add the correct indexes and creating ERD.

Prerequisites for logical Model

Identification of data entities and

attributes

 All the entities are designed individually and attributes are added to them.

Identification relationships

 The relationship between the entities should be developed

Data Entities and Attributes cont...

 Employee Entity

 Department Entity

Data Entities and Attributes cont...

 Survey Entity

 Participant Entity

Relationships

 Dept_Employee Relationship

 Employee_Survey Relationship

 Employee_Employee Relationship

 Survey_Question Relationship

 Survey_Participant Relationship

Relationships cont...

 Dept_Employee

Relationship

 Employee_Employee

Relationship

 Survey_Question

Relationship

ERD of Survey Builder Application

ER to Relational Model

Relational Database Model makes understanding of the database easy on an intuitive level, in that it allows separation of Logical and Physical levels, so that logical design can be performed without considering the storage structures [5].

 The Entities sets represented by rectangles become relations represented by tables.

 The Attributes represented by ovals become attributes of the relation, or column heading of the table.