Tag: testing

Questions Related to testing

  1. Observability

  2. Simplicity

  3. Stability

  4. All of the above


Correct Option: D

The testing technique that requires devising test cases to demonstrate that each program function is operational is called

  1. Black-box testing

  2. Glass-box testing

  3. Grey-box testing

  4. White-box testing


Correct Option: A

AI Explanation

To answer this question, you need to understand different testing techniques. Let's go through each option to understand why it is correct or incorrect:

Option A) Black-box testing - This option is correct because black-box testing is a testing technique that focuses on testing the functionality of a program without considering its internal structure or implementation details. Test cases are devised to demonstrate that each program function is operational, without knowledge of the internal code.

Option B) Glass-box testing - This option is incorrect because glass-box testing, also known as white-box testing, involves testing the internal structure and implementation of a program. It requires knowledge of the internal code and is not focused on demonstrating the operational functionality of each program function.

Option C) Grey-box testing - This option is incorrect because grey-box testing is a combination of black-box and white-box testing techniques. It involves having partial knowledge of the internal code and using that knowledge to design test cases. Grey-box testing does not necessarily focus on demonstrating the operational functionality of each program function.

Option D) White-box testing - This option is incorrect because white-box testing, also known as glass-box testing, involves testing the internal structure and implementation of a program. It requires knowledge of the internal code and is not focused on demonstrating the operational functionality of each program function.

The correct answer is A) Black-box testing. This option is correct because black-box testing is the testing technique that requires devising test cases to demonstrate that each program function is operational, without considering the internal structure or implementation details of the program.

  1. Incorrect or missing functions

  2. Interface errors

  3. Performance errors

  4. All of the above

  5. None of the above


Correct Option: D
  1. Behavioral errors

  2. Logic errors

  3. Performance errors

  4. Typographical errors

  5. Both b and d


Correct Option: E
  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. Rely on basis path testing

  2. Exercise the logical conditions in a program module

  3. Select test paths based on the locations and uses of variables

  4. Focus on testing the validity of loop constructs


Correct Option: B