0% found this document useful (0 votes)
3 views2 pages

Class10 Python Practical Questions Updated

The document outlines a series of Python programming exercises for Class 10 students, covering various topics such as conditional statements, patterns, series, prime numbers, and functions. Each exercise includes specific tasks like calculating grades, generating patterns, and checking number properties. The exercises are designed to enhance students' practical programming skills in Python.

Uploaded by

technogeekz2010
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Class10 Python Practical Questions Updated

The document outlines a series of Python programming exercises for Class 10 students, covering various topics such as conditional statements, patterns, series, prime numbers, and functions. Each exercise includes specific tasks like calculating grades, generating patterns, and checking number properties. The exercises are designed to enhance students' practical programming skills in Python.

Uploaded by

technogeekz2010
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Class 10 Python Practical File Questions

If–Elif Based Programs


1. Write a Python program to input marks of a student in 5 subjects and calculate the
percentage. Using if-elif, display the grade.

2. Write a Python program to input three numbers and display the greatest using if-elif.

3. Write a Python program to calculate electricity bill based on slabs (₹5/unit up to 100,
₹7/unit up to 200, ₹10/unit above 200) and add 10% surcharge if bill > ₹2000.

Pattern-Based Programs
4. Write a Python program to print the following star pattern:
*
**
***
****
*****

5. Write a Python program to print the following number triangle:


1
23
456
7 8 9 10

Series-Based Programs
6. Write a Python program to display the sum of first n even numbers.

7. Write a Python program to print the Fibonacci series up to n terms.

8. Write a Python program to find the sum of the series 1 + 1/2 + 1/3 + ... + 1/n.

Prime, Palindrome, Armstrong


9. Write a Python program to check whether a number is prime or not.

10. Write a Python program to check whether a number is palindrome or not.

11. Write a Python program to check whether a number is an Armstrong number or not.

Match–Case Based Programs


12. Write a Python program to display the day of the week using match-case.

13. Write a Python program to create a simple calculator using match-case.


Function-Based Programs
14. Write a Python program to calculate the area of circle, rectangle, or triangle using
functions.

15. Write a Python program to find factorial of a number using function.

List-Based Programs
16. Write a Python program to input 10 numbers in a list and display their sum and average.

17. Write a Python program to input 8 numbers in a list and display the largest and smallest
number (without using max/min).

Tuple-Based Programs
18. Write a Python program to count the occurrence of an element in a tuple.

19. Write a Python program to find the sum of all elements in a tuple.

While Loop Based Program


20. Write a Python program to reverse digits of a number using while loop.

You might also like