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. find more faults

  2. do best testing in the time available

  3. do more effective testing

  4. shorten the time required for testing

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

Test prioritization focuses on scheduling and ordering test cases so that the highest-risk or highest-priority items are executed first, ensuring that resources deliver the best possible quality assurance within the limited timeline available.

Multiple choice technology testing
  1. Everyone who have some use for the tool

  2. The vendor contractor to write the initial script

  3. The independent testing team

  4. A small team to establish best way to use the tool

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

A new testing tool should first be used by a small pilot team to establish best practices, evaluate its effectiveness, and develop usage guidelines before broader rollout. This prevents ineffective adoption across the organization.

Multiple choice technology testing
  1. Test Factors

  2. Functions/Subroutines

  3. All

  4. None

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

Test data collection should comprehensively cover test factors (what was tested), functions/subroutines (which code units), and environmental/execution details. The option All (C) implies comprehensive data collection including these categories.

Multiple choice technology testing
  1. Compliance Testing - Business rules

  2. Black box testing - Path coverage

  3. Regression testing - end users

  4. File integrity - control totals

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

File integrity verification uses control totals to detect data corruption or unauthorized changes. Control totals (sums, counts, hashes) provide a mathematical check that file contents remain intact. The other pairs are mismatched.

Multiple choice technology testing
  1. will help ensure unchanged areas of software hav not been affected

  2. will help ensure changed areas of software hav not been affected

  3. can run during user acceptance testing only

  4. will always be automated

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

Regression testing specifically targets unchanged software components to verify recent changes haven't introduced unintended side effects. It's not limited to UAT phase and can be manual, though automation is common practice.

Multiple choice technology testing
  1. Black box testing appropriate to all levels of testing

  2. Black box testing used only by developers

  3. Black box testing appropriate for system testing only

  4. A white box testing appropriate for component testing only

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

Equivalence partitioning is a standard black-box testing technique that divides input data into partitions of equivalent behaviors. It is highly versatile and applicable across all testing levels, including unit, integration, system, and acceptance testing.

Multiple choice technology
  1. creating program code

  2. finding and correcting errors in the program code

  3. Identify the task to be computerized

  4. creating the algorithm

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

Debugging is the systematic process of identifying, isolating, and fixing errors or defects in program code. It involves running tests, analyzing program behavior, and correcting logical or syntax errors. Creating program code is coding, identifying tasks is requirements analysis, and creating algorithms is algorithm design.

Multiple choice technology testing
  1. A,B,C and D

  2. A and C

  3. A,C and D

  4. A,B and C

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

Static testing analyzes code and documentation without execution, making it ideal for finding standards deviations (A) and maintainability issues (C). Dynamic testing during runtime better reveals requirements defects (B) and interface mismatches (D). However, all these defect types can theoretically be detected through thorough static analysis.

Multiple choice technology testing
  1. Boundary value

  2. Equivalence partition

  3. Decision table

  4. State transition

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

Equivalence partitioning groups input values into classes that should be processed identically by the system. By testing one representative value from each equivalence class, you can effectively validate the system's behavior for all values in that class, making testing more efficient while maintaining good coverage.

Multiple choice technology testing
  1. Component interaction

  2. Probe effect

  3. State transition

  4. Disaster recovery

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

Operational testing validates that the system functions correctly in its operational environment, including backup and recovery procedures. Disaster recovery testing is a key component of operational testing as it verifies the system's ability to recover from failures and resume operations, which is essential for maintaining business continuity.

Multiple choice technology testing
  1. Specification based technique

  2. Black box technique

  3. White box technique

  4. D. Data driven testing technique

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

White box testing examines the internal structure and implementation of the system, making it appropriate for testing undocumented legacy code. When specifications are unavailable, analyzing the code structure helps identify test scenarios and verify that the existing functionality works correctly, even without formal requirements documentation.

Multiple choice technology testing
  1. Security testing

  2. Non functional testing

  3. Exploratory testing

  4. Interoperability testing

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

Exploratory testing is an informal approach where testers design and execute tests simultaneously, using insights from previous test results to guide subsequent testing. This adaptive, learning-based approach allows testers to investigate the system dynamically and follow promising leads based on what they discover.