Tag: testing

Questions Related to testing

  1. number of independent paths in the basis set of a program

  2. number of binary decisions + 1

  3. upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once

  4. number of branches and decisions


Correct Option: B

If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%) and should get 80% for distinction, what is equivalence class.

  1. 23, 24, 25

  2. 0, 12, 25

  3. 30, 36, 39

  4. 32,37,40


Correct Option: D

AI Explanation

To determine the equivalence class, we need to consider the passing marks and the criteria for distinction.

Given that the passing marks are 25 (or 61% of the total marks), any score below 25 will result in a failing grade. Therefore, we can eliminate options A and B since they include values below 25.

For distinction, a candidate should score 80% or above. Considering that the total number of questions is 40, we can calculate the minimum number of correct answers required for distinction:

Minimum number of correct answers for distinction = 80% of 40 = 0.8 * 40 = 32

Therefore, any score less than 32 will not meet the criteria for distinction. Based on this, we can eliminate option C.

Now, we are left with option D, which includes values 32, 37, and 40. These values fall within the range of passing marks and also meet the criteria for distinction. Hence, the correct answer is option D.

  1. Random testing

  2. Data Flow testing.

  3. Statement testing.

  4. Syntax testing.


Correct Option: D
  1. Ensure the test item is adequately tested.

  2. Make the need for black-box testing redundant.

  3. Run the risk that the requirements are not satisfied.

  4. Suffices for the unit testing phase.


Correct Option: C
  1. Review process itself

  2. Metrics analysis

  3. Tool support.

  4. Process improvement.


Correct Option: C
Explanation:

To answer this question, the user needs to understand the items that are included in the cost of reviews and the items that are excluded.

The statement says that the cost of reviews will NOT include. This means that the correct option will be an item that is typically included in the cost of reviews, but in this case, will be excluded.

A. Review process itself: This option is typically included in the cost of reviews, so it is not the correct answer.

B. Metrics analysis: This option is typically included in the cost of reviews, so it is not the correct answer.

C. Tool support: This option is typically included in the cost of reviews, but the statement says that the cost of reviews will not include it. Therefore, option C is the correct answer.

D. Process improvement: This option is typically included in the cost of reviews, so it is not the correct answer.

The Answer is: C. Tool support.

  1. System integration

  2. Functional testing

  3. Non-functional testing.

  4. Requirements testing


Correct Option: C
  1. Dynamic analysis tool

  2. Static Analysis tool

  3. Maintenance tool

  4. Configuration tool


Correct Option: A
  1. Dynamic analysis tool

  2. Static Analysis tool

  3. Maintenance tool

  4. Configuration tool


Correct Option: A