![]() ![]() The response includes the two lists firstNumber and secondNumber and are used in a loop to generate multiple problems.The response earned the point for this row, meeting both criteria: The response states what values are stored in the list: " firstNumber stores the first number in the problem".The name of the list is described as firstNumber.The response earned the point for this row, meeting all three criteria: The three outputs demonstrated are outputting the problem, outputting the results from each guess, and outputting the final score at the end." The input and output is described in the response by stating "The inputs demonstrated are asking users to select a problem type and then providing a guess for the problems.The program demonstrates output by creating the problems and displaying the results of each problem and the quiz.The program's purpose is to create a math quiz and the video demonstrates creating both a multiplication and division quiz.The video demonstrates the program receiving user input for both the problem type and the answers to the problem.The response earned the point for this row, meeting all six criteria: The result of the call will be to print 5 division problems and return the number of correct answers. As a result, the code will print a / operator and calculate the answer by dividing the firstNumber value by the secondNumber value. Inside the loop, the selection statement will execute the else clause since D does not equal M. Based on this call, the program should select a multiplication problem. The result of the call will be to print 5 multiplication problems and return the number of correct answers. It will also calculate the answer by multiplying the values from the firstNumber and secondNumber lists. Inside the loop, the selection statement will execute the first part of the selection statement and print a problem with a * operator. Based on this call, the program should select a multiplication problems to print out. The two test cases are based on passing a different input to create different types of problem in the function (multiplication versus division). Describes what condition(s) is being tested by each call to the procedure Each call must pass a different argument(s) that causes a different segment of code in the algorithm to execute. Describes two calls to the procedure identified in written response 3c. Provide a written response that does all three of the following: ![]()
0 Comments
Leave a Reply. |