(English Medium)
Academic Year: 2024-2025
Date & Time: 19th March 2025, 11:00 am
Duration: 2h
Advertisements
- Answers to this Paper must be written on the paper provided separately.
- You will not be allowed to write during the first 15 minutes.
- This time is to be spent in reading the question paper.
- The time given at the head of this Paper is the time allowed for writing the answers.
- This Paper is divided into two Sections.
- Attempt all questions from Section A and any four questions from Section B.
- The intended marks for questions or parts of questions are given in brackets[ ]
Character class methods are found in the package called ______.
java.util
java.lang
java.awt
java.io
Chapter:
System.out.println(‘Z’+32); will display ______.
z
Z
122
154
Chapter:
double x [ ]={2.5,4.5,5.5,6.4}; occupies ______ bytes.
16
4
8
32
Chapter:

Consider the Two dimensional array P[2][3], of peripherals (input/output devices) given above, state the index of the device Barcode Scanner.
P[1][1]
P[0][1]
P[1][2]
P[0][0]
Chapter:
Which of the following is user defined data type?
1. array |
3. class |
2. double |
4. boolean |
only 1
1 and 3
only 2
only 4
Chapter:
Select the infinite loop:
for(int i=1;i<=10;i++)
for(int i=2; i!=0 ;i-=3)
for(int i=5 ;i<=5;i++)
for(int i =1;i>=1; i - -)
Chapter:
The output of Math.max(−7, Math.min(−5,−4)) is ______.
−5
−4
−7
error
Chapter:
Which of the following is true for the given object creation statement? Game cricket = new Game( );
Game is an object of cricket class
New keyword creates object Game
Game is a class and cricket is an object
Game and cricket are objects
Chapter:
Post office is an example for ______ access specifier.
public
local
protected
private
Chapter:
Assertion (A): In switch case break statement avoids fall through.
Reason (R): break statement helps to execute only one case at a time.
Both (A) and (R) are true and (R) is a correct explanation of (A).
Both (A) and (R) are true and (R) is not a correct explanation of (A).
(A) is true and (R) is false.
(A) is false and (R) is true.
Chapter:
Advertisements
A physical education teacher asks the students to do the side stretch as shown below, 10 times. Which programming construct the teacher uses?

if
switch
for
if else if
Chapter:
The index (subscript) of the last element of an array ar[ ] is ______.
ar.length( )
ar[ ].length
ar.length()-1
ar.length-1
Chapter:
Assertion (A): A clock is a real-life example of nested loops.
Reason (R): The hour hand moves through 12 positions, while the minute hand moves through 60 positions within each hour.
Both (A) and (R) are true and (R) is a correct explanation of (A).
Both (A) and (R) are true and (R) is not a correct explanation of (A).
(A) is true and (R) is false.
(A) is false and (R) is true.
Chapter:
Which of the following pairs of methods will cause a compile-time error due to incorrect method overloading?
void test(int a, int b) and void test(double a, double b)
void test(int a, double b) and void test(double a, int b)
void test(int a, double b) and void test(int a)
void test(int a) and int test(int a)
Chapter:
Consider the program segment:
int p=0;
for(p=4 ; p>0 ; p- =2);
System.out.print(p);
System.out.println(p);
The above statements will display:
42
4200
0
0
00
Chapter:
System.out.println("I said,\“It\'s wise to obey elders.\””);
The output of the above statement is:
I said,‘It is wise to obey elders.’
I said, “It’s wise to obey elders.”
I said,It’s wise to elders.
“'It's wise to obey elders.'”
Chapter:
What is the output of the statement given below?
“ANGER”.compareTo(“ANGEL”)3
−6
6
0
Chapter:
Consider the following program segment in which the statements are jumbled. Choose the correct order of statements to calculate and return the factorial of 4.
for (k=1; k<=4; k++) →1
return fa; →2
long fa = 1, k; →3
fa*=k; →41, 2, 3, 4
3, 1, 4, 2
3, 1, 2, 4
1, 3, 2, 4
Chapter:
Write the java expression to find the product of square root of P and the square root of Q using the methods of Math class.
Chapter:
Write the output of the following String method:
String x= “ talent” ; String y=”matrix” ;
System.out.print(x.substring(3).concat(y.substring(3)));Chapter:
Write the Java statement for creating an object named ‘sifra’ of the class ‘Robot’, which takes three double parameters.
Chapter:
Convert the given loop into exit controlled loop.
int a,b;
for ( a=10,b=1; a>=1 ;a-=2)
{
b+=a;
b++;
}
System.out.print(b);Chapter:
Advertisements
Consider and give the output of the following program:
class report
{ int a,b;
report()
{ a=10;
b=15;
}
report(int x, int y)
{ a=x;
b=y;
}
void print()
{ System.out.println(a*b);
}
static void main()
{ report r = new report();
r.print();
report p = new report(4, 5);
p.print();
}
}Chapter:
Name one String method which results in positive integer only.
Chapter:
Name one String method which results in a character.
Chapter:
John was asked to write a Java code to calculate the surface area of a cone, the following code was written by him:
Surface area of cone is A = πrl `l = sqrt(r^2 + h^2)`
class area
{ double area (double r, double h)
{ double l, a;
a=22.0/7*r*l;
l=Math.sqrt(r*r+h*h);
return a;
}
}
Specify the type of the error in the above program, correct and write the program to be error free.
Chapter:
Consider the following array and answer the questions given below:
int a[ ] = {12,10,8,4,6,2,3,5,7}
What is the output of System.out.print(a[0]+a[5]);?
Chapter:
Consider the following array and answer the question given below:
int a[ ] = {12,10,8,4,6,2,3,5,7}
What is the index (subscript) of the largest element of the array a[ ]?
Chapter:
Write the Java statement to initialise the first 6 odd numbers in a 3 × 2 array. What is the result of x[0][1] + x[2][1] of the above array?
Chapter:
Give the output of the following program segment and specify how many times the loop is executed.
String s = “JAVA”;
for(i=0;i<s.length();i+=2)
System.out.println(s.substring(i));Chapter:
Define a class named CloudStorage with the following specifications:
Member Variables:
int acno– stores the user's account number.int space– stores the amount of storage space in GB purchased by the user.double bill– stores the total price to be paid by the user.
Member Methods:
void accept()– prompts the user to input their account number and storage space using Scanner class methods only.void calculate()– calculates the bill total price based on the storage space purchased using the pricing table provided:
Storage range Price per GB (Rs) First 15 GB 15 Next 15 GB 13 Above 30 GB 11 - void display() − displays the account number, storage space and bill to be paid.
Write a main method to create an object of the class and invoke the methods of the class with respect to the object.
Chapter:
Define a class to accept values into a 4 x 4 integer array. Calculate and print the NORM of the array.
NORM is the square root of sum of squares of all elements.
| 1 | 2 | 1 | 3 |
| 5 | 2 | 1 | 6 |
| 3 | 6 | 1 | 2 |
| 3 | 4 | 6 | 3 |
Sum of squares of elements = 1+4+1+9+25+4+1+36+9+36+1+4+9+16+36+9 = 201
NORM = Squareroot of 201 = 14.177446878757825
Chapter:
Define a class to accept a String and Print if it is a Super string or not. A String is Super if the number of uppercase letters are equal to the number of lower case letters.
[Use Character & String methods only]
Example: “COmmITmeNt”
Number of Uppercase letters – 5
Number of Lowercase letters – 5
String is a Super StringChapter:
Define a class to initialise the following data in an array.
Search for a given character input by the user, using the Binary Search technique.
Print “Search Successful” if the character is found otherwise print “Search is not Successful”.
‘A’, ‘H’, ‘N’, ‘P’, ‘S’, ’U’, ‘W’, ‘Y’, ‘Z’, ‘b’, ‘d’
Chapter:
Define a class to overload the method print() as follows:
void print ( ) – To print the given format using nested loops.
@#@#@
@#@#@
@#@#@
@#@#@
double print(double a, double b) – To display the sum of numbers between a and b with difference of 0.5.
e.g. if a = 1.0, b = 4.0
output is: 1.0 + 1.5 + 2.0 + 2.5 + ……………. + 4.0
int print(char ch1, char ch2) – compare the two characters and return the ASCII code of the largest character.
Chapter:
Define a class to accept a number. Check if the sum of the largest digit and the smallest digit is an even number or an odd number. Print appropriate messages.
| Sample Input: | 6425 | 3748 |
| Largest digit: | 6 | 8 |
| Smallest digit: | 2 | 3 |
| Sample Output: | Sum is even | Sum is odd |
Chapter:
Other Solutions
Submit Question Paper
Help us maintain new question papers on Shaalaa.com, so we can continue to help studentsonly jpg, png and pdf files
CISCE previous year question papers ICSE Class 10 Computer Applications with solutions 2024 - 2025
Previous year Question paper for CISCE ICSE Class 10 Computer Applications-2025 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
By referring the question paper Solutions for Computer Applications, you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of CISCE ICSE Class 10 .
How CISCE ICSE Class 10 Question Paper solutions Help Students ?
• Question paper solutions for Computer Applications will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.
