Class - IX Computer Application Project 2024 -25-1
Class - IX Computer Application Project 2024 -25-1
Class - IX
Page 1: Students details
Page 2: Acknowledgement
Page 3 to Page 5: Index
Sl. No. Topics Page No.
Page 6: Introduction
Page 7:
1. i. Program Heading
ii. Program Question
iii. Answer
iv. Data Description
Variable Data type Purpose / Use
v. Input
vi. Output
2. i. Program Heading
ii. Program Question
iii. Answer
iv. Data Description
Variable Data type Purpose / Use
v. Input
vi. Output
(*** Each and every programs you will follow this format.)
Second Last Page: Conclusion
Last Page: Bibliography
Page 1 of 5
Programs using Assignment statements Date:- 31. 05. 2024
1. Write a program in Java to calculate and display the area of a rectangle.
2. Write a program in Java to find and display the simple interest and amount by using the
function argument.
Programs based on if
6. Write a program to input name, class and marks in English, Mathematics, and Computer.
Calculate the average marks and display name, average marks and grade obtained.
Marks Grades
>=80 % A*
>=60 % and <80 % A
>=50 % and <60 % B
>=40 % and <50 % C
<40 % “Fail”
Page 2 of 5
7. Write a program in Java to input a number and check it “odd” or “Even”.
8. 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'.
Sample Input: Enter three angles: 40, 50, 90
Sample Output: Right=angled Triangle
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.
(Net amount = Amount of purchase - discount)
10. A cloth showroom has announced festival discounts and the gifts on the purchase of items,
based on the total cost as given below:
Up to ₹ 2,000 5% Calculator
Page 3 of 5
Write a program to input the total cost. Compute and display the amount to be paid by the
customer along with the gift.
18. Write a menu driven program to perform the following tasks by using Switch case statement:
To print the series:
(a) 0, 3, 8, 15, 24, ............ to n terms. (value of 'n' is to be an input by the user)
Page 4 of 5
(b) To find the sum of the series:
S = (1/2) + (3/4) + (5/6) + (7/8) + ........... + (19/20)
Page 5 of 5