Unit 5 Software Engineering
Unit 5 Software Engineering
G H Raisoni Institute of
Business Management, Jalgaon
Department of Computer Application
Drawbacks:
Decision tables are not well suited to large-scale applications. There
is a requirement of splitting huge tables into smaller ones to
eliminate redundancy.
The complete sequence of actions is not reflected in the decision
tables.
A partial solution is presented.
2
Ch.5 Requirement Analysis and Design Tool
3
Ch.5 Requirement Analysis and Design Tool
4
Ch.5 Requirement Analysis and Design Tool
Advantages of Pseudo-code
Improves the readability of any approach. It’s one of the best
approaches to start implementation of an algorithm.
Acts as a bridge between the program and the algorithm or
flowchart. Also works as a rough documentation, so the program of
one developer can be understood easily when a pseudo code is
written out. In industries, the approach of documentation is essential.
And that’s where a pseudo-code proves vital.
The main goal of a pseudo code is to explain what exactly each line
of a program should do, hence making the code construction phase
5
Ch.5 Requirement Analysis and Design Tool
easier for the programmer.
Example:
6
Ch.5 Requirement Analysis and Design Tool
7
Ch.5 Requirement Analysis and Design Tool
8
Ch.5 Requirement Analysis and Design Tool
DFD Components
DFD can represent Source, destination, storage and flow of
datausing the following set of components -
Levels of DFD
10
Ch.5 Requirement Analysis and Design Tool
11
Ch.5 Requirement Analysis and Design Tool
12
Ch.5 Requirement Analysis and Design Tool
Entity Relationship Diagram (ERD) :
ERD is also known as the Entity-Relationship Model.
ERD was originally proposed by Peter Chen. Entity
means any object used to store information and are
13
Ch.5 Requirement Analysis and Design Tool
Mapping cardinalities:
one to one
one to many
many to one
many to many
14
Ch.5 Requirement Analysis and Design Tool
15
Ch.5 Requirement Analysis and Design Tool
Symbols used in DFD are: rectangles Symbols used in ERD are: rectangles
(represent the data entity), circles (represent the entity), diamond boxes
(represent the process), arrows (represent relationship), lines and
(represent the flow of data), ovals or standard notations (represent
4. parallel lines (represent data storing). cardinality).
Rule followed by DFD is that at least Rule followed by ERD is that all
one data flow should be there entering entities must represent the set of
5. into and leaving the process or store. similar things.
Normalization
It is the methodology of arranging a data model to capably store data in
an information base. The completed impact is that tedious data is
10
Ch.5 Requirement Analysis and Design Tool
cleared out, and just data related to the attribute is taken care of inside
the table. Normalization regularly incorporates isolating an information
base into at least two tables and describing associations between the
tables. The objective is to isolate data so that expands, deletions, and
changes of abroad may be made in just one table and thereafter
multiplied through whatever survives from the information base by
methods for the described associations.
There are three standard customary structures, each with extending
levels of Normalization as follows.
1. First Normal Form (1 NF) –
Each field in a table holds particular information. For example, in a
specialist overview, every one table may hold stand apart origination
date field.
2. Second Normal Form (2 NF) –
Each field in a table that isn’t a determiner of the substance of a
substitute field must itself be a limit of substitute fields in the table.
3. Third Normal Form (3 NF) –
No twofold information is permitted. Consequently, for example, if
two tables both oblige an origination date field, the origination date
information may be isolated into a different table, and the two
distinct tables may then get to the origination date information by
methods for a list field in the origination date table. Any change to
an origination date would normally be reflecting in all tables that
association with the origination date table.
Advantages of Normalization :
Here we can perceive any reason why Normalization is an alluring
possibility in RDBMS ideas.
A more modest information base can be kept up as standardization
disposes of the copy information. Generally speaking size of the
information base is diminished thus.
Better execution is guaranteed which can be connected to the above
point. As information bases become lesser in size, the goes through
11
Ch.5 Requirement Analysis and Design Tool
the information turns out to be quicker and more limited in this way
improving reaction time and speed.
Narrower tables are conceivable as standardized tables will be
tweaked and will have lesser segments which considers more
information records per page.
Fewer files per table guarantees quicker support assignments (file
modifies).
Also understands the choice of joining just the tables that are
required.
Disadvantages of Normalization :
More tables to join as by spreading out information into more tables,
the need to join table’s increments and the undertaking turns out to
be more dreary. The information base gets more enthusiastically to
acknowledge too.
Tables will contain codes as opposed to genuine information as the
rehashed information will be put away as lines of codes instead of
the genuine information. Thusly, there is consistently a need to go to
the query table.
Data model turns out to be incredibly hard to question against as the
information model is advanced for applications, not for impromptu
questioning. (Impromptu question is an inquiry that can’t be resolved
before the issuance of the question. It comprises of a SQL that is
developed progressively and is typically built by work area cordial
question devices.). Subsequently it is difficult to display the
information base without understanding what the client wants.
As the typical structure type advances, the exhibition turns out to be
increasingly slow.
Proper information is needed on the different ordinary structures to
execute the standardization cycle effectively. Reckless use may
prompt awful plan loaded up with significant peculiarities and
information irregularity.
12