Class Ix 2024-25
Class Ix 2024-25
GRADE : IX
Students of Class IX-Computer Application as per requirement of CISCE (ICSEBoard), have to make
a practical file in the subject of Computer Application
ASSIGNMENT 1 :
A. Write a program for calculating area of a circle whose radius is 10 cm & a rectangle
with length 10 cm & breadth 5 cm. Display all the values. (use PI = 3.14)
B. Write a program for calculating difference between the areas of two circles with
radius 20 cm & 30 cm. Display both the radius, areas along with their difference as
the final output. (use PI = 3.14)
C. Write a java program for calculating the perimeter of a circle with radius 15 cm and a
rectangle with length 30 cm & breadth 10 cm. Display all the values. (use PI = 3.14)
ASSIGNMENT 2 :
Write a java program for displaying all the even numbers from 1 – 100 with a tab
space, as shown below,
2 4 6 8 10……
ASSIGNMENT 3 :
A. Write a java program for calculating the sum of even & odd numbers from 1 –
20. Display the numbers along with their sums individually.
B. Write a java program for calculating the product of even & odd numbers from 1 –
10. Display the numbers along with their sums individually.
ASSIGNMENT 4 :
Import the Math class. Create a user-defined class named as “Math_Functions”; take two
variables x & y, having values 10 & 20.
Write the program to calculate –
a. maximum number
b. minimum number
c. square root of y
d. cube root of x
e. find the value of yx & xy
f. log(x) and log(y) using Math Functions; and display all the values in the main()
function.
ASSIGNMENT 5 :
A. Write a program to take input two numbers. Find LCM & HCF
B. Write a program to take input two numbers. MARGE TWO INTEGER NOS .
C. Write a program to take input any number. Find the frequency of each digits .
ASSIGNMENT 6 :
A. Write a switch case java program which takes month number as user input and displays
the number of days in every month based on the user’s input. E.g., When user enters
‘1’ then display “January – This month has 31 days”.
B. Write a switch case java program to display school subjects & college subjects, where
the user will enter ‘1’ or ‘2’ for displaying school subjects or college subjects
respectively. If the user enters ‘2’ then again give the choice to the user to enter the
Character ‘A’ for Arts Subjects, ‘C’ for Commerce Subjects & ‘S’ for Science subjects
and display the subjects accordingly. Use appropriate statements.
ASSIGNMENT 7 :
A. Write a java program to calculate the factorial of a number; display the number
along with its factorial result.
D. Write a program to take input any number. check the number is a PALPRIME number
or not , Def : A number is said to be palprime if the number is a palindrome and prime
. Example 131
ASSIGNMENT 8:
ASSIGNMENT 9 :
A. Write a java program to check whether a number is a palindrome number or not.
Note : A palindrome number is a number that is same after reverse. For example 545, 151, 34543,
343, 171, 48984 are the palindrome numbers. It can also be a string like LOL, MADAM etc.
Note : Duck number is another special positive non-zero number that contains zero in it. The
digit zero should not be presented at the starting of the number. Zero can be present at any of the
positions except the beginning of the number. E.g.: 001220, 124058, 8050, etc.
ASSIGNMENT 10 :
Write a java program to display Fibonacci series up-to 15
terms. e.g. 0, 1, 1, 2, 3, 5, 8, 13
Note : In fibonacci series, next number is the sum of previous two numbers,
for example 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55….,etc.
The first two numbers of fibonacci series are 0 and 1.
ASSIGNMENT 11:
Write a java program for displaying all the Armstrong numbers between 0 – 1000.
Note : An Armstrong number is a positive m-digit number that is equal to the sum of the
mth powers of their digits. It is also known as pluperfect, or Plus Perfect,
or Narcissistic number.
For Example :
153: 13 + 53 + 33 = 1 + 125+ 27 = 153
125: 13 + 23 + 53 = 1 + 8 + 125 = 134 (Not an Armstrong Number)
ASSIGNMENT 12 :
Write a program to display the following star patterns using two different java methods.
* *****
** ****
*** ***
**** **
***** *
ASSIGNMENT 13 :
A. Write a program to display the following star pattern.
*
* *
* * *
* * * *
* ** * *