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
-
Defects
-
Trends analysis
-
Test Effectiveness
-
Time Spent Testing
C
Correct answer
Explanation
Code coverage measures how thoroughly tests exercise the codebase, making it a metric for Test Effectiveness. It doesn't directly measure defects found (that's defect density). Trend analysis is a separate use of coverage data. Time spent is an efficiency metric, not effectiveness.
-
How much regression testing should be done
-
Exit Criteria
-
How many more test cases need to written
-
Different Tools to perform Regression Testing
A
Correct answer
Explanation
Impact Analysis identifies which parts of the system are affected by a change, enabling teams to determine the scope of regression testing needed. Exit Criteria are defined by test planning. Number of test cases is a planning output, not an impact analysis decision. Tools selection is a separate consideration.
-
How much regression testing should be done
-
Exit Criteria
-
How many more test cases need to written
-
Different Tools to perform Regression Testing
A
Correct answer
Explanation
Impact Analysis identifies which parts of the system are affected by a change, enabling teams to determine the scope of regression testing needed. Exit Criteria are defined by test planning. Number of test cases is a planning output, not an impact analysis decision. Tools selection is a separate consideration.
-
The goal / purpose of testing is to demonstrate that the program works.
-
The purpose of testing is to demonstrate that the program is defect free
-
The purpose of testing is to demonstrate that the program does what it is supposed to do
-
Testing is executing Software for the purpose of finding defects
D
Correct answer
Explanation
Testing is fundamentally about finding defects (option D). Options A, B, and C describe 'showing that the program works' or 'is defect free' - these are impossible to prove and represent destructive thinking. The correct mindset is that testing can only prove defects exist, not that they don't.
-
The goal / purpose of testing is to demonstrate that the program works.
-
The purpose of testing is to demonstrate that the program is defect free
-
The purpose of testing is to demonstrate that the program does what it is supposed to do
-
Testing is executing Software for the purpose of finding defects
D
Correct answer
Explanation
Testing is fundamentally about finding defects (option D). Options A, B, and C describe 'showing that the program works' or 'is defect free' - these are impossible to prove and represent destructive thinking. The correct mindset is that testing can only prove defects exist, not that they don't.
-
an error
-
a fault
-
a failure
-
a defect
C
Correct answer
Explanation
In software testing terminology, a failure is the observable deviation from expected behavior that end-users experience. A fault or defect is the actual bug in the code, while an error refers to the human mistake that led to the fault being introduced.
-
Performance Testing
-
Regression Testing
-
Volume Testing
-
Security Testing
B
Correct answer
Explanation
BVT (Build Verification Testing) is a type of regression testing that verifies core functionality after a new build. It ensures the application is stable enough for further testing. It's not performance, volume, or security testing.
A
Correct answer
Explanation
BVT is typically performed by developers as part of the build process, but testers can also run BVT suites. This is a standard practice in software development where smoke tests or sanity tests are executed after deployment.
-
Build Validation and Build Acceptance
-
Build Verification and Build Validation
-
Build Acceptance and Verification
-
None
A
Correct answer
Explanation
BVT (Build Verification Testing) typically consists of Build Validation, which ensures the build is stable enough for testing, and Build Acceptance, which confirms the build meets the basic requirements to enter the test cycle. Other options use redundant or incorrect terminology.
-
A. Web based test automation tool
-
Web based test management tool
-
. Web based test case design tool
-
Load testing tool
B
Correct answer
Explanation
HP Quality Center (now Micro Focus ALM) is a web-based test management tool used for managing testing processes, not test automation, test case design, or load testing. Option B is correct.
-
from the Test Lab module
-
from the Requirements module
-
From the defects module
-
From the releases module
B
Correct answer
Explanation
The Requirements module is the designated place in Quality Center where you create and link tests to requirements, ensuring each requirement has test coverage. This establishes traceability from requirements through test execution.
-
A.Requirements -Test coverage & Test Plan –Requirement coverage
-
A.Requirements – Linked defects & Test Plan –Requirement coverage
-
A.Test Lab – Execution Flow tab & Requirements -Test coverage
-
Requirements--> Link Defects & Test Lab --> Link defects
A
Correct answer
Explanation
In Quality Center, traceability is bidirectional: Requirements show Test coverage (linked tests), and Test Plan shows Requirement coverage (linked requirements). This full traceability matrix ensures every requirement is tested and every test can be traced back to requirements.
-
test plan
-
test lab
-
defects
-
releases
B
Correct answer
Explanation
The Test Lab module is specifically designed for test execution, where you create test sets, schedule runs, and execute test cases. Test Plan is for designing tests, not running them.
-
convert releases to tests
-
define test folders and tests manually
-
save automated tests in Quality Center
-
define test names for each test needed
B
Correct answer
Explanation
In Quality Center's Test Plan module, you create the test plan tree by manually defining folders to organize tests and then creating individual tests within those folders. This hierarchical structure organizes your test repository.
-
requirement traceability
-
requirement coverage
-
test coverage
-
link defects
A
Correct answer
Explanation
Requirement traceability is the process of documenting the relationships between requirements, as well as between requirements and other artifacts like tests or design documents, to track dependencies.