0% found this document useful (0 votes)
3 views

Student Grade Processing System

The document outlines an assignment to create a Python program that models students and processes their grades using lambda functions, map(), and filter(). It requires the implementation of a Student class with methods to calculate average marks and determine grades. The program should also filter students who receive Grade A or B based on their average marks.

Uploaded by

saiyannsic20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Student Grade Processing System

The document outlines an assignment to create a Python program that models students and processes their grades using lambda functions, map(), and filter(). It requires the implementation of a Student class with methods to calculate average marks and determine grades. The program should also filter students who receive Grade A or B based on their average marks.

Uploaded by

saiyannsic20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Student Grade Processing System

Objective:

In this assignment, you will create a Python program to model students in a class. You will use lambda
functions, map(), and filter() to process student grades.

Task Description:

Create a Student class with attributes: name and marks.


Implement methods to calculate the average and determine the grade.
Use map() to compute the average marks.
Use filter() to find students with Grade A or B.

Example Output:

Student: Alice, Marks: [85, 90, 88]

Average: 87.67, Grade: B

Student: Bob, Marks: [70, 75, 72]

Average: 72.33, Grade: C


Student: Charlie, Marks: [95, 92, 96]

Average: 94.33, Grade: A

Student: Dave, Marks: [50, 60, 55]

Average: 55.00, Grade: F

Student: Eve, Marks: [78, 85, 80]

Average: 81.00, Grade: B

Students with Grade A or B:

Alice
Charlie
Eve

You might also like