0% found this document useful (0 votes)
23 views10 pages

LIST OF PROGRAMS-Gr10 Python Programs 2024-25

The document outlines a portfolio of programming assignments for Class 10, focusing on control statements, data science, and computer vision. It includes tasks such as calculating discounts, shipping costs, and statistical measures using Python, as well as visualizing data with charts. The assignments are categorized into sections based on control statements (nested if, for loop, while loop), data science applications, and computer vision tasks.
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)
23 views10 pages

LIST OF PROGRAMS-Gr10 Python Programs 2024-25

The document outlines a portfolio of programming assignments for Class 10, focusing on control statements, data science, and computer vision. It includes tasks such as calculating discounts, shipping costs, and statistical measures using Python, as well as visualizing data with charts. The assignments are categorized into sections based on control statements (nested if, for loop, while loop), data science applications, and computer vision tasks.
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 – PORTFOLIO 24-25

I. Control Statements NESTED IF


1. WAP to calculate and display discount based on the sale amount.
Amount Discount
0-5000 5%
5000-15000 12%
15000-25000 20%
above 25000 30%

2. WAP to find the amount of purchase of goods by entering the price and quantity with the following
conditions . Do the code if amt greater than 100 otherwise display the message Amount less than 100
Amount Display message
Amount between 400 and 500 The amount is between 400 and 500
amount between 300 and 399 The amount is between 399 and 300
amount between 200 and 299 The amount is between 299 and 200
Amount between 100 and 199 The amount is between 100 and 199
amount is 100 The amount is 100
3. WAP to find the shipping cost of online items to US and AU. User should enter the total number of Items
to dispatch and Country to dispatch

Total items country Message


<=50 Shipping Cost is $50
<= 100 Shipping Cost is $25
US
<= 150 Shipping Costs $5
else Your shipping cost is free for US
<= 50 Shipping Cost is $100
AU
else Your shipping cost is free for Australia

II. Control statements :-For loop


4. WAP to find the factorial of a given number.
5. WAP to find the power of a given base and exponent.

6. WAP to Iterate a list in reverse order.

7. WAP to calculate the cube of all numbers from 1 to n number.

8. WAP to add the elements of the two lists.


9. WAP to find the sum of n numbers.
III. Control statements :-While loop
10. Write a program to print numbers less than 5.

11. WAP to print even and odd numbers between 1 to n numbers.

12. WAP to Iterate a given list. List 1= [Apple,Banana,Orange ].


IV. Data Science
13. WAP to calculate the mean, median and mode using NumPy.

14. WAP to draw a line chart to find the unemployment rate.


15. WAP to display a scatter chart for the following points ( 2,5),(9,10),(8,3),(5,7),(6,18).
16. [Link] to display line chart from (2,5) to (9,10).
17. WAP to Read csv file saved in your system and display its information.

V. Computer vision
18. Write a program to read an image and display using Python.
19. Write a program to read an image and identify its shape using Python.

You might also like