Tag: testing

Questions Related to testing

Incorrect form of Logic coverage is

  1. Statement coverage

  2. Pole Coverage

  3. Condition Coverage

  4. Path Coverage


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of logic coverage. Logic coverage is a measure of how well a test suite exercises the logic in a program or system. It helps to ensure that all logical conditions and paths are tested.

Let's go through each option to understand why it is correct or incorrect:

Option A) Statement coverage - This option is incorrect because statement coverage is a type of logic coverage. It measures the percentage of statements in the code that are executed by the test suite.

Option B) Pole Coverage - This option is correct. Pole coverage is not a valid form of logic coverage. It is not a recognized term or technique in software testing.

Option C) Condition coverage - This option is incorrect because condition coverage is a type of logic coverage. It measures the percentage of logical conditions in the code that are evaluated to both true and false during testing.

Option D) Path coverage - This option is incorrect because path coverage is a type of logic coverage. It measures the percentage of different paths through the code that are executed by the test suite.

The correct answer is B) Pole Coverage. This option is incorrect because pole coverage is not a valid form of logic coverage.

  1. Functionality

  2. Usability

  3. Supportability

  4. Maintainability


Correct Option: C
  1. Stub

  2. Driver

  3. Proxy

  4. None of the above


Correct Option: B
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

  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


Correct Option: B
  1. Quality is job one

  2. Zero defects

  3. Conformance to requirements

  4. Work as designed


Correct Option: C
  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


Correct Option: A
  1. Lack of technical documentation

  2. Lack of test tools on the market for developers

  3. Lack of training

  4. Lack of Objectivity


Correct Option: D
  1. Specs/Requirement walkthrough

  2. Code walkthrough

  3. Unit testing

  4. All of the above


Correct Option: D
  1. UNICODE

  2. Hexadecimal

  3. UTF-8

  4. ASCII

  5. None of the above


Correct Option: E