Model Answer-SWT - 1 STE QP SET - B
Model Answer-SWT - 1 STE QP SET - B
A stub is a replica of a module that collects the data and develops many possible data
(a) Drivers are bottom-up integration testing individually and designed the enhance the CO 2M
testing process
Drivers establish the test environments and take care of the communication,
estimates results, and also sends the reports.
Software testing is the process of evaluating and verifying that a software product or
(b) application does what it is supposed to do. CO 2M
Objectives :
Preventing bugs, reducing development costs and improving performance.
(d) CO 2M
1) Static Testing:
Static testing is testing, which checks the application without executing the code. It is
a verification process.
eg. Inspection,Walkthrough,Review
2) Dynamic testing:
Dynamic testing is testing, which is done when the code is executed at the runtime
environment. It is a validation process where functional testing [unit, integration, and
system testing] and non-functional testing [user acceptance testing] are performed.
A test case is a document, which has a set of test data, preconditions, expected results
and postconditions, developed for a particular test scenario in order to verify
compliance against a specific requirement.
(f) CO-5 2M
Parameters of test cases As follows:
(a) Define the terms error: Defect, Fault, and Bug, failure in relation with software CO-6 4M
testing.
Bug- A bug is the informal name of defects, which means that software or application
is not working as per the requirement. When we have some coding error, it leads a
program to its breakdown, which is known as a bug. The test engineers use the
terminology Bug.
Defect- When the application is not working as per the requirement is knows as
defects. It is specified as the aberration from the actual and expected result of the
application or software.In other words, we can say that the bug announced by the
programmer and inside the code is called a Defect.
Error-The Problem in code leads to errors, which means that a mistake can occur due
to the developer's coding error as the developer misunder the requirement or the
requirement was not defined correctly. The developers use the term error.
Fault-The fault may occur in software because it has not added the code for fault
tolerance, making an application act up.
A fault may happen in a program because of the following reasons:
● Lack of resources
● An invalid step
Failure-Many defects lead to the software's failure, which means that a loss specifies a
fatal issue in software/ application or in its module, which makes the system
unresponsive or broken.
V Model
1) Verification
2) verification
Advantages
1. Easy to Understand.
2. Testing Methods like planning, test designing happens well before coding.
3. This saves a lot of time. Hence a higher chance of success over the waterfall
model.
Disadvantages
(c) What is performance testing? Explain load and stress testing. CO-5 4M
For example: In the below image, 1000 users is the desired load, which is given by the
customer, and 3/second is the goal which we want to achieve while performing load
testing.
Stress testing - It is performed to find the upper limit capacity of the system and also
to determine how the system performs if the current load goes well above the
expected maximum.
For example: If we took the above example and increased the desired load 1000 to
1100 users, and the goal is 4/second. While performing the stress testing in this
scenario, it will pass because the load is greater (100 up) than the actual desired load.
Verification Validation
It does not include the execution of the It includes the execution of the code.
code.