Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Must be done in python: You need to complete the function: one original and one modified (please include both) The classes used for this are
Must be done in python:
You need to complete the function: one original and one modified (please include both)
The classes used for this are as follows:
Also, I feel there is a better way to code the assessment class, below is the requirements for the assessment class and test cases and required outputs. could you please make the required changes
You are required to complete the read_data(assessment, classlist) function which takes an Assessment object and a list of student objects as parameters. The function should read a series of student responses. You can assume that all student responses of an assessment are stored in a text file and the filename is the name of the assessment. The function should compare the responses with the solution of the assessment for each student, calculate the marking result, append the marking result into a histogram object and return it. For example Test Result | s-Student( 'John', 'N00000001', 'john@amail.com') classlist[s] assessment Assessment( 'test, 'C,C,D,B,A,B,A,C') histogram-read-data(assessment, classist) print(histogram) max-mark: 8, occurrence : [O, , 1, 0, 0, 0, 0, 0Step 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