Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

SUBJECT ENRICHMENT ACTIVITY

Subject: Computer Science


Class: VI
Note: This project will be evaluated out of 5 marks. The activity to be submitted
by January 15th, 2024.
Write a program to prompt the user to input the name and marks in 5 subjects- English,
Hindi, Maths, Science and Social Science (out of 50) of a student and display the Name,
Subject Marks, Total Marks, Percentage and division obtained by the student.
The output should look like a marksheet with Division based on the details given below:
% Division
75 and above Distinction
61 - 74 First Division
40 - 60 Second Division
Below 40 Fail
Hint:
● Use the input statement to take input from the user one by one, calculate the sum
and find the percentage by using the formula
Percentage = (Marks Obtained/Total Marks) * 100
● Use the print statement to display the details one by one neatly.
● Use if..elif..else in Python to check the division and display it.
SAMPLE OUTPUT OF THE PROGRAM:

Marksheet of Rohan

SUBJECT MARKS

English: 45

Hindi: 47

Maths: 41

Science: 46

Social Sc: 40

TOTAL MARKS: 219

PERCENTAGE: 87.6 %

DIVISION: Distinction

Note: The project should be submitted as a A4 print out (to be pasted in


Computer Notebook) of the Word/PDF file containing:
1. Source Code used to write the program
2. Output Window of the program
You may use the snipping tool or Print
Screen option to copy the Source Code or
Output window and paste it in the Word
window for printout.

You might also like