Tag: testing

Questions Related to testing

  1. is not important

  2. increases the later a fault is found

  3. decreases the later a fault is found

  4. can never be determined


Correct Option: B
  1. It includes the verification of designs.

  2. It states that modules are tested against user requirements.

  3. It specifies the test techniques to be used.

  4. It only models the testing phase.


Correct Option: B
  1. When the specified number of faults are found.

  2. When the test completion criteria are met.

  3. When all high and medium priority tests are complete.

  4. When all statements have been executed.


Correct Option: B
  1. Features to be tested

  2. Incident reports

  3. Risks

  4. Schedule


Correct Option: B
  1. Statement testing

  2. Path testing

  3. Data flow testing

  4. State transition testing


Correct Option: D
Explanation:

To answer this question, the user needs to know about white box testing techniques.

White box testing techniques are also known as structural testing techniques. These techniques are used to test the internal structure of the software system. In white box testing, the tester has knowledge of the internal workings of the system being tested.

Now, let's go through each option to determine which one is NOT a white box technique:

A. Statement testing: This is a white box testing technique where each statement in the source code is executed at least once. The purpose of this testing is to ensure that every statement in the code has been executed and tested.

B. Path testing: This is a white box testing technique where all possible paths through the software are tested. The purpose of this testing is to ensure that all logical paths through the software have been executed and tested.

C. Data flow testing: This is a white box testing technique where the flow of data through the software is tested. The purpose of this testing is to ensure that data is correctly input, processed, and output by the software.

D. State transition testing: This is a black box testing technique that tests the response of the system to different input conditions. The purpose of this testing is to ensure that the system responds correctly to different input conditions.

Therefore, option D is NOT a white box technique. It is a black box technique.

The Answer is: D

  1. find as many faults as possible.

  2. test high risk areas.

  3. obtain good test coverage.

  4. test whatever is easiest to test.


Correct Option: B
  1. encapsulation

  2. inheritance

  3. polymorphism

  4. both b and c


Correct Option: D
  1. cycles in the program

  2. errors in the program

  3. independent logic paths in the program

  4. statements in the program


Correct Option: C
  1. Function points

  2. External Interface Files

  3. Internal Logical Files

  4. Feature points


Correct Option: A