Class 10 – PORTFOLIO 24-25
Important Instructions
1. Copy and paste the code and output below each question and save your work.
2. Take the printout of Question,coding and output and spiral bind the project.
3. The order of portfolio is certificate ,cover page ,index and programs .
4. Last date of submission is Dec 9th 2024
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.WAP 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.