STE qb1 Ans
STE qb1 Ans
QUESTION BANK
Unit Test-I (Shift:-I & II)
Semester: - V Program: - CM5I Course: - Software Testing
(22518)
--------------------------------------------------------------------------------------------------------------
CHAPTER-1(CO1)
2 MARKS
1. Define the terms: i) Failure. ii) Defect. iii) Bug. iv) Fault.
i) Failure: Deviation of the software from its expected result. It is an event.
ii) Defect: A defect is an error or a bug, in the application which is created. A
programmer while designing and building the software can make mistakes or error.
These mistakes or errors mean that there are flaws in the software. These are called
defects.
iii) Bug: The presence of error at the time of execution of the software.
iv) Fault: State of software caused by an error.
2) Quality Control: The goal of a software tester is to find bugs, find them as early as
possible and make sure they get fixed.
A set of activities designed to evaluate a developed work product. (Detection).
2) Early testing: Testing activities should start as early as possible in the software or
system development life cycle and should be focused on defined objectives.
5) Absence-of-errors fallacy: Finding and fixing defects does not help if the system
built is unusable and does not fulfil the users’ needs and expectations.
Advantages:
This is a highly disciplined model and Phases are completed one at a time.
V-Model is used for small projects where project requirements are clear.
Simple and easy to understand and use.
It enables project management to track progress accurately.
Disadvantages:
High risk and uncertainty.
It is not good for complex and object-oriented projects.
This model does not support iteration of phases.
It does not easily handle concurrent events.
Initiated by
Initiation Initiated by author.
project team.
Usually team
A group of members of the
relevant persons same project take
Participant from different participation in the
Composition departments walkthrough.
participate in the Author himself
inspection. acts walkthrough
leader.
No checklist is
Use of Checklist is used
used in the
Checklist to find faults.
walkthrough.
Aspect Inspection Walkthrough
Walkthrough
process includes
Inspection
overview, little or
processes
no preparation,
includes
little or no
overview,
Process preparation
preparation,
Structure examination
inspection,
(actual
and rework
walkthrough
and follow
meeting), and
up.
rework and follow
up.
Formalized No formalized
Formalized
procedure in each procedure in
Procedure
step. the steps.
Shorter time is
Inspection takes spent on
longer time as list walkthrough as
of items in there is no
Time Duration
checklist is formal
tracked to checklist used
completion. to evaluate
program.
19- Winter
2 Marks:
1. Define static and dynamic testing.
i) Static Testing:
Static testing is non-execution based technique i.e. document-based testing .
It involves of reviewing understanding the requirements, coding, and design documents. Each
document undergoes reviews against checklist, standards and practices.
Static testing is divided into two types Black-box and White-box testing Static white-box
testing includes Informal Review, Walk-through and Inspections
ii) Dynamic Testing:
Dynamic testing is an execution-based testing where the actual test execution takes place by
the independent testers or developers
Entire system will undergo testing process to check the actual and expected results are
meeting or not.
Dynamic Testing is divided into two types i.e. Black-box and White-box. Explained in next
Sections.
3. Define Defect
Defect: A defect is an error or a bug, in the application which is created. A programmer
while designing and building the software can make mistakes or error. These mistakes or
errors mean that there are flaws in the software. These are called defects.
4. Define Bug, Error, Fault and Failure.
Error: An error is a human action that produces the incorrect result that results in a fault.
Bug: The presence of error at the time of execution of the software.
Fault: State of software caused by an error.
Failure: Deviation of the software from its expected result. It is an event.
4 Marks:
1.Describe Boundry value analysis with suitable example.