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

Pick the best definition of quality

  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

One Key reason why developers have difficulty testing their own work is :

  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