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
-
Selenium IDE
-
Selenium RC
-
Selenium DOM
-
Selenium Grid
A,B,D
Correct answer
Explanation
Selenium's core components are IDE for recording/playback, RC (Remote Control, now WebDriver) for programmatic control, and Grid for parallel test execution. Selenium DOM is not a standard Selenium component.
-
Functional testing
-
Agile testing
-
Adhoc testing
-
Regression testing
A,B,C,D
Correct answer
Explanation
Selenium RC supports multiple programming languages through language-specific client drivers that communicate with the Selenium server. All four options (C#, Java, Perl, Ruby) are officially supported languages.
B
Correct answer
Explanation
Selenium is specifically designed for web browser automation (testing web applications via HTTP/HTML). It cannot test traditional client-server applications that use proprietary protocols or native GUI frameworks unrelated to browsers.
-
Linux
-
Unix
-
Windows
-
Macintosh
A,C,D
Correct answer
Explanation
Selenium is cross-platform and supports Linux, Windows, and Macintosh for running test suites. While Unix-based systems are technically supported (Linux is a Unix-like OS), the specific option 'Unix' vs 'Linux' suggests the question expects the commonly listed platform names.
-
Web Applications
-
Client Server Applications
-
Both
-
None of the above
A
Correct answer
Explanation
Selenium is designed exclusively for web application testing through browser automation. It cannot test traditional client-server applications that use proprietary protocols, native GUI frameworks, or direct database connections outside the browser context.
-
Selenium tool can only be used in Mozilla Firefox browser
-
Selenium test suite uses many languages
-
It is a record & playback tool
-
Auto complete for all common Selenium commands
A
Correct answer
Explanation
This question reflects historical context of Selenium IDE (originally Firefox-only). Modern Selenium WebDriver supports all major browsers. Options B, C, and D are actually advantages or features, not disadvantages. The answer is dated but technically correct for early Selenium IDE.
-
compliance testing
-
disaster testing
-
verifying compliance to rules
-
functional testing
-
ease of operations
E
Correct answer
Explanation
Operations testing focuses on verifying that a system is easy to operate and maintain in production environments. Unlike compliance, disaster, or functional testing, operations testing evaluates operational readiness and ease of use. The 'ease of operations' definition correctly captures this testing type's purpose.
-
We can never be certain that the program is bug free
-
We have no definite stopping point for testing, which makes it easier for somemanagers to argue for very little testing.
-
We have no easy answer for what testing tasks should always be required,because every task takes time that could be spent on other high importance tasks.
-
All of the above.
D
Correct answer
Explanation
The impossibility of complete testing has three critical consequences: we can never guarantee bug-free code (A), testing lacks a definitive stopping point allowing managers to under-test (B), and every testing task competes with other priorities for time (C). Since all three statements are valid consequences of exhaustive testing being impossible, 'All of the above' is correct.
-
Assess development plan and status
-
Develop the test plan
-
Test software design
-
Test software requirement
C
Correct answer
Explanation
The 11-step software testing process follows a logical sequence from planning through execution. 'Test software design' (C) is not the correct sequential step name - the process typically includes testing requirements, not testing design as a distinct step in this sequence. This makes C the option that breaks the proper sequence naming convention.
-
Security failures were the result of untested parts of code
-
The development team achieved complete statement and branch coverage butmissed a serious bug in the MASPAR operating system
-
An error in the code was so obscure that you had to test the function with almostevery input value to find its two special-case failures.
-
All of the above.
C
Correct answer
Explanation
In the MASPAR case study (frequently cited in software testing curricula), the main conclusion is that an error in the code was extremely obscure, requiring testing of nearly all input values to detect two specific edge-case failures. This demonstrates the limitation of standard coverage metrics, as structural coverage alone cannot guarantee the absence of such data-specific bugs.
-
True
-
False
-
Don't Know
-
May be
A
Correct answer
Explanation
In software testing and quality assurance, any deviation from the documented requirement specification is considered a defect. This is a fundamental principle - requirements define what the system should do, and any failure to meet those specifications is a defect, regardless of whether the system functions correctly in other ways. This aligns with standard QA definitions and best practices.
-
It is a defect
-
It is a defect which requires more information
-
It is a defect which will be fixed later during the course of the project
-
It is not a defect
C
Correct answer
Explanation
A deferred defect is a confirmed defect that is intentionally postponed for fixing until a later time during the project lifecycle. This typically happens due to factors like project deadlines, risk assessment, or resource allocation. The defect is documented and tracked but not immediately addressed. Option A is incomplete - deferred defects are defects, but the definition misses the key temporal aspect. Option B describes a defect needing clarification, while option D incorrectly denies it's a defect.
-
Error Guessing
-
Equivalence Class Partition
-
Boundary Value Analysis
-
None of the Above
-
True
-
False
-
Don't Know
-
May be
A
Correct answer
Explanation
In software testing and quality assurance, a defect is defined as any deviation from the specified requirements. If the actual behavior differs from what's documented in the requirement specification, it's classified as a defect - no matter how small. This is the foundational definition used in formal testing methodologies.