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
-
find more faults
-
do best testing in the time available
-
do more effective testing
-
shorten the time required for testing
B
Correct answer
Explanation
Test prioritization focuses on scheduling and ordering test cases so that the highest-risk or highest-priority items are executed first, ensuring that resources deliver the best possible quality assurance within the limited timeline available.
-
Everyone who have some use for the tool
-
The vendor contractor to write the initial script
-
The independent testing team
-
A small team to establish best way to use the tool
D
Correct answer
Explanation
A new testing tool should first be used by a small pilot team to establish best practices, evaluate its effectiveness, and develop usage guidelines before broader rollout. This prevents ineffective adoption across the organization.
-
Test Factors
-
Functions/Subroutines
-
All
-
None
C
Correct answer
Explanation
Test data collection should comprehensively cover test factors (what was tested), functions/subroutines (which code units), and environmental/execution details. The option All (C) implies comprehensive data collection including these categories.
-
Compliance Testing - Business rules
-
Black box testing - Path coverage
-
Regression testing - end users
-
File integrity - control totals
D
Correct answer
Explanation
File integrity verification uses control totals to detect data corruption or unauthorized changes. Control totals (sums, counts, hashes) provide a mathematical check that file contents remain intact. The other pairs are mismatched.
-
will help ensure unchanged areas of software hav not been affected
-
will help ensure changed areas of software hav not been affected
-
can run during user acceptance testing only
-
will always be automated
A
Correct answer
Explanation
Regression testing specifically targets unchanged software components to verify recent changes haven't introduced unintended side effects. It's not limited to UAT phase and can be manual, though automation is common practice.
-
Black box testing appropriate to all levels of testing
-
Black box testing used only by developers
-
Black box testing appropriate for system testing only
-
A white box testing appropriate for component testing only
A
Correct answer
Explanation
Equivalence partitioning is a standard black-box testing technique that divides input data into partitions of equivalent behaviors. It is highly versatile and applicable across all testing levels, including unit, integration, system, and acceptance testing.
-
creating program code
-
finding and correcting errors in the program code
-
Identify the task to be computerized
-
creating the algorithm
B
Correct answer
Explanation
Debugging is the systematic process of identifying, isolating, and fixing errors or defects in program code. It involves running tests, analyzing program behavior, and correcting logical or syntax errors. Creating program code is coding, identifying tasks is requirements analysis, and creating algorithms is algorithm design.
A
Correct answer
Explanation
Breakpoints are standard debugging features in QuickTest Professional (QTP) / Unified Functional Testing (UFT) that pause execution at marked statements, allowing testers to inspect variables and execution flow.
-
A,B,C and D
-
A and C
-
A,C and D
-
A,B and C
A
Correct answer
Explanation
Static testing analyzes code and documentation without execution, making it ideal for finding standards deviations (A) and maintainability issues (C). Dynamic testing during runtime better reveals requirements defects (B) and interface mismatches (D). However, all these defect types can theoretically be detected through thorough static analysis.
-
Boundary value
-
Equivalence partition
-
Decision table
-
State transition
B
Correct answer
Explanation
Equivalence partitioning groups input values into classes that should be processed identically by the system. By testing one representative value from each equivalence class, you can effectively validate the system's behavior for all values in that class, making testing more efficient while maintaining good coverage.
-
Component interaction
-
Probe effect
-
State transition
-
Disaster recovery
D
Correct answer
Explanation
Operational testing validates that the system functions correctly in its operational environment, including backup and recovery procedures. Disaster recovery testing is a key component of operational testing as it verifies the system's ability to recover from failures and resume operations, which is essential for maintaining business continuity.
-
Specification based technique
-
Black box technique
-
White box technique
-
D. Data driven testing technique
C
Correct answer
Explanation
White box testing examines the internal structure and implementation of the system, making it appropriate for testing undocumented legacy code. When specifications are unavailable, analyzing the code structure helps identify test scenarios and verify that the existing functionality works correctly, even without formal requirements documentation.
-
Security testing
-
Non functional testing
-
Exploratory testing
-
Interoperability testing
C
Correct answer
Explanation
Exploratory testing is an informal approach where testers design and execute tests simultaneously, using insights from previous test results to guide subsequent testing. This adaptive, learning-based approach allows testers to investigate the system dynamically and follow promising leads based on what they discover.
-
Model based
-
Analytical
-
Methodical
-
Heuristic
A
Correct answer
Explanation
Stochastic testing uses random inputs and statistical models to test systems, which makes it a model-based testing approach. It relies on probabilistic models and statistical distributions to generate test cases, rather than following deterministic algorithms or heuristics.