Practical
Practical
Criteria
Class Input/ Program Recor Viv VD Total
design Output execution d a T
20 10 20 20 20 10 100
2)Write a program to read a three-digit number and print individual digits. lab record
page no 11 should do this prg
3)Write a program to read price of an article and display the net amount after a
discount of 5% . LB=lab record page no 9
6) A man spends 1/2 office salary on food and 1/15 on rent, 1/10 on miscellaneous
activities rest of the salary is his savings write a program to calculate the:-
: money saved
LB page no 6
7)Shopkeeper cells two calculators for the same price ,he earns 20% profit on one
and suffers a loss of 20% on the other. Write a program to find and display total cost
price of the calculators by taking their selling prices as input. CW
8)A driver took drive to a town 240 km at a speed of 60 kmph to stop. Later in the
evening he drove back at 20kmph less than the usual speed. Write a program to
calculate total time taken by drivers as during whole journey. Idk
10) A Pre-Paid taxi charges from the passenger as per the tariff given below:
Distance Rate
Up to 5 km ₹ 100
passenger. The program displays the printed bill with the details given below:
Taxi No. :
Distance covered :
Amount :
Idk
11) The volume of solids, viz. cuboid, cylinder and cone can be calculated by the
formula:
Using a switch case statement, write a program to find the volume of different solids
Idk
12)Write a program to input three angles of a triangle and check whether a triangle
is possible or not. If possible then check whether it is an acute-angled triangle,
right-angled or an obtuse-angled triangle otherwise, display 'Triangle not
possible'.
13) Write 2 separate programs to display the first 10 terms of the following series:
a)1,4,9,16,……… b)4,8,16,32,…..
LB page no 13
14) Write 2 separate programs to find and display the sum of:
a) b)2 − 4 + 6 − 8 + ⋯ − 20
LB page no 14
1 1
1 2 2 2
1 2 3 3 3 3
1 2 3 4 4 4 4 4
1 2 3 4 5 5 5 5 5 5
LB page no 16
17) Write a program to input a number and display the number of digits.The program
further checks whether the number contains odd or even number of digits and
displays the output accordingly.
Idk
18)‘Kumar Electronics’ has announced the following seasonal discounts on
purchase of certain items.
Purchase Amount Discount on Laptop Discount on Desktop PC
Write a program to input name, amount of purchase and the type of purchase
(‘l’ for Laptop and ‘D’ for Desktop ) by a customer. Compute and print the net
amount to be paid by a customer along with his name.