If a student offered 12 subjects and the student's cumulative score is 1085. Write a program in python to show the student's average score.
Question
If a student offered 12 subjects and the student's cumulative score is 1085. Write a program in python to show the student's average score.
Solution
1. Break Down the Problem
To find the average score of a student:
- Determine the total score (which is already given as 1085).
- Identify the number of subjects (which is given as 12).
- Use the average formula to calculate the average score.
2. Relevant Concepts
The average score can be calculated using the formula:
3. Analysis and Detail
- Given:
- Total Score = 1085
- Number of Subjects = 12
- We will implement the formula in Python.
4. Verify and Summarize
Using the formula, the average will be calculated as follows. The coding part will output this directly.
Python Code
# Given data
total_score = 1085
number_of_subjects = 12
# Calculating average score
average_score = total_score / number_of_subjects
# Displaying the average score
print("The student's average score is:", average_score)
Final Answer
When you run this program, it will compute and display the average score, which is . Therefore, the student's average score is approximately 90.42.
Similar Questions
Marks scored by 104 students of a college in the mid-term exam given below. Draw histogram. Marks No. of students 0-24 12 24-40 16 40-48 24 48-68 40 68-80 12
.Write a Python program to store marks scored in subject “Fundamental of DataStructure” by N students in the class and perform different operations.
A student scored an average of 90 in the introductory course. What score can we expect for this student in the upper-level course
Write a program to write data into binary file marks.dat anddisplay the records of students who scored more than 95marks.
If the average marks of two batches of 55 and 45 students respectively is 50 and 60, then the average marks of all the students is:a.54.5b.55c.56.8d.53
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.