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

Multiple choice technology testing
  1. Repetition Testing

  2. Stress Testing

  3. Data Testing

  4. Load Testing

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

Test-to-fail techniques intentionally push systems beyond normal operating conditions to expose weaknesses. Stress testing (overload), Repetition testing (endurance), and Load testing (volume) all target failure points. Data testing typically focuses on validation within normal parameters.

Multiple choice technology testing
  1. Parameterization

  2. Correlation

  3. Rendezvous

  4. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Parameterization is the technique of replacing hard-coded values in test scripts with variables that can take different values for each Vuser or iteration. This simulates real users entering different data (like different usernames, product IDs, or form entries) rather than all Vusers entering identical data.

Multiple choice technology testing
  1. supplements formal test design techniques

  2. can only be used in component, integration and system testing.

  3. is only performed in user acceptance testing.

  4. is not repeatable and should not be used.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Error guessing is an experience-based test design technique where testers use their intuition to guess where defects might exist. It supplements formal techniques by leveraging domain knowledge and past defect patterns. It is NOT limited to specific test levels (B is wrong), NOT exclusive to UAT (C is wrong), and IS repeatable as a technique (D is wrong).

Multiple choice technology testing
  1. Regression testing

  2. Integration testing

  3. System testing

  4. User acceptance testing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Regression testing involves re-running previously executed tests to verify that recent code changes haven't adversely affected existing functionality. Test capture/replay tools record manual test interactions and play them back automatically, making them ideal for repeated regression cycles. Integration and system testing can benefit too, but regression requires the most frequent re-execution.

Multiple choice technology testing
  1. The system shall be user friendly

  2. The safety-critical parts of the system shall contain 0 faults.

  3. The response time shall be less than one second for the specified design load.

  4. The system shall be built to be portable.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A testable requirement must be specific, measurable, and verifiable. Option C is testable because it specifies a concrete performance threshold (less than 1 second) under defined conditions (specified design load). Options A (user-friendly) and D (portable) are subjective with no clear pass/fail criteria. Option B (0 faults) is theoretically untestable because proving absolute zero requires infinite testing.

Multiple choice technology testing
  1. find as many faults as possible

  2. test high risk areas.

  3. obtain good test coverage.

  4. test whatever is easiest to test.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Risk-based testing prioritizes test effort based on the likelihood and impact of failures. High-risk areas (critical functionality, complex logic, frequently changed code) deserve priority because defects there cause the most harm. While coverage and fault counts matter, they're secondary to targeting areas where failures would be most damaging.

Multiple choice technology testing
  1. System tests are often performed by independent teams.

  2. Functional testing is used more than structural testing.

  3. Faults found during system tests can be very expensive to fix.

  4. End-users should be involved in system tests.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

System testing evaluates the integrated system against requirements. It's typically performed by independent test teams (A is true), uses more functional than structural techniques (B is true), and faults found late are expensive to fix (C is true). However, end-users participate in USER ACCEPTANCE TESTING, not system testing (D is the false statement). System testing precedes UAT.

Multiple choice technology testing
  1. Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Track Defects

  2. Specify Requirements, Specify Releases, Plan Tests, Execute Tests, Track Defects

  3. Specify Requirements, Plan Tests, Specify Releases, Execute Tests, Track Defects

  4. Specify Releases, Specify Requirements, Plan Tests, Track Defects, Execute Tests

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The correct order of Quality Center test management phases is: Specify Releases (defining the release cycle), Specify Requirements (documenting what to test), Plan Tests (designing test cases), Execute Tests (running the tests), and Track Defects (managing bugs). This sequence follows a logical flow from release planning through defect management.

Multiple choice technology testing
  1. Regression testing

  2. Integration testing

  3. System testing

  4. User acceptance testing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Regression testing involves re-running previously executed tests to verify that unchanged parts of the software still work after changes. Test capture and replay tools are most beneficial here because the same tests need to be executed repeatedly after each code change, making automation highly valuable.

Multiple choice technology testing
  1. supplements formal test design techniques.

  2. can only be used in component, integration and system testing

  3. is only performed in user acceptance testing.

  4. is not repeatable and should not be used.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Error guessing is an experience-based technique where testers use their intuition to guess where defects might exist. It supplements formal test design techniques (like boundary value analysis or equivalence partitioning) by adding informal, heuristic-based test cases. It can be used at any testing level and is repeatable when documented.

Multiple choice technology testing
  1. Actual results

  2. Program specification

  3. User requirements

  4. System specification

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

User Acceptance Testing (UAT) validates that the system meets user needs and business requirements. Therefore, the user requirements document is the best source for expected outcomes because it defines what users actually need from the system. System specifications focus on technical implementation, while actual results are what you observe during testing.

Multiple choice technology testing
  1. Will always be automated

  2. Will help ensure unchanged areas of the software have not been affected

  3. Will help ensure changed areas of the software have not been affected

  4. Can only be run during user acceptance testing

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Regression testing verifies that unchanged areas of software still work correctly after modifications. Its purpose is to detect unintended side effects in parts of the system that weren't directly modified. It doesn't focus on changed areas (that's the job of other tests) and can be manual or automated at any test level.

Multiple choice technology testing
  1. post-release testing by end user representatives at the developer’s site.

  2. the first testing that is performed.

  3. pre-release testing by end user representatives at the developer’s site

  4. pre-release testing by end user representatives at their sites.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Alpha testing is pre-release testing conducted at the developer's site by end user representatives or independent test team. It happens before beta testing (which is at users' own sites) and before general release. Option A incorrectly states post-release, option B is wrong (unit testing comes first), and option D describes beta testing.

Multiple choice technology testing
  1. found in the software; the result of an error.

  2. departure from specified behaviour.

  3. an incorrect step, process or data definition in a computer program

  4. a human action that produces an incorrect result.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A failure is the departure of the system from its specified behavior - it's what the user observes when the software doesn't work as expected. An error is a human mistake that causes a defect (bug) in the code, and when that defect is executed, it causes a failure. Option C describes a defect, option D describes an error, and option A is incomplete.

Multiple choice technology
  1. The ScanDisk utility begins to run.

  2. The video card and video memory are tested.

  3. The BIOS identification process occurs

  4. Memory chips are checked to ensure they are working properly.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is an EXCEPT question asking what does NOT happen during POST. POST runs hardware diagnostics during boot: testing video cards, memory, BIOS identification, and other essential hardware. ScanDisk is a Windows disk diagnostic and repair utility that runs after the OS is fully loaded, not during the BIOS-controlled POST phase. POST happens before any operating system loads, while ScanDisk requires Windows to be running.