Computer Knowledge
Software Testing and Quality Control
2,598 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
-
A black box testing technique than can only be used during system testing
-
A white box testing technique appropriate for component testing
-
A black box testing technique used only by developers
-
A black box testing technique appropriate to all levels of testing
D
Correct answer
Explanation
Equivalence partitioning is a black-box testing technique that divides input data into partitions of equivalent data. It is highly versatile and can be applied at all levels of testing, from unit testing to system testing.
-
will help ensue unchanged areas of the software have not been affected
-
can only be run during user acceptance testing
-
will help ensure changed areas of the software have not been affected
-
will always be automed
A
Correct answer
Explanation
Regression testing verifies that recent code changes haven't adversely affected existing functionality. It targets unchanged areas to ensure no unintended side effects occurred. It's not limited to UAT (runs throughout testing), doesn't validate changed areas (that's unit/system testing), and isn't always automated (often manual). Note: 'automed' appears to be a typo for 'automated'.
-
Does not meet people needs
-
Loss of control over reallocation of resources
-
Cultural difference
-
Relinquishments of control
C
Correct answer
Explanation
When testing software developed by contractors in different countries, cultural differences significantly impact communication, work practices, requirements interpretation, and testing approaches. These differences can lead to misunderstandings about specifications, testing standards, and defect reporting. Options A and D are not inherent differences of international contracting, while resource reallocation (B) is a general management concern, not specific to international vs domestic.
-
2 is a valid reason; 1,3,4&5 are not
-
1,2,3,4 are valid reasons; 5 is not
-
1,2,3 are valid reasons; 4&5 are not
-
All of them are valid
D
Correct answer
Explanation
A system failure can be caused by various issues, including testing faults, software bugs, design flaws, environment configuration issues, or incorrect documentation. Therefore, all of these are valid reasons for a failure.
-
After Coding
-
After external design
-
After internal design
-
After freezing the requirements
D
Correct answer
Explanation
Starting testing after requirements are frozen allows test planning and design to align with stable specifications, enabling early identification of issues and more comprehensive test coverage. Testing should begin as early as possible in the lifecycle - waiting until after coding (A), internal design (C), or external design (B) is complete delays defect detection and increases cost. Requirements freezing marks when specs are stable enough to begin detailed test preparation.
-
it may be difficult to repeat the test
-
It will be difficult to decide if the test has passed or failed
-
We cannot run the test
-
We cannot automate the user inputs
B
Correct answer
Explanation
Without a specified acceptance criterion or expected result, a tester cannot objectively compare the actual outcome of a test against a standard, making it difficult to determine whether the test passed or failed.
-
Simple Loops
-
Nested Loops
-
Concatenated Loops
-
All of the above
D
Correct answer
Explanation
Loop testing is a white-box testing technique that focuses on the validity of loop constructs. It can be applied to all types of loops, including simple loops, nested loops, and concatenated loops.
-
Shorten the time required for testing
-
Find more faults
-
Do more effective testing
-
Do the best testing in the time available
D
Correct answer
Explanation
Test prioritization ensures the most critical and high-risk tests are executed when time is limited, maximizing the value of testing within constraints. Shortening time (A) is about efficiency, not prioritization. Finding more faults (B) depends on test quality, not order. Being more effective (C) is vague - the key is doing the best possible testing given available time (D). Prioritization accepts that not everything can be tested.
-
Having good attention to detail
-
Being diplomatic
-
Able to be relied on
-
Able to write software
C
Correct answer
Explanation
A tester must be reliable and dependable - this means consistently following through, reporting accurately, and being trusted by the team. While attention to detail (A) is important, it's a skill that can be learned. Being diplomatic (B) helps with communication but isn't fundamental. Software writing ability (D) is not required for testers. Reliability (C) is foundational - without trust, a tester's findings lose credibility.
-
Test Factors
-
Functions/subroutines
-
All of the above
-
None of the above
C
Correct answer
Explanation
Test data should comprehensively capture what was tested and how. Test factors include environmental conditions, configurations, and variables that affect test results. Functions/subroutines identify what code units were exercised. Both types of metadata are essential for reproducibility, coverage analysis, and debugging. The data serves as an audit trail, so collecting both dimensions (C) ensures complete documentation.
-
Checking that we are building the right system
-
Checking that we are building the system right
-
Performed by an independent test team
-
Making sure that it is what the user really wants
B
Correct answer
Explanation
Verification confirms we are building the system right - that it meets specifications and is implemented correctly (B). Validation checks we are building the right system - that it meets user needs (A, D). Independent testing (C) is not required for verification, which can be done by developers. The key distinction is verification = build correctly, validation = build correct thing.
-
Library Services
-
Federated Services
-
Content Storage Services
-
Application Integration Services
C
Correct answer
Explanation
Content Storage Services (CSS) is the Documentum service that enables automated movement of content between different storage tiers based on policies. This allows organizations to optimize storage costs by moving less frequently accessed content to cheaper storage tiers.
-
Web Controller
-
Performance Online
-
Performance Center
-
Load Runner Controller v.9.x
C
Correct answer
Explanation
Performance Center is the web-based version of LoadRunner Controller. It provides a browser-based interface for managing and monitoring load tests, whereas the traditional Controller requires a desktop client installation.
B
Correct answer
Explanation
In HP Quality Center/ALM, TestLab is the module for test execution and test sets, not the repository for test cases. Test cases are typically stored in the Test Plan module, not TestLab.
B
Correct answer
Explanation
In QC, defects are typically added through the Defects module and follow a specific workflow. While you might be able to access defect creation from various modules, the statement 'any modules at any stage' is too broad - QC has structured workflows and permissions that govern when and how defects can be created.