Tag: testing

Questions Related to testing

A typical commercial test execution tool would be able to perform all of the following EXCEPT:

  1. generating expected outputs

  2. replaying inputs according to a programmed script

  3. comparison of expected outcomes with actual outcomes

  4. recording test inputs


Correct Option: A
  1. re-testing is running a test again; regression testing looks for unexpected side

  2. re-testing looks for unexpected side effects; regression testing is repeating

  3. re-testing is done after faults are fixed; regression testing is done earlier

  4. re-testing uses different environments, regression testing uses the same


Correct Option: A

Expected results are:

  1. only important in system testing

  2. only used in component testing

  3. most useful when specified in advance

  4. derived from the code


Correct Option: C

AI Explanation

To answer this question, you need to understand the concept of expected results in software testing.

Expected results are the predicted outcomes or behavior of a system or component under test. They are typically determined in advance based on the requirements or specifications of the system.

Let's go through each option to understand why it is correct or incorrect:

Option A) only important in system testing - This option is incorrect because expected results are important in all types of testing, not just system testing.

Option B) only used in component testing - This option is incorrect because expected results are used in all types of testing, not just component testing.

Option C) most useful when specified in advance - This option is correct because expected results are most useful when they are specified in advance. By defining the expected results before the testing phase, testers can compare the actual results with the expected results to determine if the system or component is functioning correctly.

Option D) derived from the code - This option is incorrect because expected results are not derived from the code itself. They are determined based on the requirements or specifications of the system, not the code.

The correct answer is C) most useful when specified in advance. This option is correct because expected results are most effective when they are defined before the testing phase, allowing testers to compare the actual results with the expected results.

  1. report on deviations from the project plan

  2. sign the system off for release

  3. re-allocate resource to meet original plans

  4. raise incidents on faults that they have found


Correct Option: C

Unreachable code would best be found using:

  1. a dynamic analysis tool

  2. a debugging tool

  3. a test management tool

  4. a configuration management tool


Correct Option: D

What information need not be included in a test incident report:

  1. how to fix the fault

  2. how to reproduce the fault

  3. test environment details

  4. severity, priority


Correct Option: A

Which of the following is NOT part of system testing:

  1. performance, load and stress testing

  2. requirements-based testing

  3. usability testing

  4. top-down integration testing


Correct Option: D

What statement about expected outcomes is FALSE:

  1. expected outcomes are defined by the software’s behaviour

  2. expected outcomes are derived from a specification, not from the code

  3. expected outcomes include outputs to a screen and changes to files and

  4. expected outcomes should be predicted before a test is run


Correct Option: A
  1. ISO/IEC 12207

  2. BS7925-1

  3. BS7925-2

  4. ANSI/IEEE 829


Correct Option: B