Question
Write the pseudo code first and then write the Python code that implements it. Using the format of P1, set up four arrays of student
Write the pseudo code first and then write the Python code that implements it.
Using the format of P1, set up four arrays of student scores
Assume 10 questions and 4 students. (This will illustrate the approach without too many numbers)
Write a function to populate a student score array.
Populate these student arrays with zeros ( false) and 1s ( true), as their scores .
Mr. Jones always gives True/False tests to his class. His tests always have 20 questions. The maximum class size is 35. He needs a program that will calculate the students grades based on the best score. Grade A will range from the best score, to the best score minus 2. B will range from the best score minus 3, to the best score minus 4. C will range from the best score minus 5, to the best score minus 6. D will range from the best score minus 7, to the best score minus 8. F will be anything below the best score minus 8. Each students ID and test answers will be entered. The output will be each students ID, number correct, and grade, along with the single highest score for the class. Develop a solution for Mr. Joness problem. Use four one-dimensional arraysone for the correct scores and the other three for the needed output.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started