CBSE Class 11 Computer Science Question 43 of 80

Getting Started with Python — Question 8

Back to all questions
8
Question

Question 8

Write a pseudocode that will perform the following:

(a) Read the marks of three subjects: Computer Science, Mathematics and Physics out of 100.

(b) Calculate the aggregate marks.

(c) Calculate the percentage of marks.

Answer
Step 1: Input the marks in Computer Science
Step 2: Input the marks in Mathematics
Step 3: Input the marks in Physics
Step 4: Set total marks by adding marks in Computer Science, Mathematics and Physics
Step 6: Set percentage by dividing total marks by 300 and then multiply it by 100
Step 7: Display total marks and percentage