Software Testing Test
From
the options given below which of the dynamic program analysis technique is
aimed at improving application performance?
a. Code
complexity analysis
b.
Profiling
c.
Network packet sniffing
d.
Spelling and grammar checking
e.
Program slicing
From
the following options, choose the best example which represents a reliability
failure for an application:
a. Slow
response time
b.
Excessive application consumption
c.
Random application termination
d.
Failure to encrypt data
When
a defect is detected and fixed, the software should be retested to confirm that
the original defect has been successfully removed. This is called:
a.
Regression testing
b.
Maintenance testing
c.
Confirmation testing
d. None
of the above
The
testing phase in which individual software modules are combined and tested as a
group is called:
a. Unit
testing
b.
Integration testing
c.
Module testing
d.
White-box testing
Which
of the following are benefits of automated testing?
a.
reusability
b.
efficiency
c.
speed
d.
allows testing of video and mp3files
What
is the name of the testing method in which (for each pair of input parameters)
all the possible discrete combinations of parameters are passed on?
a.
Single testing
b.
Pair wise testing
c. Unit
testing
d. None
of the above
Which
of the following is true regarding Static Analysis tools?
a.
They help you find defects rather than failures
b. They
are used by developers only
c. They
require compilation of code
d. All
of the above
Which
of the following is not a Static testing methodology?
a. Code
review
b.
Inspection
c.
Walkthroughs
d.
System tests
Which
of the following are the objectives of using a "test harness"?
a.
Automating the testing process
b.
Executing test suites of test cases
c.
Generating test reports
d.
Creating reusable lest logic to reduce maintenance and improve test coverage
What
is the normal order of activities in which software testing is carried out?
a.
Unit, Integration, System, Validation
b.
System, Integration, Unit Validation
c.
Unit, Integration, Validation, System
d. None
of the above
Which
of the following types of testing emulates the real world use of a system and
verifies that the product fulfills the intended requirements?
a.
System testing
b.
Model testing
c.
Integration testing
d.
User acceptance testing
Which
of the following types of testing emulates the real world use of a system and
verifies that the product fulfills the intended requirements?
a.
System testing
b.
Model testing
c.
Integration testing
d.
User acceptance testing
What
would be the appropriate result of a Stress test at its peak?
a. A
gradual performance slow-down leading to a non-catastrophic system halt
b. A
gradual performance improvement leading to a catastrophic system halt
c. A
gradual performance slow-down leading to a catastrophic system halt
d. A
gradual performance improvement to a non-catastrophic system halt
What
is the main reason for testing a software immediately before releasing it?
a. To
ensure that the system will work after release
b.
To decide when the software is of sufficient quality to release
c. To
find as many bugs as possible before release
d. To
give information for a risk based decision about release
Which
of the following statements is not true regarding capture/replay tools?
a. They
are used to support multi-user testing
b. They
capture aspects of user behavior
c. They
are the most frequently used types of CAST tools
d.
They are used to capture and playback user requirements
Which
of the following models of software development incorporates testing into the
whole software development life cycle?
a.
Agile model
b.
Waterfall model
c.
V-Model
d.
Spiral model
Which
of the following statements is incorrect in relation to Smoke testing and
Sanity testing?
a. A
Smoke test is designed to touch every part of the application in a cursory way
whereas a Sanity test is used to determine if a small section of the
application is still working after a minor change
b. A
Smoke test adopts a shallow and wide approach whereas a Sanity test is a narrow
regression test that focuses on one. or a few areas of functionality. Sanity
testing is usually narrow and deep
c. A
Smoke test is usually unscripted whereas a Sanity test is scripted either using
a written set of tests or an automated test
d. A
Smoke test is a normal health checkup to a build of an application before
taking it to in-depth testing whereas a Sanity test is to verify whether all
requirements are met or not checking all features breadth-first
The
cursory examination of all the basic components of a software system to ensure
that they work is called:
a. Fuzz
testing
b.
Black-box testing
c.
Sanity testing
d.
Smoke testing
Which
of the following is true about Sanity Testing?
a. A
Sanity test is used to determine if a small section of the application is still
working after a minor change
b. A
Sanity test is run to check if the build of an application is stable and it can
be considered for further testing
c. A
Sanity test is the process of testing to make sure that the older programming
still works with the new changes
d.
All of the above are true
Which
of the following statements holds true for Verification and Validation?
a.
Verification is used to check if we are doing the right thing and Validation is
used to check whether we have developed the software as per the client's
requirements or not.
b.
Validation is used to check if we are doing the right thing and Verification is
used to check whether we have developed the software as per the client's
requirements or not.
c.
Validation tells us what to test and Verification decides on the methodology to
go about testing the application
d. None
of the above
Which
of the following statements is incorrect in relation to Test Automation?
a. Test
Automation is the process of writing a computer program to do testing that
would otherwise need to be done manually.
b. Test
Automation is the use of software to control the execution of tests and the
comparison of actual outcomes to predicted outcomes.
c. Test
Automation tools may provide record and playback features !ha! allow users to
Interactively record user actions and replay it back any number of times.
d.
Test Automation is the set of procedures used by organizations to ensure that a
software product will meet its quality goals at the best value to the customer.
____________
testing is used to evaluate and understand the application's reliability,
scalability and interoperability when more users are added or the volume of
data is increased.
a. Integration
b.
Performance
c.
Regression
d.
Stability
In
which of the following testing methodologies does the automatic generation of
efficient test procedures/vectors use models of system requirements and
specified functionality?
a.
Repetitive testing
b.
Model testing
c.
Modular testing
d.
System testing
Which
of the following types of testing is likely to benefit the most from the use of
test tools that provide the test capture and replay facilities?
a.
Integration testing
b.
Regression testing
c. System
testing
d. User
acceptance testing
Performance
testing is used for real-time systems only.
a.
True
b.
False
Which
of the following types of errors are uncovered in White-box testing?
a.
Performance errors
b.
Logical errors
c.
Typographical errors
d.
Behavioral errors
What
is the difference between Regression testing and Retesting?
a.
Retesting is done by programmers while Regression testing is done by testers
b.
Retesting checks for unexpected side-effects while Regression testing ensures
that the original fault has been corrected
c.
Retesting ensures that the original fault has been corrected while Regression
testing checks for other unexpected side-effects
d.
There is no difference between Regression testing and Retesting
The
process of using a test case to test a specific unit of code, function, or
capability is called:
a. Test
Run
b.
Test Script
c. Test
Plan
d. Test
Scenario
What
do you understand by the term "Monkey test"?
a.
It is random testing performed by automated testing tools
b. It
is used to simulate the actions a user might perform
c. It
is another name for Monitor testing
Which
of the following tools supports traceability, recording of incidents, and
scheduling of tests?
a.
Static analysis tool
b.
Debugging tool
c.
Test management tool
d.
Configuration management tool
Which
one of the following is a major benefit of verification early in the software
development life cycle?
a. It
allows the identification of changes in user requirements
b. It
facilitates timely set up of the test environment
c.
It reduces defect multiplication
d. It
allows testers to become involved early in the project
Which
of the following is incorrect for Black-box testing?
a. It
takes an external perspective of the test object to derive test cases.
b. It
is sometimes also called as Opaque Testing, Functional Testing and Closed Box
Testing.
c.
It uses an internal perspective of the system to design test cases based on
internal structure.
The
main focus of Black-box testing is:
a. to
check for logical errors
b. to
ensure that each code statement is executed once
c.
to test the functionality of the system as a whole
d. to
identify all paths through the software
Which
of the following is not a type of Incremental testing approach?
a.
Top-down
b.
Big-bang
c.
Bottom-up
d. None
of the above
The
determination of adherence or non adherence to a compliance is carried out
during:
a.
Inspection
b.
Audit
c.
White-box testing
d.
Walkthrough
Beta
testing is performed by:
a. An
independent test team
b. The
software development team
c.
In-house users
d.
External users
Which
of the following testing occurs outside the development environment?
a.
Installation testing
b.
White-box testing
c.
Module testing
d. Fuzz
testing
Which
of the following statements is incorrect in relation to Code coverage?
a. It
describes the degree to which the source code of a program has been tested
b. It
is a form of White-box testing
c.
It is a form of Black-box testing
Usability
testing indicates that the design and system should be modified if:
a.
people have difficulty in understanding the instructions
b.
people have difficulty in manipulating the parts
c.
people have difficulty in interpreting the feedback
d.
all of the above
Which
of the following is not a part of System testing?
a.
Recovery testing and fail over testing
b.
Performance, Load and Stress testing
c.
Usability testing
d.
Top-down integration testing