Question: Program P1 1) integer A, B; 2)input (A); 3) while (A > 0) 4 5) A-2*A; 6) if(A 30) 7) B A* 2; else B

Program P1 1) integer A, B; 2)input (A); 3) while (A > 0) 4 5) A-2*A; 6) if(A 30) 7) B A* 2; else B A 2 9) 10)output (A, B); 11) input (A); 12) 13) output ("Program ends."); 14) end; 1. What is the statement domain for P1? Express as line numbers. Exclude syntactical markers, such as {,], else, and end. What is the statement coverage of T for P1? Express as an unsimplified fraction If the statement coverage of T for P1 is less than 100%, what test cases could you 2. 3. add to get 100% statement coverage
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
