ICSE sample paper class 9 Computer: Top questions for free
ICSE sample paper Class 9 Computer (Set 3): ICSE Class 9 Computer Applications sample paper with important questions for computer exam practice.
In this ICSE sample paper class 9, all the topics of java for ICSE computer application has been covered.
Watch Java videos
ICSE sample paper class 9
Section A (40 marks)
A. Answer the following questions. [5X2=10]
1. Convert the following to the java expression.
(a4+b2)3
2. What will be the value of x if
x=10
x+=--x+x--+10;
3. What is malware, explain any one?
B. Explain the following
1. What is spam?
2. Who are hackers?
3. Explain the following
Token
Object
4. Write the output of the following [5]
Math.pow(4,3);
Math.max(Math.pow(4,2),18);
Math.min(Math.ceil(61.2),Math.floor(61.2));
Math.round(Math.sqrt(25),+1.5);
Math.PI55;
5. Expand these [5]
ISP
SMTP
JVM
FTP
TCP/IP
ICSE sample paper class 9
3. Answer the following questions [5X2=10]
1. Write the syntax of the Ternary operator.
2. Rewrite the following code with the switch case.
If(flag==0)
System.out.println(“Prime number”);
If(flag==1)
System.out.println(“Not a Prime number”);
Else
System.out.println(“Wrong input”);
3.What will be the output of the following code?
Int n=4;
System.out.println((n%2==0)?”Even”:”Odd”);
4. State the output.
{
int a;
for(a=5;a<20;a++)
{
If(a==10)
break;
System.out.println(a);
}
}
5. State the difference between = and == operator.
4. Answer the following questions
1.Explain the use of the following [3]
BufferedReader
Interger.parseInt();
br.readLine();
2.Explain what is JVM , what is byte code & source code? [3]
3.Explain the following principals of OOP [4]
Encapsulation
Abstraction
OR
1. Explain conditional control statements and looping control statement in detail whit their use supported with Syntax. [4]
Section B (60 marks)
Write JAVA Programs with Dry run and output of the program when necessary (Attempt any six) [60]
- Write a program to Display the following pattern. [10]
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
?
??
???
????
?????
2. Write a program to Display the following pattern. [10]
11111
1111
111
11
1
ICSE sample paper class 9
3. Write a program to enter roll number, 2 subject’s marks for 5 students. Calculate and print the following [10]
Roll number of student who got average >90
Roll number of student who got average <35 Write a program to print the following series. [10] 0,3,8,15,24 5 10 15 20 25 …..n
4. Write a program to print the Fibonacci series for first 10 numbers. [10] Write a program using parameterized method to accept 4 values, find and print the average of the numbers. [10]
5. Write a program to enter any limit & print the sum of the following series sum=1+X2/2+X4/4+X6/6……….+Xn/n [10]
6. Write a program to display the even and odd numbers between 1 to 100 and print their sum also. [10]
7. Write a program to enter any limit & print the sum of the following series sum=1 /2+3/4+5/6……….+n-1/n [10]
8. Write a program to ask user to enter basic salary of employee & calculate net pay. Net pay= basic salary – income tax [10]
Income tax is calculated based on following
Basic salary <20000--🡪 income tax 5% of basic salary
Basic salary >20000--🡪 income tax 10% of basic salary
class IX programs
Related Posts
Continue learning with these related articles

String Methods in Java for ICSE Class 10: 25 Output Questions with Answers
ICSE Class 10 Computer Applications practice on String class methods: length, charAt, indexOf, lastIndexOf, substring, replace, trim, compareTo, equals and more, with 25 board-style output questions and step-by-step answers.

Special Number Programs in Java for ICSE: Armstrong, Spy, Neon, Disarium, Pronic and More
Every special number asked in ICSE Computer Applications – prime, perfect, Armstrong, palindrome, automorphic, neon, spy, Niven, duck, buzz, Disarium, special and pronic numbers – with definitions, examples and one complete Java program that checks them all.

Math Library Methods in Java for ICSE Class 9 (with Outputs)
ICSE Class 9 Computer Applications notes on the Java Math class: sqrt, cbrt, pow, abs, max, min, ceil, floor, round, rint and random, with return types, tricky negative-number outputs and Java expressions for formulas.