Tag: testing

Questions Related to testing

  1. How rapidly data is transferred through a program.

  2. The rate of change of data values as a program executes.

  3. The use of data on paths through the code.

  4. The intrinsic complexity of the code.


Correct Option: B
  1. Use of automated test execution tools.

  2. Testing performed by users.

  3. Testing against acceptance test criteria.

  4. Integration of system with user documentation.


Correct Option: A
  1. Be easy to maintain.

  2. Be unlikely to cause a failure.

  3. Never fail under any circumstances.

  4. Be written according to coding standards.


Correct Option: B
Explanation:

To answer this question, the user needs to understand the concept of software reliability.

Software reliability refers to the ability of a software system to perform its intended functions under stated conditions for a specified period of time.

Now, let's go through each option and explain why it is right or wrong:

A. Be easy to maintain: This option is not necessarily a requirement for software to be reliable. While maintainability is an important aspect of software development, it is not directly related to the system's reliability.

B. Be unlikely to cause a failure: This option is correct. Software should be designed and tested to minimize the likelihood of errors or failures. However, it is important to note that no software system can be completely immune to failure.

C. Never fail under any circumstances: This option is incorrect. It is impossible to create software that never fails under any circumstances. All software systems have limitations, and unexpected events can cause even the most reliable systems to fail.

D. Be written according to coding standards: This option is not directly related to software reliability. While coding standards can help improve the quality of software, they do not guarantee that the software will be reliable.

Therefore, the correct answer is:

The Answer is: B. Be unlikely to cause a failure.

  1. Each test stage has a different purpose.

  2. It is easier to manage testing in stages.

  3. We can run different tests in different environments.

  4. The more stages we have, the better the testing.


Correct Option: A

Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?

  1. Regression testing

  2. Integration testing

  3. System testing

  4. User acceptance testing


Correct Option: A
  1. A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.

  2. A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.

  3. A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.

  4. A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage.


Correct Option: D
  1. The system shall be user friendly.

  2. The safety-critical parts of the system shall contain 0 faults.

  3. The response time shall be less than one second for the specified design load.

  4. The system shall be built to be portable.


Correct Option: C