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. To reduce testing time

  2. To reduce testing cost

  3. All of the above

  4. We have budget for automation

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

Automation is primarily adopted to reduce testing time (automated tests run much faster than manual testing) and reduce cost (less manual effort required over time, especially for regression testing). Option C 'All of the above' correctly captures both these primary benefits. Option A and B individually are both valid reasons to automate. Option D is not a reason to automate - having a budget is an enabler, not a motivation. Option C is correct.

Multiple choice technology testing
  1. Load Testing

  2. Stress Testing

  3. Functional Testing

  4. Regression Testing

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

Stress testing pushes a system beyond its specified limits to find breaking points. Since the requirement states 'up to 10 MB' but we're testing with 100 MB (10x the documented limit), this is stress testing - we're intentionally exceeding normal capacity to observe failure behavior. Load testing tests expected load (within specifications). Functional testing verifies features work as specified. Regression testing checks that changes don't break existing functionality. Option B is correct.

Multiple choice technology testing
  1. Load Testing

  2. Stress Testing

  3. Negative Testing

  4. Regression Testing

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

Negative testing involves testing beyond the specified valid boundaries to verify the system properly handles invalid input. Testing with 6 characters when the requirement states maximum 5 characters is testing the failure condition - the system should reject this input. Load testing and stress testing are performance testing types, while regression testing checks for unintended changes after modifications.

Multiple choice technology testing
  1. Manual Testing

  2. Functional Testing, Regression Testing

  3. Manual Testing, Automation Testing

  4. Automation Testing

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

The two primary methods of software testing execution are manual testing (where test cases are run manually by a human) and automation testing (where scripts and tools execute the tests). Other options list specific testing types rather than general execution methods.

Multiple choice technology testing
  1. To find bug whenever time permits

  2. To find bug in the assigned module

  3. To find bugs as early as possible

  4. To find bugs whenever automation suite is executed

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

One of the fundamental principles of software testing is to identify and resolve defects as early as possible in the software development life cycle (SDLC) to reduce the cost and effort of fixing them later.

Multiple choice technology testing
  1. Find bugs

  2. Provide confidence and information

  3. Prevent defects

  4. All of the above

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

Testing serves multiple purposes: it finds bugs in the software, provides confidence and information about system quality to stakeholders, and helps prevent defects by identifying issues early. 'All of the above' correctly captures that testing is not just about finding bugs but is a comprehensive quality assurance activity.

Multiple choice technology testing
  1. Total numbers of features to be tested

  2. Testing approaches to be tested

  3. Testing tools to be used

  4. All of the above

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

A Test Plan is a comprehensive document that details the scope, objective, target market, resources, test environments, features to be tested, test methodologies, tools, and schedule for a testing project, making all options correct.

Multiple choice technology testing
  1. Load Testing

  2. Stress Testing

  3. Functional Testing

  4. Regression Testing

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

Load testing evaluates system performance under expected load conditions. Testing the printer with exactly 100 pages in 30 seconds matches the requirement specification, making this load testing - verifying the system meets its stated performance criteria under normal load. Stress testing would exceed this limit to find breaking points.

Multiple choice technology testing
  1. Equivalence Partitioning

  2. Boundary Value Analysis

  3. Error Guessing

  4. State Transition Testing

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

Error guessing is a black box testing technique where testers use their experience and intuition to make educated guesses about where defects might exist. Unlike formal methods such as equivalence partitioning or boundary value analysis, error guessing relies on the tester's judgment to identify potential error conditions based on common mistakes.

Multiple choice technology testing
  1. Curiosity

  2. A critical eye

  3. Good Communication

  4. All of the above

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

Effective software testing requires curiosity to explore the system thoroughly, a critical eye to identify potential issues and edge cases, and good communication skills to document and report findings clearly. 'All of the above' correctly identifies that successful testing demands all these qualities combined.

Multiple choice technology testing
  1. Any tester

  2. Any tester who wants to do it

  3. Any tester who has understanding of software coding

  4. Test Lead

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

Automation testing requires programming knowledge to write and maintain test scripts. Any tester with coding understanding can perform automation testing, distinguishing it from manual testing which doesn't require coding skills. Test leads may or may not do automation - it's a technical skill, not a role-specific one.

Multiple choice technology testing
  1. System Testing

  2. Unit Testing

  3. Integration Testing

  4. Regression Testing

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

Regression testing involves re-running previously executed tests to verify that recent code changes have not adversely affected existing functionality. Re-applying tests from old builds to new builds is the classic definition of regression testing - ensuring nothing that worked before has broken.

Multiple choice technology testing
  1. What to test

  2. Inputs to test

  3. Expected results

  4. Test Conditions and Constraints

  5. All of the above

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

A test case is a comprehensive specification that includes what to test, the inputs to be used, expected results, and the conditions and constraints under which testing occurs. 'All of the above' correctly identifies that test cases encompass all these elements to provide complete guidance for test execution.

Multiple choice technology testing
  1. Installation testing

  2. Integration testing

  3. Configuration testing

  4. Regression testing

  5. Stress testing

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

Stress testing evaluates system behavior under extreme load conditions, often beyond expected capacity. Flooding the system with transactions to test peak performance is stress testing - it pushes the system to its limits to identify breaking points and ensure it handles overload conditions gracefully.

Multiple choice technology testing
  1. Functional testing

  2. Requirements Testing

  3. Regression Testing

  4. User Testing

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

Functional testing evaluates software based on functional requirements - what the system should do from a user perspective. It verifies that each feature of the software operates as specified in the requirements document, making 'Functional testing' the correct answer.