Computer Knowledge
Software Testing and Quality Control
2,292 Questions
Software testing and quality control questions cover testing methodologies, unit testing, and defect management. These concepts are crucial for the computer knowledge sections of competitive exams. Practice these questions to understand verification and validation processes thoroughly.
Quality control typesUnit testing purposeSoftware vulnerability testingTest planning tasksLoop testing criteriaTest harness functions
Software Testing and Quality Control Questions
-
Brute force
-
Cause elimination
-
Stress testing
-
Security testing
-
Backtracking
E
Correct answer
Explanation
Here, the source code is traced reversed (manually) until the site of the cause is found.
-
Stress testing
-
Cause elimination
-
Security testing
-
Black box testing
-
Debugging oriented
D
Correct answer
Explanation
We can determine if the functions appear to work according to specification.
-
Integration Testing
-
Unit Testing
-
Beta Test
-
Cause Elimination
-
Evolution Oriented
B
Correct answer
Explanation
It focuses verification efforts on the smallest portion of software design module.
-
Security testing
-
Alpha test
-
Cause elimination
-
Prevention oriented
-
Sensitivity testing
E
Correct answer
Explanation
It attempts to uncover data combinations within valid input classes that may cause instability or improper processing.
-
All-pairs testing
-
Equivalence partitioning
-
Boundary value analysis
-
Path testing
-
Decision tables
D
Correct answer
Explanation
Basis path testing, or structured testing, is a method for designing test cases intended to examine each mathematically possible path of execution at least once.It is a white-box testing technique.
-
Equivalence partitioning
-
Branch testing
-
Data flow testing
-
Condition testing
-
Loop testing
A
Correct answer
Explanation
Equivalence partitioning (also called Equivalence Class Partitioning or ECP) is a software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. It is a black-box testing technique. It is nota form of control-structural testing.
-
Stress testing
-
Load testing
-
Soak testing
-
Spike testing
-
Isolation testing
C
Correct answer
Explanation
Soak testing, also known as endurance testing, is usually done to determine if the system can sustain the continuous expected load. During soak tests, memory utilization is monitored to detect potential leaks. Also important, but often overlooked is performance degradation. That is, to ensure that the throughput and/or response times after some long period of sustained activity are as good or better than at the beginning of the test. It essentially involves applying a significant load to a system for an extended, significant period of time. The goal is to discover how the system behaves under sustained use.
-
Subroutine
-
Happy path
-
Exception
-
Test case
-
Traceability matrix
B
Correct answer
Explanation
In the context of software or information modeling, a happy path is a default scenario featuring no exceptional or error conditions, and comprises the sequence of activities executed if everything goes as expected.
-
Forced error testing
-
Application security testing
-
Performance testing
-
Functional testing
-
Usability testing
B
Correct answer
Explanation
This testing is to make sure that valuable and sensitive data can not be accessed inappropriately.
-
Loop testing
-
Performance testing
-
Stress testing
-
Functional testing
-
Six Sigma
C
Correct answer
Explanation
Stress testing is to see how the system performs under extreme conditions, such as a very large number of simultaneous users.
-
Functional testing
-
Scalability testing
-
Performance testing
-
Six Sigma
-
Forced error testing
B
Correct answer
Explanation
This testing is to ensure that the software will function well as the number of users and size of databases increase.
-
Beta Test
-
Security Testing
-
Regression Testing
-
Brute Force Debugging Approach
-
Prevention Oriented Testing
C
Correct answer
Explanation
Then regression test suit contains additional tests that focus on software functions that are likely to be affected by the change.
-
Validation Testing
-
Beta Test
-
Integration Testing
-
Unit Testing
-
Cause Elimination Debugging
A
Correct answer
Explanation
It defines specific test cases that will be used in an attempt to uncover errors in conformity with requirements.
-
Backtracking debugging approach
-
Performance Testing
-
Security Testing
-
Stress Testing
-
Evaluation Oriented Testing
D
Correct answer
Explanation
Stress test suit contains test cases that may cause trashing in a virtual operating system.
-
Regression testing is an integral part of the extreme programming software development method.
-
Regression testing includes rerunning previously completed tests.
-
Regression testing seeks to uncover new software bugs.
-
Regression testing can be used for tracking the quality of output.
-
Regression tests can be broadly categorized as non-functional tests.
E
Correct answer
Explanation
Regression tests can be broadly categorized as functional tests or unit tests. Functional tests exercise the complete program with various inputs. Unit tests exercise individual functions, subroutines, or object methods. Both functional testing tools and unit testing tools tend to be third-party products that are not part of the compiler suite, and both tend to be automated. A functional test may be a scripted series of program inputs, possibly even involving an automated mechanism for controlling mouse movements and clicks. A unit test may be a set of separate functions within the code itself, or a driver layer that links to the code without altering the code being tested.