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. System testing

  2. Usability testing

  3. Performance testing

  4. Both b and c

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

Non-functional testing evaluates system characteristics rather than specific behaviors. Performance testing measures speed, scalability, and stability. Usability testing assesses user experience. Both are non-functional. System testing is functional (validates features work correctly).

Multiple choice technology testing
  1. Performance testing, load testing, stress testing are part of functionality

  2. Tests are based on functions and features and their interoperability with specific systems

  3. Includes the tests required to measure characteristics of systems

  4. It is the testing of “how” the system works

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

Functional testing validates what the system does - its features, functions, and interoperability. Option B correctly describes this. Option A lists non-functional tests (performance, load, stress). Option C describes non-functional characteristics. Option D is incorrect - functional testing tests 'what' the system does, not 'how' it works internally.

Multiple choice technology testing
  1. Quick Test Professional

  2. Load Runner

  3. Quality Center

  4. Jmeter

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

Test management tools organize test cases, execution, and reporting. Quality Center (now HP ALM) is a comprehensive test management tool. Quick Test Professional is automated functional testing. Load Runner is performance testing. JMeter is load/performance testing. Only Quality Center manages the entire testing process.

Multiple choice technology testing
  1. Checking whether the software is built right

  2. Matching the software developed, with the specifications

  3. Checking whether the right software is built

  4. Matching the software developed, with only requirements

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

Validation determines whether the software meets the user's actual needs, which is commonly summarized as building the right software. Verification, by contrast, is checking if the software was built right according to the specifications, which makes the other options incorrect.

Multiple choice technology testing
  1. Test management tool

  2. Capture/Playback

  3. Boundary Tester

  4. Data Comparator

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

Regression testing verifies that existing functionality still works after changes. Capture/Playback tools record test actions and replay them automatically, making them ideal for repeated regression tests. Test management tools organize tests but don't execute them. Boundary testers focus on edge cases, not regression. Data comparators validate data integrity.

Multiple choice technology testing
  1. Mutation Testing

  2. Specification-based testing

  3. Fault Injection

  4. Code coverage

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

White-box testing examines internal code structure. Mutation Testing alters code to verify tests catch changes. Fault Injection introduces errors to test system response. Code coverage measures how much code is executed. Specification-based testing uses requirements without code knowledge - it's black-box, not white-box.

Multiple choice technology testing
  1. Destructive testing

  2. Usability testing

  3. Stability testing

  4. Security testing

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

Security testing is essential for software handling confidential data as it identifies vulnerabilities that hackers could exploit to intrude into the system. Destructive testing tests system stability under stress, usability testing evaluates user experience, and stability testing checks system reliability under load - none specifically address hacker intrusion prevention.

Multiple choice technology testing
  1. A collection of tests that are performed to decide whether it is possible to proceed with further testing.

  2. A collection of tests that are performed to decide whether it is reasonable to proceed with further testing.

  3. Build Validation test

  4. Testing done by end users

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

Smoke testing is a quick, initial suite of tests run on a new build to determine if the software is stable enough to proceed with further, more detailed testing. Distractors like end-user testing refer to acceptance testing, while the distinction between possible and reasonable is minor.

Multiple choice technology testing
  1. Models, either formal or informal, are used for the specification of the problem to be solved, the software or its components.

  2. Knowledge of testers, developers, users and other stakeholders about the software, its usage and its environment.

  3. Information about how the software is constructed is used to derive the test cases, for example, code and design

  4. Knowledge about likely defects and their distribution

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

Structure-based testing (also called white-box testing) derives test cases from the internal structure of software - such as code, design, and architecture. It requires access to and understanding of how the software is built internally. Option A describes specification-based testing, B and D refer to experience-based testing techniques.

Multiple choice technology testing
  1. Code coverage

  2. Cost

  3. Resource availability

  4. Defect Density

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

Testing exit criteria are based on measurable completion indicators like code coverage thresholds, defect density trends, and cost-benefit analysis. Resource availability is a constraint that affects HOW testing is performed, not a decision criterion for WHEN to stop. The stop decision depends on whether test objectives have been met, not on whether resources remain available.

Multiple choice technology testing
  1. Zero Defects

  2. Conformance to requirements

  3. Completing testing as per plan

  4. Finding more defects

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

In quality management, quality is most standardly defined as conformance to requirements, ensuring the product meets specified user needs. While zero defects is an ideal goal, it is not the definition itself, and testing metrics do not define overall quality.

Multiple choice technology testing
  1. Analytical approach

  2. Model-based approach

  3. Methodical approach

  4. Consultative approach

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

Risk-based testing is fundamentally an analytical approach because it involves systematic identification, assessment, and prioritization of risks using analytical techniques. It uses risk assessment matrices, impact analysis, and probability calculations to determine testing priority - making it analytical rather than model-based (which uses formal models), methodical (which follows predefined procedures), or consultative (which relies on expert judgment).

Multiple choice technology testing
  1. Code is complete

  2. Design is complete

  3. Requirements have been approved

  4. Code is delivered

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

Test process activities (planning, monitoring, control) can begin once requirements have been approved because these activities depend on having defined test basis. Testing doesn't require code completion or delivery - test planning and design happen during earlier phases. Design completeness alone is insufficient; requirements approval provides the necessary foundation.

Multiple choice technology testing
  1. Risk Management

  2. Defect Management

  3. Configuration Management

  4. Incident Management

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

Configuration Management is responsible for uniquely identifying and controlling versions of test items, documents, tests, and test harness. It provides version control, traceability, and reproducibility. Risk Management deals with risks, Defect Management tracks bugs, and Incident Management handles test incidents - none of these provide the unique identification function described.

Multiple choice technology testing
  1. Mcaffee Number

  2. McCabe Number

  3. Test complexity value

  4. Defect density

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

Cyclomatic complexity was developed by Thomas McCabe and is commonly called McCabe's number or McCabe's complexity metric. It's a measure of code complexity based on control flow. McAffee is unrelated, 'Test complexity value' is not a standard term, and 'Defect density' measures bugs per unit size, not structural complexity.