M.C.
KEJRIWAL DYAPEETH
COMPUTER APPLICATIONS
CLASS IX
SESSION 2025-2026
PROJECT WORK
Students need to do the following 15 programs for their project file. They have to write the
program code (with comments), a variable description table and output.
The project should contain the following pages in the proper order:
1. Introduction page about the student
2. Acknowledgement page (duly signed with full signature)
3. Index page
4. Introduction to Java and properties of the Java programming language
5. Programs
a. Question
b. Program code
c. Variable description table
d. Output
6. Conclusion
Each question must be started from a new page and output should be written on
the white sheet of the project file. Every program must be well-commented.
Programs need to be arranged in the following order mentioning the Program
Number clearly on top of each program as given below:
1. Write a Java Program to find the square of a number entered by the user.
2. Write a Java Program to accept radius of a sphere and calculate the volume of sphere.
3. Write a Java Program to calculate Simple Interest for a given sum where Principle,
rate of interest and time will be given by users
4. Write a Java Program to accept height and base of a triangle as input and calculate the
area of that triangle.
5. Write a Java Program to accept temperature in Celsius from users and calculate and
display the corresponding converted temperature into Fahrenheit.
6. Write a program to check if a given number is divisible by both 5 and 7.
7. Write a Java Program to accept three numbers from user and display the greatest number
amongst them.
8. Write a Java Program to accept marks of assessment examination and compute the
grade as per given rule. Print both average marks and the grade.
AVERAGE MARKS GRADE
80 or above A+
60 to 79 A
50 to 59 B
40 to 49 C
Less than 40 D
9. Write a Java program that takes an integer input from the user representing the age of a
person. The program should determine if the person is:
• A child (age less than 12)
• A teenager (age between 12 and 19, inclusive)
• An adult (age 20 or above)
10. Write a Java program to reverse a number entered by the user using a while loop. (For
example, if the input is 12345, the output should be 54321).
11. Write a Java program to input monthly salary(msal) of an employee . Calculate the
annual salary(asal) and income tax(IT) to be paid on the basis of annual salary as per
the given slabs :
Annual Income (in Rs.) Income Tax
<=250000.0 Nil
>250000.0 and <=500000.0 10%
>500000.0 and <=1000000.0 20%
>1000000.0 30%
Print the monthly salary , annual salary and income tax to be paid by the employee .
12. Write a menu-driven program in Java to accept a day of the week (1-7) and print the name
of the day using a switch-case.
Days of the week:
1 = Sunday
2 = Monday
3 = Tuesday
4 = Wednesday
5 = Thursday
6 = Friday
7 = Saturday
13. Write a menu driven program in Java to input two numbers n1 and n2 and an arithmetic
operator (+ or – or / or %) in ch .Perform the arithmetic operations on n1 and n2 on the
basis of operator ch. Print the result of arithmetic operation .
14. Write a Java program to print the following pattern using nested for loops:
*
**
***
****
*****
15. Write a menu driven program in Java that checks if the entered character is a vowel or
consonant.
Note :
Variable description table , comments and Output are necessary for each program .
Introduction will contain the introduction of Java along with some relatable pictures.
Index, Acknowledgement and Bibliography is mandatory.
Date of submission of the project: 30th July 2025.