ExamGecko
Question list
Search
Search

Related questions











Question 168 - CTFL-2018 discussion

Report
Export

A program is used to control a manufacturing line (turn machines on and off. start and stop conveyor belts, add raw materials to the flow, etc.)

Not all actions are possible at all times For example, there are certain manufacturing stages that cannot be stopped - unless there is an emergency. A tester attempts to evaluate if all such cases (where a specific action is not allowed) are covered by the tests. Which coverage metric will provide the needed information for this analysis?

A.
Branch Coverage
Answers
A.
Branch Coverage
B.
Statement coverage
Answers
B.
Statement coverage
C.
Data flow coverage
Answers
C.
Data flow coverage
D.
Code coverage
Answers
D.
Code coverage
Suggested answer: D

Explanation:

Checking that at least 50% of decisions have been exercised by a test case suite is not a valid use of decision coverage, because it does not meet the minimum criterion of decision coverage, which is to exercise all possible outcomes of each decision in the software under test . Decision coverage is a technique that measures how much of the logic or branching of the software under test has been exercised by the test cases . The other options are valid uses of decision coverage. Option A is a valid use of decision coverage, because it can check that all decisions have been exercised in a single program . Option B is a valid use of decision coverage, because it can check that all decisions have been exercised in a business process . Option C is a valid use of decision coverage, because it can check that all calls from one program module to another have been made correctly .

asked 18/09/2024
Peter Urban
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first