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. Having good attention to detail

  2. Being diplomatic

  3. Able to be relied on

  4. Able to write software

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

A tester must be reliable and dependable - this means consistently following through, reporting accurately, and being trusted by the team. While attention to detail (A) is important, it's a skill that can be learned. Being diplomatic (B) helps with communication but isn't fundamental. Software writing ability (D) is not required for testers. Reliability (C) is foundational - without trust, a tester's findings lose credibility.

Multiple choice technology testing
  1. Test Factors

  2. Functions/subroutines

  3. All of the above

  4. None of the above

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

Test data should comprehensively capture what was tested and how. Test factors include environmental conditions, configurations, and variables that affect test results. Functions/subroutines identify what code units were exercised. Both types of metadata are essential for reproducibility, coverage analysis, and debugging. The data serves as an audit trail, so collecting both dimensions (C) ensures complete documentation.

Multiple choice technology testing
  1. Checking that we are building the right system

  2. Checking that we are building the system right

  3. Performed by an independent test team

  4. Making sure that it is what the user really wants

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

Verification confirms we are building the system right - that it meets specifications and is implemented correctly (B). Validation checks we are building the right system - that it meets user needs (A, D). Independent testing (C) is not required for verification, which can be done by developers. The key distinction is verification = build correctly, validation = build correct thing.

Multiple choice technology testing
  1. True

  2. False

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

In QC, defects are typically added through the Defects module and follow a specific workflow. While you might be able to access defect creation from various modules, the statement 'any modules at any stage' is too broad - QC has structured workflows and permissions that govern when and how defects can be created.

Multiple choice technology testing
  1. System testing

  2. Usability testing

  3. Performance testing

  4. Both b & c

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

Non-functional testing validates quality attributes rather than specific behaviors. Performance testing checks speed, scalability, and stability under load, while usability testing evaluates user experience and interface quality. System testing is functional as it verifies the system meets specified requirements.

Multiple choice technology testing
  1. Data Tester

  2. Boundary Tester

  3. Capture/Playback

  4. Outut Comparator

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

Capture/playback tools record manual test interactions and replay them automatically, making them ideal for regression testing. They allow tests to be executed repeatedly without manual intervention, ensuring that recent changes haven't broken existing functionality. The other options are either not standard tools or not primarily used for regression automation.

Multiple choice technology testing
  1. Stub

  2. Driver

  3. Proxy

  4. None of the above

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

To solve this question, the user needs to know about software testing techniques, specifically unit testing. The user must identify the correct term for a program that calls a function with test data to test its functionality.

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

A. Stub: A stub is a piece of code that simulates the behavior of a function or module. It is used in place of the actual function or module during testing. While a stub can be used in testing, it is not the correct term for a program that calls a function with test data to test its functionality.

B. Driver: A driver is a program that calls a function with test data to test its functionality. It is used to test functions that rely on input from other functions or modules. This option is correct.

C. Proxy: A proxy is an intermediary between two systems that allows them to communicate with each other. It is not the correct term for a program that calls a function with test data to test its functionality.

D. None of the above: This option is incorrect because option B, Driver, is the correct answer.

The Answer is: B

Multiple choice technology testing
  1. Is the same as equivalence partitioning tests

  2. Test boundary conditions on, below and above the edges of input and output equivalence classes

  3. Tests combinations of input circumstances

  4. Is used in white box testing strategy

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

Boundary value testing focuses on testing at and around the boundaries of equivalence classes because errors often occur at edges. It tests values below, at, and above the boundaries of input and output ranges. It is distinct from equivalence partitioning (which divides inputs into classes) and is a black-box technique, not white-box. Combinatorial testing is a separate method.

Multiple choice technology testing
  1. Error condition hiding another error condition

  2. Creating a test case which does not reveal a fault

  3. Masking a Fault by Developer

  4. Masking a Fault by tester

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

Fault masking occurs when one defect or error condition prevents another defect from being observed or activated during software execution.

Multiple choice technology web technology
  1. Validation of all negative scenarios like handling of incorrect data type

  2. Testing the boundaries of each field to find any limitations

  3. Job not to be aborted at any cause - all abort scenarios must be handled in the code

  4. Cleansing of obvious data for any anomalies (even if its not specified in requirements)

  5. None of the above

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

ETL job unit testing MUST include negative scenario validation (A) - handling wrong data types, nulls, malformed data. Boundary testing (B) - field length limits, min/max values - is also essential. Option C is incorrect because jobs SHOULD abort for unrecoverable errors. Option D (unsolicited cleansing) is typically out of scope for unit testing.

Multiple choice technology testing
  1. Record and Run test on any open Windows-based application.

  2. Record and Run on these applications

  3. Record and Run on applications opened via the desktop

  4. None of the above

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

When a Windows application is already running before a test starts, configuring the tool to 'Record and Run test on any open Windows-based application' allows it to attach to and interact with the active process instead of attempting to launch a new instance.