Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Starting in Week 4, you will create the IPO chart for the program, then you will continue to update the IPO chart each week. The

Starting in Week 4, you will create the IPO chart for the program, then you will continue to update the IPO chart each week. The project file .py will also be updated from week to week, so there will be no need to start from scratch each week.

Each week you will submit the following:

Current IPO chart

python code file

Completed Test Plan with three screenshots showing three successful tests

Programming Standards

Each increment of the program will adhere to the following standards:

Each source file will have a comment header describing the program, programmers names, date, purpose of the program, and increment.

Each source file will adhere to the coding standards provided in the lecture, or given by the Professor.

Each program will have an introductory output message introducing the program to the user and providing directions.

All program output will be well structured, easy to read, and appropriately formatted.

Test Plan

Your test plan should test for a variety of cases. In your test plan list the values you tested along with a screenshot for each. You should test both incorrect and correct inputs. Include 3 screenshots of test cases.

Problem Description

You will be creating a Guess the number program. In this game, you will give the user a choice with a menu. The user can choose to guess a number, type a number and see how fast the computer can guess it, and exit the game.

Initially, the program will just have the user guess the number and each week more functionality will be added to the program.

#Guess the number week 4

#Name:

#Date: #Random number, loop while true #ask user for number. #if number is too high or too low, tell user, if they guessed it break out of loop

Display "Welcome to my Guess the number program!"

random mynumber

while True

Display "Guess a number between 1 and 10"

Get guess

if (guess

Display "Too low"

else if (guess>mynumber)

Display "Too high"

else if (guess==mynumber)

Display "You guessed it!"

When you run your program the result should be something like this:

Welcome to my Guess the number program!

Please guess a number between 1 and 10: 5

Too high

Please guess a number between 1 and 10: 4

Too high

Please guess a number between 1 and 10: 3

Too high

Please guess a number between 1 and 10: 2

You guessed it!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

8. Managers are not trained to be innovation leaders.

Answered: 1 week ago