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
-
Developement phase
-
Design Phase
-
Requirement gathering phase
-
Intergration phase
C
Correct answer
Explanation
Testing should ideally start during the requirement gathering phase through test planning activities. Early testing involvement helps identify testable requirements and prevents defects from being designed into the system.
-
Sahi
-
SCEGEN
-
Testify
-
Masketeer
A
Correct answer
Explanation
Among these options, Sahi is not developed by TCS. SCEGEN, Testify, and Masketeer are TCS-developed testing tools. Sahi is an open-source automation tool originally developed by Sahi Labs.
-
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 is the process of evaluating work products to ensure that the software is being built correctly according to specifications ('building the system right'). Validation ensures we built the correct system ('building the right system').
-
Will always be automated
-
Will help ensure unchanged areas of the software have not been affected
-
Will help ensure changed areas of the software have not been affected
-
Can only be run during user acceptance testing
B
Correct answer
Explanation
Regression testing is performed to ensure that changes or bug fixes have not introduced new defects in unchanged areas of the software. It does not have to be automated, and it is not restricted to user acceptance testing.
-
We cannot run the test
-
It may be difficult to repeat the test
-
It may be difficult to determine if the test has passed or failed
-
We cannot automate the user inputs
C
Correct answer
Explanation
When a new testing tool is purchased, it should first be used on tests where expected results are clearly specified. Without expected results, it's difficult to validate that the tool correctly identifies pass/fail outcomes.
-
found in the software; the result of an error.
-
departure from specified behaviour
-
an incorrect step, process or data definition in a computer program.
-
a human action that produces an incorrect result.
B
Correct answer
Explanation
A failure is a departure from specified behavior - the system doesn't behave as documented in requirements. This is distinct from an error (human mistake) or defect (code issue).
-
Confidence to stakeholders.
-
Confidence to client that it is bug-free.
-
zero defects.
-
Prevent problems of failure in
A
Correct answer
Explanation
Software testing provides confidence to stakeholders that the software meets requirements and is suitable for use. It cannot guarantee zero defects or complete bug-freeness, but it reduces risk and builds trust.
-
testing that the system functions with other systems
-
testing that the components that comprise the system function together
-
testing the end to end functionality of the system as a whole
-
testing the system performs functions within specified response times
C
Correct answer
Explanation
Functional system testing tests the end-to-end functionality of the system as a whole, verifying that the complete system works correctly for user scenarios. It's not about integration (component interaction) or interoperability (system-to-system).
-
User Acceptance Testing
-
- User Acceptable Testing
-
User Acceptance Technology
-
Useful Acceptance Testing
A
Correct answer
Explanation
UAT stands for User Acceptance Testing, which is the phase of software development where actual users test the software to ensure it can handle real-world tasks. The other options are incorrect variations of the acronym.
-
We cannot run the test
-
It may be difficult to repeat the test
-
It may be difficult to determine if the test has passed or failed
-
We cannot automate the user inputs
C
Correct answer
Explanation
Without a specified expected result, it's difficult to determine if a test passed or failed. The test outcome is judged against expectations, so missing expected results makes the test inconclusive.
B
Correct answer
Explanation
Software testing typically accounts for 40-50% of software development costs according to industry studies. This reflects the significant effort required for quality assurance activities throughout the development lifecycle.
-
Failure
-
Success
-
Complete
-
Partial
A
Correct answer
Explanation
Testing is considered a failure when a program does not work correctly because its primary purpose is to verify that software functions as intended. When tests reveal defects or incorrect behavior, the testing process has identified a failure in the software development process.
-
Alpha and Beta Testing
-
White Box Testing
-
Black Box Testing
-
Trial and Error Testing
A
Correct answer
Explanation
Alpha testing is performed by internal staff before public release, while Beta testing involves external end-users who test the software in real-world conditions. Both methods allow actual users to evaluate the software before final deployment, making Alpha and Beta testing the correct answer.
-
Developement phase
-
Design Phase
-
Requirement gathering phase
-
Intergration phase
C
Correct answer
Explanation
Testing should begin as early as the requirement gathering phase to identify issues before they become expensive to fix. Early testing allows for validation of requirements and design decisions, reducing the cost of changes compared to discovering defects in later stages like development or integration.
-
Sahi
-
SCEGEN
-
Testify
-
Masketeer