UCSC101P – Python Programming Lab Exercises
1. Write a python program to find the average marks scored by a student in 6 subjects.
2. Write a python program to find the area of a rectangle and square.
3. Write a program to find the average score of a student in physics, chemistry and
mathematics which help them to qualify for a medical education or engineering
education. If the average score is greater than or equal to 98, the candidate is eligible
for medical admission else engineering admission.
4. Write a python program to find the biggest among three given number.
5. Write a program to allot the branch based on the entrance exam marks scored by the
student:
1. If mark>=90 Computer Science
2. <=80 mark <90 Mechanical
3. <=70 mark <80 Civil
4. Else eligible for other engineering branches
6. Write a python program to segregate student based on their CGPA. The details are as
follows:
<=9 CGPA <=10 - outstanding
<=8 CGPA <9 - excellent
<=7 CGPA <8 - good
<=6 CGPA <7 - average
<=5 CGPA <6 - better
CGPA<5 - poor