Reflect in ePortfolio Download Print Open with docReader Module Four Assignment Guidelines and Rubric Overview In this assignment, you will gain more prac!ce with designing a program. Specifically,...

1 answer below »
Hello. Just an assignment for my IT 140 class. Into to scripting. The language is python.


Reflect in ePortfolio Download Print Open with docReader Module Four Assignment Guidelines and Rubric Overview In this assignment, you will gain more prac!ce with designing a program. Specifically, you will create pseudocode for a higher/lower game. This will give you prac!ce designing a more complex program and allow you to see more of the benefits that designing before coding can offer. The higher/lower game will combine different programming constructs that you have been learning about, such as input and output, decision branching, and a loop. Higher/Lower Game Descrip!on Your friend Maria has come to you and said that she has been playing the higher/lower game with her three-year-old daughter Bella. Maria tells Bella that she is thinking of a number between 1 and 10, and then Bella tries to guess the number. When Bella guesses a number, Maria tells her whether the number she is thinking of is higher or lower or if Bella guessed it. The game con!nues un!l Bella guesses the right number. As much as Maria likes playing the game with Bella, Bella is very excited to play the game all the !me. Maria thought it would be great if you could create a program that allows Bella to play the game as much as she wants. Prompt For this assignment, you will be designing pseudocode for a higher/lower game program. The higher/lower game program uses similar constructs to the game you will design and develop in Projects One and Two. 1. Review the Higher/Lower Game Sample Output for more detailed examples of this game. As you read, consider the following ques!ons: What are the different steps needed in this program? How can you break them down in a way that a computer can understand? What informa!on would you need from the user at each point (inputs)? What informa!on would you output to the user at each point? When might it be a good idea to use “IF” and “IF ELSE” statements? When might it be a good idea to use loops? 2. Create pseudocode that logically outlines each step of the game program so that it meets the following func!onality: Prompts the user to input the lower bound and upper bound. Include input valida!on to ensure that the lower bound is less than the upper bound. Generates a random number between the lower and upper bounds Prompts the user to input a guess between the lower and upper bounds. Include input valida!on to ensure that the user only enters values between the lower and upper bound. Prints an output statement based on the guessed number. Be sure to account for each of the following situa!ons through the use of decision branching: What should the computer output if the user guesses a number that is too low? What should the computer output if the user guesses a number that is too high? What should the computer output if the user guesses the right number? Loops so that the game con!nues promp!ng the user for a new number un!l the user guesses the correct number. 3. OPTIONAL: If you would like to prac!ce turning your designs into code, check out the op!onal 9.1 LAB: Higher/Lower Game in zyBooks. This step is op!onal, but will give you addi!onal prac!ce turning designs into code, which will support your work in moving from Project One to Project Two. Guidelines for Submission Submit your completed pseudocode as a Word document of approximately 1 to 2 pages in length. Module Four Assignment Rubric Criteria Exemplary Proficient Needs Improvement Not Evident Value Pseudocode: Logical Steps Exceeds proficiency in an excep!onally clear, insigh#ul, sophis!cated, or efficient manner (100%) Creates pseudocode that logically outlines each step of the program so that it meets the required func!onality (85%) Shows progress toward proficiency, but with errors or omissions; areas for improvement may include crea!ng more pseudocode for all the func!onality included in the program (55%) Does not a%empt criterion (0%) 35 Pseudocode: Input/Output N/A Determines user inputs and outputs based on the given scenario (100%) Shows progress toward proficiency, but with errors or omissions; areas for improvement may include accoun!ng for all inputs and outputs in the design document (55%) Does not a%empt criterion (0%) 30 Pseudocode: Program Flow Exceeds proficiency in an excep!onally clear, insigh#ul, sophis!cated, or efficient manner (100%) Uses decision branching and loops to control program flow (85%) Shows progress toward proficiency, but with errors or omissions; areas for improvement may include accoun!ng for all the paths the user can take through the program (55%) Does not a%empt criterion (0%) 35 Total: 100% !Listen"# You have viewed this topic Last Visited Sep 19, 2021 8:27 PM IT-140-X1781 Introduction to Scripting 21EW1 JC Jessica Coupar mySNHU Online Student Services Shapiro LibraryCourse Menu Tools Help Table of Contents Assignment Information Module Four Assignment Guidelines and Rubric Activity Details https://learn.snhu.edu/d2l/le/content/843238/navigateContent/252/Previous?pId=15138611 https://learn.snhu.edu/d2l/le/content/843238/navigateContent/252/Next?pId=15138611 https://learn.snhu.edu/d2l/le/content/843238/navigateContent/252/Previous?pId=15138611 https://learn.snhu.edu/d2l/le/content/843238/navigateContent/252/Next?pId=15138611 https://learn.snhu.edu/d2l/home/843238 https://learn.snhu.edu/d2l/lp/navbars/843238/customlinks/external/31676 http://libguides.snhu.edu/home javascript:void(0); https://learn.snhu.edu/d2l/le/content/843238/Home?itemIdentifier=D2L.LE.Content.ContentObject.ModuleCO-15138611 1 IT 140 Higher/Lower Game Sample Output Overview Maria has asked you to create a program that prompts the user to enter the lower bound and the upper bound. You have decided to write pseudocode to design the program before actually developing the code. When run, the program should ask the user to guess a number. If the number guessed is lower than the random number, the program should print out a message like “Nope, too low.” If the number guessed is higher than the random number, print out a message like “Nope, too high.” If the number guessed is the same as the random number, print out a message like “You got it!” Note: The output messages you include in your pseudocode may differ slightly from these samples. Sample Output Below is one sample output of the program, with the user input demonstrated by bold font. Welcome to the higher/lower game, Bella! Enter the lower bound: 10 Enter the upper bound: 30 Great, now guess a number between 10 and 30: 20 Nope, too low. Guess another number: 25 Nope, too high. Guess another number: 23 You got it! Below is another sample output of your program, with the user input demonstrated by bold font. Welcome to the higher/lower game, Bella! Enter the lower bound: 10 Enter the upper bound: 5 The lower bound must be less than the upper bound. Enter the lower bound: 10 Enter the upper bound: 20 Great, now guess a number between 10 and 20: 25 Nope, too high. Guess another number: 15 Nope, too low. Guess another number: 17 You got it! IT 140 Higher/Lower Game Sample Output Overview Sample Output
Answered 2 days AfterSep 23, 2021

Answer To: Reflect in ePortfolio Download Print Open with docReader Module Four Assignment Guidelines and...

Arun Shankar answered on Sep 26 2021
119 Votes
Pseudocode
Pseudocode
Print “Welcome to the higher/lower game, Bella!”
Lower = input(“Enter the l
ower bound: ”)
Higher = input(“Enter the upper bound: ”)
while(Lower >= Higher):
print(“The lower bound must be less than the upper bound.”)
Lower = input(“Enter the lower bound: ”)
Higher =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here