Question: In particular, what is the difference between decision domain and condition domain as asked about on question 4 and 7? Please give a >detailed Program

In particular, what is the difference between decision domain and condition domain as asked about on question 4 and 7?

Please give a >detailed

In particular, what is the difference between decision domain and condition domain

Program P1 1) integer A, B; 2) input (A) 3) while (A> 0) 5) A=2*A; 6) if (A 30) 7) 8)else 9) 10) output (A, B); 11) input (A); 12) 13) output ("Program ends."] 14) end; B=A*2; B=A+2; 1. What is the statement domain for P1? Express as line numbers. Exclude syntactical markers, such as {J, 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. 4. 5. 6. add to get 100% statement coverage? What is the decision domain for P1? Express as "line number) decision". What is the decision coverage of T for P1? Express as an unsimplified fraction. If the decision coverage of T for P1 is less than 100%, what test cases could you 7. 8. 9. add to get 100% decision coverage? What is the condition domain for P1? Express as "line number) condition". What is the condition coverage of T for P1? Express as an unsimplified fraction. If the condition coverage of T for P1 is less than 100%, what test cases could you add to get 100% condition coverage? Program P1 1) integer A, B; 2) input (A) 3) while (A> 0) 5) A=2*A; 6) if (A 30) 7) 8)else 9) 10) output (A, B); 11) input (A); 12) 13) output ("Program ends."] 14) end; B=A*2; B=A+2; 1. What is the statement domain for P1? Express as line numbers. Exclude syntactical markers, such as {J, 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. 4. 5. 6. add to get 100% statement coverage? What is the decision domain for P1? Express as "line number) decision". What is the decision coverage of T for P1? Express as an unsimplified fraction. If the decision coverage of T for P1 is less than 100%, what test cases could you 7. 8. 9. add to get 100% decision coverage? What is the condition domain for P1? Express as "line number) condition". What is the condition coverage of T for P1? Express as an unsimplified fraction. If the condition coverage of T for P1 is less than 100%, what test cases could you add to get 100% condition coverage

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!