Question
: Write Python code to do statistical analysis (average, min, max, standard deviation) of your marks in 5
Answer :
Word Count : 1065
_____ _____ ___ _______ ___ ___ _______ _______ ______ ________ _______ ___.
____ _____ ____ ___ ______.
_______ _______ ______ __________ ___ ___ __________ ______ _____ ____ __________ __________.
_______ ____ __________ ________ __________ ___ _____.
____ ___ ________ __________ ___ _______ ____ _________ __________ _________ _____.
____ ____ _________ ___ _____.
_____ ______ _________ ______ ________ ______ ________.
____ __________ ______ ___ _____ _________ _____ ____ ________ _____ _______ ___.
________ ______ __________ ____ __________ __________ _________ _________ ________ ________ ______.
________ _________ _________ ______ ____ _______ ______ ____ _____ _________ _____ __________.
__________ _______ ___ _________ _______ ___ _____ ______ ______ _______ ____ _________.
_________ ______ _________ ______ ____ ________ _____.
_______ ___ _______ ________ ______ __________ _____ ______ _______ ____ ___.
__________ ___ __________ ______ _________.
____ _____ ________ __________ _______ ______ ___.
____ ____ __________ _____ ______ __________ ________.
__________ _________ ________ _______ _______ _______ _________ ____ _______ __________.
___ ______ ___ __________ _______ ___ _________ _________ _________ _______.
___ ______ _________ _________ ___ _________ ____ _________.
___ _________ _____ ___ ____ ___.
_______ ______ _________ _______ ______ __________ ______ ____ ____ _________ ___ _______.
_________ _____ __________ __________ ______ _____ _____ _________ ____.
______ _____ _____ ________ ___ _______.
___ ________ _____ ___ _____ ________ _______ ______ ___ ____ ____ _____.
______ ____ ______ ________ _________ ____ _______ _____.
_______ ____ _____ _________ _________.
________ ________ _______ _______ ____ ____ ____ _____ _______ ____ ____.
_________ _______ __________ ___ _______ ______ _______ ____ __________ _______ _________.
________ _____ ______ ________ ____ ________ ______.
____ ___ ______ _____ ____ ________ ___ ___ __________ ________ _________ _______.
_________ ______ _____ ______ ____ _______.
_______ ___ _______ __________ ______ __________ ____ _________ _________ ______ __________.
__________ __________ ________ ___ _______ _____.
________ _________ ______ ______ _______ _______ _______ ______ ________ _________ _______.
________ _____ ___ _____ ___ ________ ______ ___ ____ ___.
_______ ____ ____ ______ __________ _______ __________.
________ ______ _______ ______ _________ _____.
__________ ___ _____ _____ ________ ______ ____.
_____ _______ _____ ____ __________ _________ ___ ______.
___ _______ ______ _____ _____ _________ _______ _____ _______ __________ __________.
________ ___ __________ _________ ________ __________ ___ __________ _____ ______ _________.
____ ___ ___ ____ ________ _____ _______ __________ ____ _________.
____ _________ ___ _________ _____ __________ ________ _____ ____ ______ ________.
___ _____ __________ ______ _________ __________ __________ ______ _______ _________ _________.
__________ ______ ___ ____ _______ ___ ____ ___ ________.
____ ______ __________ _____ __________ _______ __________ __________ _____ _____ ______.
____ _______ _____ _____ _______ __________ __________.
___ _____ _______ ___ __________ _________ ________ ___ ________ _________.
__________ __________ __________ ________ ____ _________ __________.
__________ _______ ________ _______ ________ ________ ___ ____ ____.
_________ ______ _________ ________ ____ ____ __________ ____ _____ __________ ________.
____ __________ _______ _________ __________ ______ _____ __________ _____ __________.
_____ ________ _____ _________ ______ __________ ______ ________ _______ ___.
__________ ______ ________ ________ ___ __________.
________ _________ ______ _______ _________.
________ _______ ________ ____ ____ _____ _________ __________ _________ _____ ___ ___.
____ _______ _______ __________ ________ _____ _____ _________ _____.
_________ ______ _____ _____ ________ _________ ________.
___ _________ _________ ____ ________ ___.
_____ ___ __________ ______ ________ ________ ____ ___ ______ ________ ______ _____.
___ _________ ________ ______ __________ __________ ________.
_____ ________ ________ ___ _______ ____ _______ _________.
______ __________ ________ ____ ______ __________ _____ _________ __________ _______ ______ __________.
_______ ________ _______ __________ _______.
___ ____ ______ _________ _________ ____ __________ ____ ______ ____ _______.
_____ _______ _______ ____ __________.
_________ _________ ______ ________ ______ ____ ____.
__________ ________ ____ _________ _________ _____ _____ __________ ________ _____.
_________ _____ _________ ______ ____ ____.
___ _________ _______ ________ _________ ________ _________ __________ ________ _______ _______.
_________ _________ ________ ___ ____ _____ ______ ___ ______ ___.
_____ ________ _________ ________ _____ _________ _________ _____ _______ _______ ______.
___ _______ ___ ________ ___ ___ _________ _________ ____.
_________ _____ __________ _________ ____ _______ ___ ________ __________ _______ ____ _________.
______ ____ ___ _______ __________ _______ ___.
___ ___ _______ _____ ___ _______ _____ _________ _____ ______.
___ ________ ______ ___ ___.
________ ______ _______ _________ ___ ____.
______ ___ ___ ___ _______ ____ ___ __________ ________ _____ ___.
________ ________ ___ ______ ________ ___ ____ ___ ______.
__________ ________ _______ ________ _____ _______.
____ _____ _____ ________ ____.
__________ _______ _______ ________ ___ ______.
__________ ___ ___ ___ ____ _____ _______ __________ ___ __________ ________.
________ _________ ______ ________ _____ __________.
__________ ______ ____ ___ ________ __________ __________ ________ __________ __________ ________ _______.
________ ___ _____ ___ ______.
__________ ____ ____ ______ ____ ______.
_________ ______ ________ ___ ________ ____ ______ ___ ___ __________ ____.
___ ______ __________ ______ ________ __________ ___ ______ ___ _____.
________ ____ _________ ___ _____ ____ _______ ______ ______.
____ __________ _______ _________ ________ _________ _______ _______ ____ ____ _________ ___.
____ ______ __________ __________ __________ _____ __________ _____ ____.
_____ ___ _______ ________ ___ _____ __________ _______ ___ ___.
_______ ______ __________ ___ _____ __________.
Skip in 10
In a Programming and AI Lab, Python can be used to perform statistical analysis of marks obtained in five subjects. Statistical measures such as average, minimum, maximum, and standard deviation help in understanding the overall academic performance and the variation in marks. Python provides simple built-in functions and libraries that make such calculations easy, accurate, and efficient. Suppose the marks obtained by a student in five subjects are 78, 65, 82, 71, and 90. These values can be stored in a Python list. The `statistics` module can then be used to calculate the average and standard deviation, while the built-in `min()` and `max()` functions can determine the lowest and highest marks. ```python import statistics # Marks obtained in five subjects marks = [78, 65, 82, 71, 90] # Calculate statistical values average = statistics.mean(marks) minimum = min(marks) maximum = max(marks) standard_deviation = statistics.stdev(marks) # Display the results print("Marks:", marks) print("Average:", average) print("Minimum:", minimum) print("Maximum:", maximum) print("Standard Deviation:", standard_deviation) ``` The first statement, `import statistics`, imports Python's standard `statistics` module. This module contains functions for performing common statistical calculations. In the program, the `mean()` and `stdev()` functions are used from this module. The statement `marks = [78, 65, 82, 71, 90]` creates a list containing the student's marks in five subjects. A Python list is useful because it allows multiple values to be stored in
________ __________ _____ ________ _____ _____ ______ _____._____ _____ ___ _______ ___ ___ _______ _______ ______ ________ _______ ___.
____ _____ ____ ___ ______.
_______ _______ ______ __________ ___ ___ __________ ______ _____ ____ __________ __________.
_______ ____ __________ ________ __________ ___ _____.
____ ___ ________ __________ ___ _______ ____ _________ __________ _________ _____.
____ ____ _________ ___ _____.
_____ ______ _________ ______ ________ ______ ________.
____ __________ ______ ___ _____ _________ _____ ____ ________ _____ _______ ___.
________ ______ __________ ____ __________ __________ _________ _________ ________ ________ ______.
________ _________ _________ ______ ____ _______ ______ ____ _____ _________ _____ __________.
__________ _______ ___ _________ _______ ___ _____ ______ ______ _______ ____ _________.
_________ ______ _________ ______ ____ ________ _____.
_______ ___ _______ ________ ______ __________ _____ ______ _______ ____ ___.
__________ ___ __________ ______ _________.
____ _____ ________ __________ _______ ______ ___.
____ ____ __________ _____ ______ __________ ________.
__________ _________ ________ _______ _______ _______ _________ ____ _______ __________.
___ ______ ___ __________ _______ ___ _________ _________ _________ _______.
___ ______ _________ _________ ___ _________ ____ _________.
___ _________ _____ ___ ____ ___.
_______ ______ _________ _______ ______ __________ ______ ____ ____ _________ ___ _______.
_________ _____ __________ __________ ______ _____ _____ _________ ____.
______ _____ _____ ________ ___ _______.
___ ________ _____ ___ _____ ________ _______ ______ ___ ____ ____ _____.
______ ____ ______ ________ _________ ____ _______ _____.
_______ ____ _____ _________ _________.
________ ________ _______ _______ ____ ____ ____ _____ _______ ____ ____.
_________ _______ __________ ___ _______ ______ _______ ____ __________ _______ _________.
________ _____ ______ ________ ____ ________ ______.
____ ___ ______ _____ ____ ________ ___ ___ __________ ________ _________ _______.
_________ ______ _____ ______ ____ _______.
_______ ___ _______ __________ ______ __________ ____ _________ _________ ______ __________.
__________ __________ ________ ___ _______ _____.
________ _________ ______ ______ _______ _______ _______ ______ ________ _________ _______.
________ _____ ___ _____ ___ ________ ______ ___ ____ ___.
_______ ____ ____ ______ __________ _______ __________.
________ ______ _______ ______ _________ _____.
__________ ___ _____ _____ ________ ______ ____.
_____ _______ _____ ____ __________ _________ ___ ______.
___ _______ ______ _____ _____ _________ _______ _____ _______ __________ __________.
________ ___ __________ _________ ________ __________ ___ __________ _____ ______ _________.
____ ___ ___ ____ ________ _____ _______ __________ ____ _________.
____ _________ ___ _________ _____ __________ ________ _____ ____ ______ ________.
___ _____ __________ ______ _________ __________ __________ ______ _______ _________ _________.
__________ ______ ___ ____ _______ ___ ____ ___ ________.
____ ______ __________ _____ __________ _______ __________ __________ _____ _____ ______.
____ _______ _____ _____ _______ __________ __________.
___ _____ _______ ___ __________ _________ ________ ___ ________ _________.
__________ __________ __________ ________ ____ _________ __________.
__________ _______ ________ _______ ________ ________ ___ ____ ____.
_________ ______ _________ ________ ____ ____ __________ ____ _____ __________ ________.
____ __________ _______ _________ __________ ______ _____ __________ _____ __________.
_____ ________ _____ _________ ______ __________ ______ ________ _______ ___.
__________ ______ ________ ________ ___ __________.
________ _________ ______ _______ _________.
________ _______ ________ ____ ____ _____ _________ __________ _________ _____ ___ ___.
____ _______ _______ __________ ________ _____ _____ _________ _____.
_________ ______ _____ _____ ________ _________ ________.
___ _________ _________ ____ ________ ___.
_____ ___ __________ ______ ________ ________ ____ ___ ______ ________ ______ _____.
___ _________ ________ ______ __________ __________ ________.
_____ ________ ________ ___ _______ ____ _______ _________.
______ __________ ________ ____ ______ __________ _____ _________ __________ _______ ______ __________.
_______ ________ _______ __________ _______.
___ ____ ______ _________ _________ ____ __________ ____ ______ ____ _______.
_____ _______ _______ ____ __________.
_________ _________ ______ ________ ______ ____ ____.
__________ ________ ____ _________ _________ _____ _____ __________ ________ _____.
_________ _____ _________ ______ ____ ____.
___ _________ _______ ________ _________ ________ _________ __________ ________ _______ _______.
_________ _________ ________ ___ ____ _____ ______ ___ ______ ___.
_____ ________ _________ ________ _____ _________ _________ _____ _______ _______ ______.
___ _______ ___ ________ ___ ___ _________ _________ ____.
_________ _____ __________ _________ ____ _______ ___ ________ __________ _______ ____ _________.
______ ____ ___ _______ __________ _______ ___.
___ ___ _______ _____ ___ _______ _____ _________ _____ ______.
___ ________ ______ ___ ___.
________ ______ _______ _________ ___ ____.
______ ___ ___ ___ _______ ____ ___ __________ ________ _____ ___.
________ ________ ___ ______ ________ ___ ____ ___ ______.
__________ ________ _______ ________ _____ _______.
____ _____ _____ ________ ____.
__________ _______ _______ ________ ___ ______.
__________ ___ ___ ___ ____ _____ _______ __________ ___ __________ ________.
________ _________ ______ ________ _____ __________.
__________ ______ ____ ___ ________ __________ __________ ________ __________ __________ ________ _______.
________ ___ _____ ___ ______.
__________ ____ ____ ______ ____ ______.
_________ ______ ________ ___ ________ ____ ______ ___ ___ __________ ____.
___ ______ __________ ______ ________ __________ ___ ______ ___ _____.
________ ____ _________ ___ _____ ____ _______ ______ ______.
____ __________ _______ _________ ________ _________ _______ _______ ____ ____ _________ ___.
____ ______ __________ __________ __________ _____ __________ _____ ____.
_____ ___ _______ ________ ___ _____ __________ _______ ___ ___.
_______ ______ __________ ___ _____ __________.
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.