Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
62 views3 pages

Pratical Work Questions

Practical work

Uploaded by

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

Pratical Work Questions

Practical work

Uploaded by

gyanprasad309
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

PRATICAL WORK 2024-2025

CLASS-X

1. Write a program to input a welcome message and print it.


2. Program to obtain length and breadth of a rectangle and calculate its area.
3. Write a program to read distance in miles and print in kilometres.
4. Write a program to compute “ how many days is a million second”.
5. Program to obtain three numbers and print their sum.
6. Program to calculate BMI ( Body Mass Index) of a person.
Body Mass Index is a sample calculation using a person’s height and weight, The
formula is BMI=Kg/m2
7. Write a program to input a number and print its cube.
8. Write a program to input a value in kilometres and convert it into miles (
1Km=0.621371miles)
9. Write a program to input a value in tonnes and convert it into quintals and
kilograms.( 1 tonne -10 quintals 1 tonne= 1000Kg, 1 quintal= 100Kg)
10. Write a program to enter a small poem or poem verse and print it.
11. Write a program to input two numbers and swap them.
12. Write a program to input three numbers and swap them as this: 1 st number becomes
the 2nd number, 2nd number becomes the 3rd number and 3rd number becomes the 1st
number.
13. Write a program that ask the user to input number of seconds and then expresses it
in terms of many minutes and seconds it contains.
14. Write a program to obtain temperature in Celsius and converted into Fahrenheit
using formula °C x 9/5 + 32= °F
15. Write a program to input three numbers and swap them as this: 2nd number gets the
value of 1st + 2nd number, 3rd number gets the value of 2nd + 3rd number.
16. Write a program to calculate it how many days a work will be completed by three
persons. A, B and C together. A, B, C take x days, y days and z days respectively to
do the job alone. The formula to calculate the number of days if they work together
is xyz / (xy+yz+xz) days where x, y and z her given as input to the program.
17. Write a program to enter to numbers and perform all arithmetic operations on them.
18. Write a program to find average of three numbers.
19. Write a program to input age from user and print it as per the input age, one is
eligible to vote or not.
20. Write a program to input two numbers and check if the two numbers are equal or
not using if -else
21. Write a program to check if a given number is more than 100 or not using if else
conditionals.
22. Program that takes a number and check whether the given number is odd or even
using if – else.
23. Program to accept three integers and print the largest of the three. Make use of only
if statement .
24. Write a program to print all items from a list containing some colour names in it
using for loop
25. Write a program to compute total marks from the marks of different subjects stored
in the form of a list using for loop.
26. Program to print table of a number, say 25 using for loop.
27. Program to print sum of natural numbers between 1 to 7 . Print the sum
progressively, I,e after adding each natural number, print sum as far.
28. Program to print some of natural numbers between 1 to 7 using for loop.
29. Write a python program to print square of first 5 natural numbers using while loop.
30. Write a program to input a number ( num) and print the sum of numbers from 1 to
num Using for loop.
31. Program to calculate in print the sum of even and odd integers of the first n natural
numbers.
32. Write a program to input a number and print how many digits are there in the given
number using while loop.
33. Write a program to input to numbers ( first number n1 being less than the second
number n2) and print number of odd numbers in the range n1….. n2.
34. Write a program to test if a given number is positive, negative or zero using if- elif
statement.
35. Write a program to input a year and check if it is a leap year or not using if else
statement.
36. Write a program to print squares of all numbers present in a list [8, 2, 7, 11, 20, 6]
37. write a program to print the numbers divisible by 5 from a given list of numbers[
11,25,35,26,50,61]
38. write a program to input a number and print the sum of digits in the given number
using while loop.
39. Write a program to input a number and printed reversed number.
40. Write a number to print if a number is a palindrum number. A palindrum number is
the one, which is sum as its reversed number.
41.
Write a program to input a three digit number and check if it is an Armstrong
number. And I'm strong number is the one which is equal to the sum of the cubes of
its digits, e,g 153= 13 + 53 + 33
42. Write a program to input a positive number and print its factorial. The factorial of a
number n is : n* (n-1)(n-2)*….*1
43. Write a program to add the elements of the two lists.
44. Write a program to calculate mean, median and mode using Numpy
45. Write a program to display line chart from (2,5) to (9,10).
46. Write a program to display a scatter chart for the following points (2,5),
(9,10),(8,3),(5,7),(6,18).
47. Read csv file saved in your system and display 10 rows.
48. Read csv file saved in your system and display its information.
49. Write a program to read an image and display using Python.
50. Write a program to read an image and identify its shape using Python.

You might also like