0

Do
If X<10
X=X*4
Endif
X=X+1
Until X>40

As per my knowledge of Statement coverage and branch coverage Answer should be (a) .But to be very frank still flow chart for this is not clear to me. Can someone pls help me with flow chat.

4

1 回答 1

0

Flow chart with one test case to achieve 100% statement and decision coverage. Btw, I called it branch coverage (aka decision cov)

Flow chart showing 100% statement and decision coverage

于 2022-02-17T11:57:52.413 回答