Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write Python Code. Generate a ClassList of 100 students. Column 1 represents StudentID from 1 to 100. Column 2 to 6 represents marks in Mathematics,

image text in transcribed
Write Python Code. Generate a ClassList of 100 students. Column 1 represents StudentID from 1 to 100. Column 2 to 6 represents marks in Mathematics, Physics, Chemistry, Biology and English respectively. Create marks using random number generator by considering the following conditions. Mathematics Physics Chemistry Biology English Min. Marks 40 35 50 40 60 Max. Marks 100 100 100 90 85 Write a program to calculate the total and average for each student. Total must appear as the 7th column and average as the 8th column. Calculate the average of total marks of the class. Column 9 represents the "Overall grade". If average mark of a student is greater or equal to class average, Overall Grade is 1. If average mark of the student is less than class average, Overall Grade is 2. [25 marks)

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

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions