Software Engineering Previous Year Notes
Software Engineering Previous Year Notes
Impor
tant
1) What do you mean by software
life cycle
ANS: A
Q+A model
software life cycle model (also
termed process model) is a pictorial
and diagrammatic representation of the software life cycle. A life cycle
model represents all the methods required to make a software
product transit through its life cycle stages.
2) What do you mean by test case ?
ANS: test case is a specification of the inputs, execution conditions,
testing procedure, and expected results that define a single test to be
executed to achieve a particular software testing objective
It can find the bugs in the early stage of It can only find the bugs that could not
the development. be found by the verification process.
It consists of checking of
It consists of execution of program and is
documents/files and is performed by
performed by computer.
human.
Verification Validation
23)
Stubs are basically known as a “called While, drivers are the “calling
2. programs” and are used in the Top- program” and are used in bottom-up
down integration testing. integration testing.
Stubs are taken into use to test the Whereas the drivers are used if the
5. feature and functionality of the main module of the software isn’t
modules. developed for testing.
Stubs are used when lower-level of Drivers are used when higher-level of
modules are missing or in a partially modules are missing or in a partially
7.
developed phase, and we want to test developed phase, and we want to test
the main module. the lower(sub)- module
Cyclomatic complexity = 17 – 13 + 2 = 6
Characteristics of DFD
DFDs are commonly used during problem analysis.
DFDs are quite general and are not limited to problem analysis for
software requirements specification.
DFDs are very useful in understanding a system and can be
effectively used during analysis.
It views a system as a function that transforms the inputs into desired
outputs.
The DFD aims to capture the transformations that take place within a
system to the input data so that eventually the output data is
produced.
The processes are shown by named circles and data flows are
represented by named arrows entering or leaving the bubbles.
A rectangle represents a source or sink and it is a net originator or
consumer of data. A source sink is typically outside the main system
of study.
Advantages of DFD
It helps us to understand the functioning and the limits of a system.
It is a graphical representation which is very easy to understand as it
helps visualize contents.
Data Flow Diagram represent detailed and well explained diagram of
system components.
It is used as the part of system documentation file.
Data Flow Diagrams can be understood by both technical or
nontechnical person because they are very easy to understand.
Software for computers comes in a full bundle that contains not only the
actual programme but also its documentation and a user guide that explains
how to operate the software
Black box testing always focuses on which requirement of software?
Black box testing always focuses on the functional requirements of the software
5 Marks
1) State the difference between program and software.
Why have documents and documentation become very
important ?
Done in copy
Quality Assurance
Parameters (QA) Quality Control (QC)
It focuses on providing
It focuses on fulfilling the
Objective assurance that the quality
quality requested.
requested will be achieved.
Process/ Product-
oriented
It is process oriented. It is product oriented.
Alpha testing may require a Beta testing requires only a few weeks of
long execution cycle. execution.
Multiple test cycles are Only one or two test cycles are there in
organized in alpha testing. beta testing.
Example :
IF A = 10 THEN
IF B > C THEN
A = B
ELSE
A = C
ENDIF
ENDIF
Print A
Print B
Print C
FlowGraph:
DFD ERD
The main objective is to represent the The main objective is to represent the
flow of control in the program. processes and data flow between them.
It is the view of the system at a lower It is the view of the system at a high
level. level.
It deals with the physical aspect of the It deals with the logical aspect of the
action. action.
Efficiency
Integrity
This factor deals with the software system security, that is, to
prevent access to unauthorized persons, also to distinguish
between the group of people to be given read as well as write
permit.
Usability
Maintainability
This factor considers the efforts that will be needed by users and
maintenance personnel to identify the reasons for software
failures, to correct the failures, and to verify the success of the
corrections.
Flexibility
Testability