KERALA PUBLIC SCHOOLS COMPUTER PROJECT QUESTIONS CLASS: X

1. WAP to input the time and convert it into a. Hours b. Minutes and c. Seconds 2. WAP to input the marks in 7 subjects and find out the Total, Percentage and Grade based on the structure given below, Below 50% – Grade C 50% to 75% – Grade B 76% to 90% – Grade A above 90% – Distinction 3. WAP to input the cost price and selling price of an article and find out Profit % or Loss %.

4. WAP to input the monthly salary of a person and calculate his Annual Income Tax based on the table given below – Annual Salary Income Tax

Annual salary Income Tax

<= Rs. 1,80,000 Nil

>Rs. 1,80,000 to Rs. 3,00,000 Rs. 5000 + 13% of the amount Exceeding Rs. 1,80,000

> Rs. 3,00,000 Rs. 15,000 + 33% of the amount Exceeding Rs. 3,00,000

5. WAP to input a number and determine whether it is a Buzz number or not. A Buzz number is one which either ends with 7 or is divisible by 7. E.g. 70, 17, 21 etc… 6. WAP to input a number and check whether it is a Perfect square or not. 7. WAP to input a double digit number and display the sum and product of its digits, e.g. if the number entered by the user is 23 then the output will be Sum = 5, Prod = 6 8. WAP to input a Triple digit number and display whether the middle digit is Odd or Even, also display its square and . 9. WAP to input a double digit number and reverse it (without using loops) e.g. if input is 23 output should be 32 10. Write a menu driven program to calculate the area of a. Circle (Π.r2) b. Square (side * side) c. Rectangle (l * b)

11. Write a menu driven program to calculate the volume of a. Sphere (4/3.Π.r3) b. Cube (side * side * side) c. Cuboid (l * b * h) 12. Write a menu driven program to Input any number and check a) If it is a Special (Krishnamurthy) number or not. (Hint: 145 = 1! + 4! + 5!) b) If it is an Armstrong (Narcissistic) number or not. (Hint: 153 = 13 + 53 + 33) c) If it is a or not. (Hint: 6 = 1 + 2 + 3, sum of factors excluding itself) d) If it is a Palindrome or not. (Hint: 121 = 121) 13. WAP to Print the natural numbers between x and y limits where ‘x’ and ‘y’ are entered by the user. 14. WAP to find and print Sum of Prime Numbers between x and y limits 15. WAP to Input any 2 numbers and check if it is Twin Prime or not. (Hint: 3 & 5, 5 & 7 etc…) 16. WAP to input a number and print the sum of all the digits that are at even locations. E.g. 4567, output is 12. 17. WAP to Input a number and display all the prime digits and their sum. E.g. 347, output is 3, 7 and sum = 10 18. WAP to find and print Sum where S = y + y/8 + y/27 + … till ‘n’ terms 19. WAP to find and print Sum where S= 1 – a2/3! + a4/5! – a6/7! … n terms 20. WAP to input a number and print the digits in ascending order. E.g. if the input is 5723 the output will be 2357 21. WAP to input two numbers and print the HCF (GCD) and LCM of two numbers. 22. WAP to input a number and convert it from to Binary and print 23. WAP to check whether a number entered by the user is an or not. An Evil number is one whose Binary counterpart has even number of ones. E.g. 10, as the binary of 10 is 1010 which has even number of ones. 24. WAP to check whether a number entered by the user is an or not. An Odious number is one whose Binary counterpart has odd number of ones. E.g. 7, as the binary of 7 is 111 which has odd number of ones. 25. WAP to check whether two numbers entered by the user belong to the set of Amicable Pair or not. Two numbers are said to be Amicable Pair if the sum of factors of the 1st excluding the number is equal to the 2nd number and the sum of factors of the 2nd number excluding itself is equal to the 1st E.g. 220 and 284

Note: All program must have variable description and question for reference. Use square resister for making your project. More questions will be given after your First Terminal Examination.