Class IX Computer Applications Project
Class IX Computer Applications Project
PROJECT CLASS – IX
Date of Submission –20.08.2025
Procedure
The project has to be done in Write the program along with
Oxford File comments & variable
Make Cover Page description
Make Index of programs with Give the Conclusion &
page number Acknowledgement
Write Introduction
1. Write a program to input a number more than 1 digit & add the square of
the first digit with the cube of the last digit. If a 1 digit number is input then
print the message–“Not possible”. For e.g.
Input = 4563
Square of the first digit = 4*4
= 16
Cube of the last digit = 3*3*3
= 27
Total = 16 + 27
= 43
2. Equivalent numbers are numbers where the factors sum(other than the
number itself) are identical. For e.g.
159 and 559 are equivalent numbers since their factors sum excluding itself is
same.
159 = 1,3 and 53
= 1+3+53=57
559 = 1,13 and 43
= 1+13+43=57
WAP to input two numbers & determine if they are equivalent or not.
3. School scholarship is given on the following basis: -
Percentage Scholarship
Below 60% No Scholarship
60 % – 74 % 10% of the school fees
75% – 89% 25% of the school fees
90% and above 50% of the school fees
5. Write a program to find the sum of the terms in the series mentioned below:
s= 𝟏 + 𝟐 + 𝟑 + … + 𝒏
𝟐! 𝟑! 𝟒! (𝒏+𝟏)!
Write a program to accept the ages of 100 people and print out the total
earnings.
8. Write a program using nested loop to print the following left aligned
pattern:
13579
3579
579
79
9
9. Write a program using nested loop to print the following right aligned
pattern:
8
68
468
2468
10.Write a program in Java to enter a number and a digit. Check if the digit is
present in that number or not. If present, then print the total number of
occurrences in it otherwise print the message – “Not present”. For e.g.
Number – 64344
Digit –4
Total occurrence – 3
11.Write a menu driven program using switch-case to find the value of torque,
acceleration and power using formula given below. For an incorrect choice,
print an appropriate message.
torque = force x distance
acceleration = 𝐯𝐞𝐥𝐨𝐜𝐢𝐭𝐲
𝐭𝐢𝐦𝐞
power = 𝐰𝐨𝐫𝐤
𝐭𝐢𝐦𝐞
(Note: In the menu, the user needs to input a character (t/T or a/A or p/P)
using Scanner class)
12.A Dudeney number is a positive integer for which the sum of its digits is
equal to the cube root of the number itself. For e.g.
Number = 512
Cube root = 𝟓𝟏𝟐
𝟑
=8
Sum = 5+1+2
=8
Write a program to input a no. and check if it is a Dudeney number or not.
Example 1: Example 2:
Input: 2025 Sample Input: 1950
√2025 = 45 √1950 = 44.1588........
Output: It is a perfect square. Least number to be added
= 452 – 1950
= 2025 – 1950
= 75
14.Write a program to input a number using scanner class and print the largest
and the smallest digit in it.For e.g.
Input : 5816
Largest = 8
Smallest= 1
15.Write a program in Java to calculate the amount of commission of a
salesman (in Rs) based on his/her sales figure mentioned hereunder: -
Sales Commission
UptoRs 2000 No commission
Rs 2001 – Rs 20,000 5%
Rs 20,001 – Rs 50,000 10%
Above Rs 50,000 15%
For e.g. if the salesman shows a sale figure of Rs 40,000 the commission
amount will be: x 40,000= Rs 4,000
16.Use Scanner class to write a program to input any five numbers and find
the average. If the average is a decimal number then print the sum of the
first three numbers else if it is a whole number then find the sum of the
last three numbers. For e.g.
Input:
Numbers: 25 34 18 11 61
Output :
Total : 149
Average : 29.8
Since, the average is a decimal number, hence the sum of the first three
numbers –
Sum : 25 + 34 + 18
= 77
18. Write a program to print such numbers under 100 whose difference with
its reverse (bigger – smaller) is more than the original number.For e.g.
Number =15
Reverse =51
Difference =51–15
Result =36
Note:
There are altogether 14 such numbers.
They are: 13, 14, 15, 16, 17, 18, 19, 25, 26, 27, 28, 29, 38 and 39
In the above e.g., since the result i.e. 36 is greater than the original
number i.e. 15 hence it should be printed.
19.Write a program to input a number and find its square. Find the sum of the
even & odd digits separately in the square of the number.
For e.g.
Example 1: Example 2:
Number = 125 Number = 92
Square = 125 x 125 Square = 92 x 92
= 15625 = 8464
Even digit’s sum = 2+6 Even digit’s sum = 8+4+6+4
= 8 = 22
Odd digit’s sum = 5+5+1 Odd digit’s sum = No odd digit
= 11
-----xxx-----