Question: Urgent Help needed with a Looping and selection structures code help Lab - Module 4 Assignment Selection and Looping 100 Points Assignment Purpose: The purpose

Urgent Help needed with a Looping and selection structures code help

Urgent Help needed with a Looping and selection structures code help Lab

Lab - Module 4 Assignment Selection and Looping 100 Points Assignment Purpose: The purpose of this lab assignment is to demonstrate knowledge of selection statements and looping structures For this assignment you are going to be writing a series of modules to perform a variety of tasks. Most are independent of one another but some may need to call others to perform their task. Each module will have a specific number of points associated with it. You may choose the modules you wish to complete and the order you wish to complete them in. Directions: Create each method as it is described. Carefully write the method heading to match what is described. Failure to do so will result in the test file not running correctly and a loss of all points for the problem. For any method that you can not seem to implement correctly, write pseudocode for the method that would lead us to what you believe is the correct solution for the method. Do this in your python file using comments. This will grant you partial credit for that method based on your logic. **Special note to those with advanced knowledge. You are being assessed on your ability to use looping and selection structures. Points will only be given to modules that are created using a selection and/or looping strucutres. You are only to use techniques that have been demonstrated so far so we can assess you on those skills. Using any outside libraries or syntax (such as slicing) that has yet to be covered will not be awared credit. Method: sumOdds(value: int): Points - 5 This method will sum all the odd values from 1 upto the value passed by parameter. This will display the sum as an integer value. Method: characterCount(phrase: str): Points - 5 This method will count the number of characters in the phrase that is passed by parameter. You cannot use any built in function (ie len()) and must use a looping activity. This should display the number of characters in the phrase as an integer Method: multiplication Practice(): Points - 10 This method is to practice simple multiplication problems. The program should randomly generate two numbers from 1-10 for the user to multiply. It should display the multiplication problem and allow the user to answer the problem. It should display if the user got the answer correct or incorrect. The activity should continue until the user has gotten 3 different practice problems correct. Method: order(value 1: int, value2: int, value3: int): Points - 5 This method is to order the 3 passed value from least to greatest. It should display the 3 values passed by parameter from least to greatest

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!