Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

10. , 15.0) Write a class for describing student. It includes three attributes: studentID, name and score, in which score should be a list to

image text in transcribed

10. , 15.0) Write a class for describing student. It includes three attributes: studentID, name and score, in which score should be a list to contain scores of several courses. This class also includes a method named as get_ID for returning studentID after checking it is an integer value, a method named as get_name for returning student's name with uppercase letters, a method named as get_max_score for returning the max score of this student, a method named as get_mean_score for returning the mean score of this student. Then write two instances of this student class with different studentID, different name, and different number of scores, print their studentID, name, scores, the max score and the mean score

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_2

Step: 3

blur-text-image_3

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

10-1. What are the three basic categories of reports? [LO-1]

Answered: 1 week ago