Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

Briefly explain the advantages of 'Management by Objectives'

Answered: 1 week ago

Question

Explain the various methods of job evaluation

Answered: 1 week ago

Question

Differentiate Personnel Management and Human Resource Management

Answered: 1 week ago