Answered step by step
Verified Expert Solution
Link Copied!

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)

image text in transcribed

image text in transcribed

The classes used for this are as follows:

image text in transcribed

image text in transcribed

image text in transcribed

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

image text in transcribed

image text in transcribed

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, 0

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

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions

Question

dy dx Find the derivative of the function y=(4x+3)5(2x+1)2.

Answered: 1 week ago