Question 1

Given the following code:
If x > y and z = 3 statement!
elseif z = 4 statement
endif;
What is the minimum number of tests needed to achieve 100% decision coverage?
  • Question 2

    You work for a small supermarket chain which has successfully operated a product inventory application for several years. It has recently purchased a data warehousing solution which provides tailorable profiling of product purchases with the aim of improving its marketing strategy. The decision has been made to host the data warehousing software and database on the same server used by the product inventory application. Based on this decision, two product risks have been cataloged:
    The co-existence of both applications on the same server may introduce resource conflicts, resulting in an unacceptable impact on the functionality of the product inventory application In the event of loss or corruption of product inventory data during transfer to the warehouse, it may not be possible to restore from back-up in the timeframe required, resulting in lost business.
    Which TWO non-functional test types should be included in the test plan to mitigate both product risks?
  • Question 3

    You are involved in testing a system in the medical domain. Testing needs to comply with the FDA requirements and is rated as being safety critical. A product risk assessment has been performed and various mitigation actions have been identified. Reliability testing is one of the test types that needs to be performed throughout the development lifecycle.
    Based on the information provided, which of the following activities would need to be addressed in the test plan?
  • Question 4

    You are defining the test approach for an Agile project developing a system to control traffic lights at busy road junctions. The system will use sensors to measure traffic density and flow rates, optimizing traffic flow.
    While safety-critical, a risk assessment has deemed the project's risk level as low due to the team's expertise.
    Which option below represents the BEST test approach for this project?
    Key to symbols:
    * + (highly recommended)
    * (recommended)
    * o (neutral/optional)
    * * (not recommended)
    * - (not to be used)

    SELECT ONE OPTION
  • Question 5

    Given the following decision: IF X < 5 OR Y > 10 THEN
    Which of the following sets of test inputs will achieve full MC/DC coverage?