Note: In case if your problem statement is updated, please donot hesitate us and send it to us at [email protected] We would surely like to help you in this regard.
Worksheet I
Algorithm Verification
Examine the following test score program that contains a multiple-alternative selection control structure:
Main Module
Declare X As Integer
Write “Enter an Integer test score from 0 to 100”
Input X
If (X >= 0 AND X < 49) Then Write "You fail" Else If (X >= 50 AND X < 70) Then Write "Your grade is " + X Write "You did OK" Else If (X >= 70 AND X < 85) Then Write "Your grade is " + X Write "You did well" Else If (X >= 85 AND X < 100) Then Write "Your grade is " + X Write "You did great" End If End If End If End If Write "How did you do?" End Program Please answer the questions in the following table: Questions Answers 1. If the user input to the program is -1, what will be the exact output of the program? 2. If the user input to the program is 0, what will be the exact output of the program? 3. If the user input to the program is 49, what will be the exact output of the program? 4. If the user input to the program is 51, what will be the exact output of the program? 5. If the user input to the program is 100, what will be the exact output of the program? 6. If the user input to the program is “Wingding”, what will be the exact output of the program? 7. An input of 40 will cause the first If statement to be executed. What input values will cause each of the other three If statements to be executed? 8. A program that is robust is able to handle all input values of a certain type, even input values that are not expected. To demonstrate that this program is not robust, what possible integer input values does this program not handle with one of the If statements? 9. To demonstrate that this program is not robust, what are some non-numeric input values that this program will not handle? 1-
* If you have any issues with the payment method, please let us know at [email protected] and that can be discussed and considered.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received through PayPal, download link of the solution will automatically be sent to the address used in Paypal.
* Please check your junk mails as the download link email might go there.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please expect to get a response within 8 hours from our side.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
******************************************** Good Luck ***************************************************
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Note: In case if your problem statement is updated, please donot hesitate us and send it to us at [email protected] We would surely like to help you in this regard.