Sunday

April 20, 2014

April 20, 2014

Posted by **Anonymous** on Wednesday, June 11, 2008 at 4:54pm.

input X

if (0 <= X and X < 49)

output "you fail"

else if (50 <= X and X < 70)

output "your grade is" X

output "you did OK"

else if (70 <= X and X < 85)

output "your grade is" X

output "you did well"

else if (85 <= X and X < 100)

output "your grade is" X

output "you did great"

endif

output "how did you do?"

o What will be printed if the input is 0?

o What will be printed if the input is 100?

o What will be printed if the input is 51?

o What will be printed if the user enters ¿Wingding¿?

o Is this design robust? If so, explain why. If not, explain what you can do to make it robust.

o How many levels of nesting are there in this design?

o Give a set of values that will test the normal operation of this program segment. Defend your choices.

o Give a set of test values that will cause each of the branches to be executed.

o Give a set of test values that test the abnormal operation of this program segment.

- Math, not "Help Help" -
**Writeacher**, Wednesday, June 11, 2008 at 5:05pmMath assistance needed.

**Related Questions**

programming - Consider the following selection statement where X is an integer ...

Part 1 - Consider the following selection statement where X is an integer test ...

Algorithm - Algorithm Verification Consider the following selection statement ...

programming - Can You Please help me understand how to do this and what i have ...

programming - I am in IT/210 and am having problems with the entire class. But ...

Part 1 - input X if (0 <= X and X < 49) output "you fail" else if (50 <...

statistics - Starting with a population that is normally distributed with a mean...

Economics - Consider a profit maximizing competitive firm with the following ...

Computers C++ (2) - Thank You Steve For All The Help! (If its you helping me ...

Math - Can you help me with the following Input and Output values? Input 0 ...