Practice - Calculate Mean, Median and Mode Using NumPy
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
Calculate the mean of the dataset [15, 25, 35].
💡 Hint: Add all numbers and then divide by how many numbers there are.
What is the median of the following sorted dataset: [10, 20, 30]?
💡 Hint: Look for the middle number.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the formula for calculating the mean?
💡 Hint: Think about the average as total divided by count.
True or False: The median is always the largest value in a dataset.
💡 Hint: Median is about position, not size.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Given the dataset [10, 20, 20, 30, 40, 50, 50, 50, 60], calculate mean, median, and mode using Python. Then analyze how these statistics might differ if one element, say '5', was added to the dataset.
💡 Hint: Re-calculate after adding the element, observing changes.
In a student survey, if the scores were [88, 90, 90, 92, 85, 75, 100], what is the mean, median, and mode? How might these results inform the teacher's understanding of class performance?
💡 Hint: Reflect on how this performance data could shape teaching strategies.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.