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

Multiple choice technology testing
  1. Selenium IDE

  2. Selenium RC

  3. Selenium DOM

  4. Selenium Grid

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Linux

  2. Unix

  3. Windows

  4. Macintosh

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Web Applications

  2. Client Server Applications

  3. Both

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Selenium tool can only be used in Mozilla Firefox browser

  2. Selenium test suite uses many languages

  3. It is a record & playback tool

  4. Auto complete for all common Selenium commands

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. compliance testing

  2. disaster testing

  3. verifying compliance to rules

  4. functional testing

  5. ease of operations

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. We can never be certain that the program is bug free

  2. We have no definite stopping point for testing, which makes it easier for somemanagers to argue for very little testing.

  3. 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.

  4. All of the above.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Assess development plan and status

  2. Develop the test plan

  3. Test software design

  4. Test software requirement

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Security failures were the result of untested parts of code

  2. The development team achieved complete statement and branch coverage butmissed a serious bug in the MASPAR operating system

  3. 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.

  4. All of the above.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. True

  2. False

  3. Don't Know

  4. May be

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. It is a defect

  2. It is a defect which requires more information

  3. It is a defect which will be fixed later during the course of the project

  4. It is not a defect

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. True

  2. False

  3. Don't Know

  4. May be

Reveal answer Fill a bubble to check yourself
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.