Tag: testing

Questions Related to testing

  1. Statement coverage

  2. Pole Coverage

  3. Condition Coverage

  4. Path Coverage


Correct Option: B
  1. Functionality

  2. Usability

  3. Supportability

  4. Maintainability


Correct Option: C

To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.

  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

Fault Masking is

  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

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Error condition hiding another error condition - This option is correct. Fault masking refers to the situation where one error condition hides another error condition. This means that when one fault occurs, it masks or conceals the presence of another fault, making it difficult to identify and debug the system.

Option B) Creating a test case which does not reveal a fault - This option is not correct. Creating a test case that does not reveal a fault is known as fault masking prevention. It aims to ensure that test cases are designed to uncover faults rather than hide them.

Option C) Masking a Fault by Developer - This option is not correct. Fault masking is not related to masking a fault by a developer. It is a phenomenon that occurs during the execution of a system or software.

Option D) Masking a Fault by tester - This option is not correct. Fault masking is not related to masking a fault by a tester. It is a phenomenon that occurs during the execution of a system or software.

The correct answer is A) Error condition hiding another error condition. This option is correct because it accurately describes the concept of fault masking, which refers to the situation where one error condition hides another error condition.

  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

In which of the following phase can an ETL developer identify & report the defects?

  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