Question
MR Jones always gives T/F questions to his class. the test has 20 questions, class max size is 35, He needs a python code to
MR Jones always gives T/F questions to his class. the test has 20 questions, class max size is 35, He needs a python code to calculate students grade, base on best score. Grade= A will range from the best score to the best score -2, B will range from the best score -3 to the best score -4, C will range from the best score -5 to the best score -6, D will range from the best score-7 to the best score -8, F will be anything below the best score -8. Each student's 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. Use 4 one-dimensional arrays, one for the correct scores and the other three for the needed output. write your pseudo code first and then write the Python code that implements it. 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.
Using the format of The Above Mr. Jones problem, write your pseudo code first and then write the Python code 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.
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