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. 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. Single item as a filter

  2. Two items as a filter

  3. Multiple items as filter

  4. Five items as filter

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

Quality Center allows you to define multiple filter items to display only records that meet your specified criteria. You can create complex filters using multiple conditions, not just single or limited items, providing flexible data filtering capabilities.

Multiple choice technology testing
  1. Object Repository

  2. Object Identification

  3. Object Restore

  4. Task Plan

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

The Object Repository in QTP/UFT stores test objects along with their properties and values. This centralized storage allows tests to reference objects without hardcoding property values, making tests more maintainable. When object properties change in the application, you only need to update them in the Object Repository.

Multiple choice technology web technology
  1. a. TransactionalTestExecutionListener class

  2. b. AbstractTransactionalSpringContextTests class

  3. c. TestExecutionListener class

  4. d. AbstractTestExecutionListener class

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

TransactionalTestExecutionListener is a TestExecutionListener implementation in Spring's TestContext framework that provides transaction management for integration tests, including automatic transaction rollback after each test.

Multiple choice technology testing
  1. Net, Web, Java

  2. Active X, Web, Plug-ins

  3. Active X, Visual Basic, Web

  4. Web, Visual Basic, SAP

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

QTP 9.2 (QuickTest Professional) comes with default add-ins for ActiveX, Visual Basic, and Web testing. These are the core add-ins installed by default for testing common application types.

Multiple choice technology testing
  1. Watch, Record, Display

  2. Record, Command, Variables

  3. Display, Variables, Watch

  4. Command, Watch, Variables

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

The Debug Viewer Pane in QTP/UFT contains three tabs: Command (for executing commands), Watch (for watching variables), and Variables (for viewing variable values). This combination helps in debugging by allowing you to execute commands, monitor specific variables, and inspect all variables at runtime.

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.