Algorithm Verification (2)

# Algorithm Verification (2) -...

This preview shows page 1. Sign up to view the full content.

CheckPoint: Algorithm Verification Answer the following questions about the information in Appendix J: 1. What will be printed if the input is 0? You Fail 2. What will be printed if the input is 100? Your Grade is (X), You Did Great 3. What will be printed if the input is 51? Your Grade is (X), You Did OK 4. What will be printed if the user enters “Wingding”? How did you do? 5. Is this design robust? If so, explain why. If not, explain what you can do to make it robust. I do not believe it is robust because it does not give a command in the event that a user does not input an integer. Also, it does not define what X is mean to be, for instance Declare X as an Integer 6. How many levels of nesting are there in this design? 4 7. Provide a set of values that will test the normal operation of this program segment. Defend your choices.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -1,0,49,50,51,69,70,71,84,85,86,99,100,101 All values are one below, at the normal levels, and just one above the various thresholds for determining if each segment works properly. 8. Provide a set of test values that will cause each of the branches to be executed. 1,51,71,86 9. Provide a set of test values that test the abnormal operation of this program segment.-1,101, ABC My academic advisor directed me to a text: https://ecampus.phoenix.edu/content/eBookLibrary2/content/DownloadList.aspx? assetMetaId=56573e54-add7-4520-9a90-1e105e665d4b&assetDataId=04cf218c-f12b-4ec9-8ed5-22c21fd7b058 that has been helping me greatly (I think) to help me better understand pseudocode. So, I would greatly appreciate you feedback as to whether or not I am beginning to grasp this concept....
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern