Question
Write a program to create a student class which should have the following fields: Student Name Student Age Fee Total Marks Create 5 objects of his/her class and test the program, and
Answer :
Word Count : 481
___ ____ _____ _____ _________ ___ _________ ______ _______.
________ ______ _______ _________ ________ _______ _______ ________ ____ ________ _____ ____.
__________ ___ ________ ______ ___ ______ __________ _____ _____ _____ _______ ________.
_______ ___ _________ _____ ________ __________ ______ _____.
_______ ___ ______ ___ ______ _______ _________ ___ _______.
_____ _____ ______ _______ _____.
__________ _______ _________ __________ ________.
___ ________ ______ ___ _______.
_____ ______ ______ ___ ______ _______ __________.
__________ _________ _____ _____ ___ __________ _______ _______.
____ ____ ___ ________ __________ _________.
________ ___ ______ ______ ___ ________.
____ ___ _________ _________ ______ ___ ____.
________ ___ __________ ________ _______.
________ _____ _____ _____ _________ _________ ____ ________ _______ ___ ________.
____ ______ ________ __________ ___ _____ ____.
___ _______ ___ ____ _____ _____ _______ __________ _________ ___.
_____ _________ ________ _______ ________ _______.
___ _______ ____ ________ _____ _____ ___ _________ ________ _____ ___.
_________ ___ ______ ______ ____ ______ _______ _______ ___ ______.
________ ___ ___ _______ ____ _____ ______ ____ ________ ___ ____.
_____ __________ ________ _____ __________ ____ ______ ___ _____ ___ ___ _______.
____ _________ ______ _________ ___ _________ __________.
_______ _________ ____ _________ ___ __________ _____ ____ ____ _______ ___ ____.
_________ ____ _______ ____ __________ ___ _________ ___.
___ __________ ________ ______ __________ _________ _______ ______.
____ ___ ____ _______ ____ _______ _________ __________.
_____ ____ ___ ______ _______ ______.
______ _________ ___ __________ ________ _________.
_____ _______ _________ _________ ________ ___ ___ __________ __________ _______ _________ ___.
______ ___ ______ _____ __________ ______.
_________ ______ ________ _______ ______ ____ _________ __________ _________.
___ ________ _______ _____ __________ _________ _____ ______ _________ ____ _____.
_______ ________ ________ _______ ___ __________ __________ __________ _________ ___ _____.
_________ ___ ___ _________ ______ __________ ___ _________ _______.
___ ______ ____ __________ ___.
________ _____ __________ __________ ___ __________ __________ _________.
_______ ______ ____ _________ ____ ____ ___ ____ ____ ___ ________.
_________ __________ __________ __________ ____ _______ ___ _________ _________ _______.
________ _______ _________ ________ ______ ________ _______ ____ _______ _________ _______ _______.
_________ ____ __________ _______ ____ _____ ___.
_____ _____ _______ _________ _________ ___.
_________ ____ ______ _____ ____ ________ ______ ________ ______ ____ ____.
___ _________ ___ ______ _________ ____ _______ ______ _________ ______ _______.
_____ ___ ___ _____.
Skip in 10
To create a `Student` class in Python and instantiate five objects with the necessary attributes, we will first define the class with the required fields: `Student Name`, `Student Age`, `Fee`, and `Total Marks`. Then, we will create five objects of this class, assign values to their attributes, and print them to test the program.
Here's how the program can be structured:
```python
# Defining the Student class
class Student:
def __init__(self, name, age, fee, total_marks):
self.name = name
self.age = age
________ ______ _______ _________ ________ _______ _______ ________ ____ ________ _____ ____.
__________ ___ ________ ______ ___ ______ __________ _____ _____ _____ _______ ________.
_______ ___ _________ _____ ________ __________ ______ _____.
_______ ___ ______ ___ ______ _______ _________ ___ _______.
_____ _____ ______ _______ _____.
__________ _______ _________ __________ ________.
___ ________ ______ ___ _______.
_____ ______ ______ ___ ______ _______ __________.
__________ _________ _____ _____ ___ __________ _______ _______.
____ ____ ___ ________ __________ _________.
________ ___ ______ ______ ___ ________.
____ ___ _________ _________ ______ ___ ____.
________ ___ __________ ________ _______.
________ _____ _____ _____ _________ _________ ____ ________ _______ ___ ________.
____ ______ ________ __________ ___ _____ ____.
___ _______ ___ ____ _____ _____ _______ __________ _________ ___.
_____ _________ ________ _______ ________ _______.
___ _______ ____ ________ _____ _____ ___ _________ ________ _____ ___.
_________ ___ ______ ______ ____ ______ _______ _______ ___ ______.
________ ___ ___ _______ ____ _____ ______ ____ ________ ___ ____.
_____ __________ ________ _____ __________ ____ ______ ___ _____ ___ ___ _______.
____ _________ ______ _________ ___ _________ __________.
_______ _________ ____ _________ ___ __________ _____ ____ ____ _______ ___ ____.
_________ ____ _______ ____ __________ ___ _________ ___.
___ __________ ________ ______ __________ _________ _______ ______.
____ ___ ____ _______ ____ _______ _________ __________.
_____ ____ ___ ______ _______ ______.
______ _________ ___ __________ ________ _________.
_____ _______ _________ _________ ________ ___ ___ __________ __________ _______ _________ ___.
______ ___ ______ _____ __________ ______.
_________ ______ ________ _______ ______ ____ _________ __________ _________.
___ ________ _______ _____ __________ _________ _____ ______ _________ ____ _____.
_______ ________ ________ _______ ___ __________ __________ __________ _________ ___ _____.
_________ ___ ___ _________ ______ __________ ___ _________ _______.
___ ______ ____ __________ ___.
________ _____ __________ __________ ___ __________ __________ _________.
_______ ______ ____ _________ ____ ____ ___ ____ ____ ___ ________.
_________ __________ __________ __________ ____ _______ ___ _________ _________ _______.
________ _______ _________ ________ ______ ________ _______ ____ _______ _________ _______ _______.
_________ ____ __________ _______ ____ _____ ___.
_____ _____ _______ _________ _________ ___.
_________ ____ ______ _____ ____ ________ ______ ________ ______ ____ ____.
___ _________ ___ ______ _________ ____ _______ ______ _________ ______ _______.
_____ ___ ___ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.