IX Std Computer Application Project(2025–2026)
Important Instructions:
1. Write program on BlueJ first.
2. Execute it with 2inputsat least.
3. If program is working fine then write it on assignment sheet with question.(VDT&
at least 2 comments are required).
4. Attach all programs properly in ‘Computer Application Project’file.
Program1 : Write a program in Java, using the Scanner methods, to read and display the
following details:
Name-as a String data type
Roll Number - as an integer data type
Marks in 5 subjects out of 100 - as a float data type
Compute and display the Average and percentage of marks.
Program2 : Write a program in Java that uses 'input using initialization ' to calculate the
Simple Interest and the Total Amount with the given values:
i. Principle Amount=Rs.30000
ii. Rate=9%
iii. Time=6years
(Hint: use assignment statement.)
Program 3: In a competitive exam, there were 150 questions. One candidate got 80% correct
and the other candidate got 62% correct. Write a program to calculate and display the correct
answers each candidate got.
Program4 : Write a program to input the time in seconds. Display the time after converting
them into hours, minutes and seconds.
Sample Input: Time in seconds5420
Sample Output: 1Hour 30Minutes 20Seconds
Program 5: The normal temperature of human body is 98.6℉. Write a program to convert the
temperature into degree Celsius and display the output
𝒄 𝑭+𝟑𝟐
Hint: 𝟓 = 𝟗
Program5: Write a program to input name and basic salary of an employee. Calculate and
display the gross salary and net salary when :
da = 30% of basic
hra=12.5% of basic
pf = 10% of basic
gross= basic + da + hra
net pay = gross – pf
Program6 : A shopkeeper offers 10% discount on printed price of Digital [Link], a
customer has to pay 6% GST on the remaining amount. Write a program in Java to calculate
and display the amount to be paid by the customer.
Take the printed price of Digital camera as the input.
Program7: Write a program to input two unequal numbers. Display the numbers after
swapping their values in the variables without using third variable.
Sample Input :a=23,b=56.
Sample Output : a=56, b =23.
Program8: In an examination, you have appeared for 3 subjects i.e English, Chemistry, Hindi
Write a program in Java to calculate the average marks obtained and finally display the marks
in rounded off form.
Take English, Chemistry and Hindi marks as an input.
Program9 :
You want to calculate the radius of a circle by using the formula:
22 2
Area= 𝑟 ; where r = readius of the circle.
7
Hence the radius can be calculated as:
r=√((7 ∗ 𝑎𝑟𝑒𝑎/22))
Write a program in java to calculate and display the radius of a circle by taking the area as input.
Program10:
In an examination, the grades are awarded to the students in ‘Science’ according to the average
marks obtained in the examination.
Marks Grades
85%and above Distinction
60% or more but less than 84% First Division
45% or more but less than60% Second Division
40% or more but less than 45% Pass
Less than 45% Promotion not granted
Write a program to input name and mark in Physics, Chemistry and Biology. Calculate the
average marks. Display the name average marks and name obtained.
Program11: The angles of quadrilateral are in ration 3:4:5:6. Write a program to find and display all
of its angles.
Hint: The sum of angles of quadrilateral =360°
Program12:
Write a program to input the year. The program checks and displays whether it is “
(a) a Leap year (b) a Century Leap year (c) a Century year but not a Leap year
Sample Input: 2000
Sample Output: It is a Century Leap year
Program13:
Write a menu driven class to accept a number from the user and check whether it is a
Palindrome or a Perfect number.
(a) Palindrome number: (A number is a Palindrome which when read in reverse order is same
as in the right order)
Example:11, 101,151etc.
(b) Perfect number: (A number is called Perfect if it is equal to the sum of its factors other than
the number itself.)
Example: 6=1+2+3
Program14:
Write a program to input a number and display the new number after reversing the digits of the
original number. The program also displays the absolute difference between the original number and
reversed number.
Sample Input: 194
Sample Output: 491
Absolute difference:297
Program15:
Write the programs in Java to display the following patterns:
(a) (b)
12345 @*@*@
1234 @*@*
123 @*@
12 @*
1 @