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.
**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 not to use any built in functions aside from print and range, and advanced techniques for sequences such as indexing or slicing
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: multiplicationPractice(): 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(value1: 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.
Method displayTriangle(numRows: int): Points - 10
This method is to display a triangle in the console that consists of star character ( * ). It should display them in the following pattern based upon the parameter passed for numRows, which represents how many rows of stars are to be printed. ( Example shows numRows being passed the value 5)
Method: displayCheckerBoard(size: int): Points - 15
This method is to display and checkerboard type pattern of x's and o's. The pattern should have the number or rows and columns be determined by the parameter size. The pattern needs alternating x's and o's across the rows and down the columns (Example shows 5 passed to the size parameter)
Method: findGrade(points: float):
Points - 10
This method should determine the grade of the passed point value.Grades should be rounded appropriately ( ie 89.5 is an A, 79.5 is a B and so on).This should print the letter grade based upon the passed parameter
Method: findGrades():
Points - 10
This method should print the letter grades of an undetermined number of scores.This method should call method findGrade(points: float) appropriately and should continue to ask for grades until a flag is entered to stop the loop.The user should be aware of the flag
Method findDigitSum(value: int) :
Points - 15
This method should sum all the individual digits of the value passed by parameter.It should then display the sum ( ie if 243 is passed to the parameter it should display 9 as the sum, b/c 2 + 4 + 3 = 9)
Method: isPalindrome(word: str):
Points - 15
This method should display if the word passed by parameter is a palindrome.A palindrome is a word or phrase that is spelled the same forwards and backwards ( ie racecar is a palindrome... spelled the same from left to right and right to left).