Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Case 1 Come up with a set of input values (at least four values, but no more tha

ID: 3858652 • Letter: C

Question

Case 1 Come up with a set of input values (at least four values, but no more than six) for which the program produces correct output. Case 2 Come up with a set of one or more input values for which the program crashes. Case 3 Come up with a set of input data for which the program does not crash, but produces the wrong value for the maximum. Case 4 Show where the proaram does not meet the requirements regardin the prompts or the annotations for the result. (Look for the highlighted program requirements (via the boldfaced word required) under input or output. Write uour answers to each of the above four questions in a table whose format is as aiven below, In the rightmost column (Column 7, that is Explanation), briefly say why/how you arrived at the enitries in the two prior olumns (columns 5 and 6) screpancy Passed?Explanation serve Case Test data Output Outputif any Case 1 Case 2 Case 3 n the above table. 3e 420 points Youm points) Get a screenshot and paste below to demonstrate that you have executed the program for an one of the above four cases.

Explanation / Answer

Case

Screenshot of the program output for above cases:

https://pasteboard.co/GBJGpPS.png

Case

Test data Expected Output Observed output Discrepancy if any Passed Explanation case 1 10, 20, 30, 40 40 40 No Yes For all positive value numbers script works correctly case 2 skfljaslfkja Script should be able to handle strings Program crashed Yes No Script should be able to handle when user enters a string rather than expected integer numbers. But it is crashing when we enter string as input case 3 -20, -10, -12 -10 0 Yes No If we give all negative values as input, the maximum value that script gives is 0 which is wrong. case 4 max=first number user entered Yes No max should have been assigned the first number rather than initializing to 0
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote