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. Behavioral errors

  2. Logic errors

  3. Performance errors

  4. Typographical errors

  5. Both b and d

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

White-box testing examines internal program structures. Logic errors (like incorrect paths) and typographical errors (like variable misspellings that still compile but cause wrong execution flows) can be missed by black-box testing, which only verifies external inputs/outputs. Both behavioral and performance errors are typically checked in black-box testing.

Multiple choice technology testing
  1. Rely on basis path testing

  2. Exercise the logical conditions in a program module

  3. Select test paths based on the locations and uses of variables

  4. Focus on testing the validity of loop constructs

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

Condition testing is a white-box technique that focuses on exercising logical conditions within program modules. It tests various combinations of condition outcomes to ensure all logical paths are validated. The approach specifically targets decision points and boolean expressions, distinguishing it from other control structure testing techniques.

Multiple choice technology testing
  1. Rely on basis path testing

  2. Exercise the logical conditions in a program module

  3. Select test paths based on the locations and uses of variables

  4. Focus on testing the validity of loop constructs

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

Data flow testing selects test paths based on how variables are defined (assigned) and used (referenced) throughout the program. It tracks the flow of data between variable definitions and their uses to ensure coverage of data relationships. Option A describes basis path testing, option B describes condition testing, and option D describes loop testing, which are different white-box testing techniques.

Multiple choice technology testing
  1. Rely basis path testing

  2. Exercise the logical conditions in a program module

  3. Select test paths based on the locations and uses of variables

  4. Focus on testing the validity of loop constructs

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

Loop testing specifically focuses on testing loop constructs to ensure they function correctly for different scenarios. It tests loop boundaries (zero iterations, one iteration, maximum iterations, n+1 iterations) and loop termination conditions. Options A, B, and C describe different testing techniques: basis path testing, condition testing, and data flow testing respectively, which have different focuses than loop constructs.

Multiple choice technology architecture
  1. Stress Testing

  2. Regression Testing

  3. Integration Testing

  4. None

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

Spring is primarily used in integration testing to test how different components work together. It allows you to load the application context, wire beans together, and test interactions between components in a near-production environment. Stress testing focuses on system limits, and regression testing checks for bugs in existing functionality.

Multiple choice technology testing
  1. Alpha Testing

  2. Beta Testing

  3. White Box Testing

  4. Black Box Testing

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

Alpha Testing occurs at the developer's site by internal staff or independent testers before release. Beta Testing happens at the customer's site with actual users in their environment. The question specifies 'at the developers' site,' which is the defining characteristic of Alpha Testing.

Multiple choice technology testing
  1. Testers

  2. Test Lead

  3. Test Manager

  4. Developer

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

Test cases are typically designed by testers as part of test design and planning activities. While test leads and managers review and may contribute to test strategy, the detailed design of individual test cases is primarily a tester responsibility. Developers write unit tests, not system-level test cases.

Multiple choice technology testing
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

StickyMinds (stickyminds.com) is a well-known software testing and quality resource community. Softwaredioxide is also a software-related site but less specifically focused on testing. Sulekha is an Indian local services portal, and HowStuffWorks is general educational content.

Multiple choice technology testing
  1. True

  2. False

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

Verification and Validation are distinct concepts in software quality. Verification asks 'Are we building the product right?' (checking against specifications). Validation asks 'Are we building the right product?' (checking against user needs). They represent different quality activities with different objectives.

Multiple choice technology testing
  1. Cost Avoidance Report

  2. Test Approach/Strategy

  3. Test Plan

  4. Test Model

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

The Test Approach/Strategy defines the overall guidelines, standards, and generic entry and exit criteria for testing. While the detailed Test Plan implements and specifies these criteria for a specific project, the strategy is the root document establishing them.

Multiple choice technology testing
  1. Software Quality Assurance

  2. Software Testing

  3. A good Tester

  4. All of the above

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

All three elements contribute to quality software. SQA provides the framework, testing finds defects, and skilled testers execute both. The question uses 'must' loosely - these are supporting practices, not strictly mandatory.

Multiple choice technology testing
  1. Static Testing

  2. Dynamic Testing

  3. White Box Testing

  4. Reliability Testing

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

Static testing involves reviews and inspections without executing code. Dynamic testing requires running the software. White-box refers to internal structure visibility, not execution status.

Multiple choice technology
  1. FAP

  2. DDT

  3. Both

  4. None of these

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

Image Level Rules are defined in the DDT (Data Definition Tool) not FAP. DDT handles the detailed specifications for how images are recognized and processed while FAP likely serves a different function in the system.