Question: Consider the following pseudo-code If (Walking && Midnight) If (Raining) Take umbrella and searchlight Else Take searchlight End IF Else if (Running && Sunshine)
Consider the following pseudo-code If (Walking && Midnight) If (Raining) Take umbrella and searchlight Else Take searchlight End IF Else if (Running && Sunshine) IF (Raining) Take umbrella End IF Else keep doing what you were doing End IF (1) Draw a flow chart (40%) (2) Number of Statement Coverage (SC) and list up all the paths of SC; (10%) (3) Number of Branch Coverage/Decision Coverage (BC) and list up all the paths of BC (10%) Consider the following pseudo-code If (Walking && Midnight) If (Raining) Take umbrella and searchlight Else Take searchlight End IF Else if (Running && Sunshine) IF (Raining) Take umbrella End IF Else keep doing what you were doing End IF (1) Draw a flow chart (40%) (2) Number of Statement Coverage (SC) and list up all the paths of SC; (10%) (3) Number of Branch Coverage/Decision Coverage (BC) and list up all the paths of BC (10%)
Step by Step Solution
3.51 Rating (164 Votes )
There are 3 Steps involved in it
1 Flow Chart 2 Statement ... View full answer
Get step-by-step solutions from verified subject matter experts
