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. Availability of tools to support the proposed techniques

  2. The budget allowed for training in proposed techniques

  3. Available skills and experience in the proposed techniques

  4. The willingness of the test team to learn new techniques

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

The team's existing skills and experience with testing techniques are most critical because test approaches require deep understanding to apply effectively, regardless of tool availability or training budget. Without appropriate skills, even the best techniques fail.

Multiple choice technology testing
  1. Test Failures

  2. Test data used

  3. Checkpoints(if any)

  4. All the above

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

The HP Unified Functional Testing Test Fusion report aggregates comprehensive execution results. It displays detailed information about test steps, failures encountered, the input test data utilized during the run, and the status of any defined checkpoints.

Multiple choice technology testing
  1. A properly configured test environment

  2. A thoroughly specified test procedure

  3. A process for managing identified defects

  4. A test Oracle

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

A thoroughly specified test procedure is helpful but not always a strict precondition. Tests can sometimes be executed with minimal documentation or exploratory approaches. The other options (test environment, defect management, test oracle) are more universally required.

Multiple choice technology testing
  1. Code complexity analysis

  2. Profiling

  3. Network Packet sniffing

  4. spelling and Grammer checking

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

Profiling is a dynamic analysis technique that measures program behavior during execution to identify performance bottlenecks. Code complexity is static analysis, packet sniffing is network monitoring, and spelling checks are unrelated.

Multiple choice technology testing
  1. Tester skill is a critical factor in assignment of test execution tasks

  2. Tester skills are less imporatant than ensuring 100% tester utilization

  3. Tester should always focus on defect-preventing activities

  4. Tester should be evaluated based on the number of defects they find

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

Experience-based testing (like error guessing or exploratory testing) relies heavily on tester skill and intuition. The other options suggest anti-patterns: utilization over skill, defect prevention focus, or defect-count metrics.

Multiple choice technology testing
  1. Test Items

  2. Procedure steps

  3. Location

  4. Steps to reproduce

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

IEEE 829 (Standard for Software Test Documentation) specifies the format for test incident reports. 'Steps to reproduce' is a required section that documents the exact sequence of actions to recreate the incident. Test Items and Procedure Steps are not sections in an incident report template.

Multiple choice technology testing
  1. Have we built the software right?

  2. Have we built the right software?

  3. Have we built the software?

  4. Have we built error free software?

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

Verification ensures that the software meets its specified requirements at a particular phase, focusing on whether we are building the software correctly. Validation, conversely, asks if we built the right software. Other options are incorrect or incomplete phrasing.

Multiple choice technology testing
  1. is the same as equivalence partition testing

  2. tests values at the smallest incremental distance on either side of an equivalence partition boundary

  3. tests combinations of input circumstances

  4. is used in white box testing strategies

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

Boundary value testing focuses on testing at and immediately adjacent to the boundaries of equivalence partitions. This includes the boundary value itself, the smallest value just above it, and the largest value just below it. It is not the same as equivalence partitioning (which divides inputs into classes), does not test combinations of inputs (that's pair-wise testing), and is a black-box technique not specific to white-box testing.

Multiple choice technology testing
  1. Black box testing

  2. White box testing

  3. Regression testing

  4. Unit testing

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

White box testing examines internal code structures, algorithms, and data flow. Testers see source code and design tests based on internal logic. This contrasts with black box testing (A), which only tests external behavior without code access. Unit testing (D) can be white box, but white box is the broader term. Regression testing (C) refers to retesting after changes.

Multiple choice technology testing
  1. Integration testing

  2. System testing

  3. Unit testing

  4. Static testing

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

To solve this question, the user needs to know about different types of testing used in software development. The user needs to identify which type of testing fits the given description.

The given description matches with the concept of Unit Testing. Unit testing is a software testing technique in which individual units or components of a software application are tested in isolation from the rest of the application. It is the process of testing individual units of source code to determine whether they are fit for use.

Now, let's go through each option and explain why it is right or wrong:

A. Integration testing: Integration testing is a software testing technique that tests the interaction between software modules. It is performed after unit testing and before system testing. This option is incorrect because the given description is not talking about integration testing.

B. System testing: System testing is a software testing technique in which a complete and integrated software system is tested. It is performed after integration testing and before user acceptance testing. This option is incorrect because the given description doesn't match the concept of system testing.

C. Unit testing: This option is correct. The given description matches the concept of unit testing. Unit testing is the process of testing individual units or components of a software application for proper operation.

D. Static testing: Static testing is a software testing technique in which the code is tested without executing it. It is performed by analyzing the code or documentation. This option is incorrect because static testing doesn't involve testing the smallest testable parts of an application individually and independently.

The Answer is: C

Multiple choice technology testing
  1. Black box testing

  2. Unit testing

  3. System testing

  4. Internal acceptance testing

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

Testing levels describe testing scope at different development stages: Unit (individual components), Integration (combined components), System (complete system), and Acceptance (user requirements). Black box (A) is a testing technique based on external behavior, not a level. The other options are actual testing levels in the standard hierarchy.

Multiple choice technology testing
  1. Regression testing

  2. smoke testing

  3. Beta testing

  4. Alpha testing

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

Alpha testing is internal acceptance testing performed by developers or testers within the organization before release to external users. Beta testing (C) involves external users. Regression testing (A) retests after changes, and smoke testing (B) performs basic stability checks. Alpha testing validates that software meets internal requirements before broader exposure.

Multiple choice technology testing
  1. Sanity testing

  2. Smoke testing

  3. Regression testing

  4. Acceptance testing

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

Smoke testing performs shallow, non-exhaustive checks that critical functions work before deeper testing. It quickly identifies major failures that would block further testing. Sanity testing (A) targets specific fixes. Regression (C) verifies changes didnt break existing functionality. Acceptance testing (D) validates user requirements. Smoke testings does it basically work approach matches the description.

Multiple choice technology testing
  1. White box testing

  2. Functional testing

  3. Alpha testing

  4. Beta testing

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

User Acceptance Testing (UAT) is also known as Beta testing, where actual end-users test the software in real-world conditions before final release. Alpha testing is done internally by the development team, while white-box and functional testing are different testing approaches altogether.