Suppose you are writing code to process data from a questionnaire. One of the questions is what grade are you in? The code looks as given below. gr = int(input("What grade are you in? ")) if (gr == 9): print("Freshman") elif (gr == 10): print("Sophomore") elif (gr == 11): print("Junior") elif (gr == 12): print("Senior") else: print("Not in High School") In 1-2 sentences, describe the data points that you should test to make sure that program is working properly.

1 answer

To ensure the program is working properly, we should test input values such as 9, 10, 11, 12, and a value outside the range (e.g., 8 or 13) to verify if the correct corresponding grade level is being displayed and if "Not in High School" is displayed for invalid inputs.