हिंदी

Computer Applications Specimen Paper 2024-2025 (English Medium) ICSE Class 10 Question Paper Solution

Advertisements
Computer Applications [Specimen Paper]
Marks: 100 CISCE
(English Medium)

Academic Year: 2024-2025
Date: अप्रैल 2025
Advertisements
  1. Answers to this Paper must be written on the paper provided separately.
  2. You will not be allowed to write during the first 15 minutes.
  3. This time is to be spent in reading the question paper.
  4. The time given at the head of this paper is the time allowed to write the answers.
  5. This Paper is divided into two Sections.
  6. Attempt all questions from Section A and any four questions from Section B.
  7. The intended marks for questions or parts of questions are given in brackets [ ].

SECTION A (Attempt all questions from this Section.)
[20]1 | Choose the correct answers to the questions from the given options. (Do not copy the question, write the correct answers only.)
[1]1.i

Name the above structure:

One dimensional array

Two Dimensional array with 4 rows and 5 columns

Three dimensional array

Two Dimensional array with 5 rows and 4 columns

Concept: undefined - undefined
Chapter:
[1]1.ii

"Java compiled code (byte code) can run on all operating systems" - Name the feature.

Robust and Secure

Object Oriented

Platform Independent

Multithreaded

Concept: undefined - undefined
Chapter: [0.0105] Introduction to Java
[1]1.iii

The size of '\n' is ______.

2 bytes

4 bytes

8 bytes

16 bytes

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.iv

Identify the operator that gets the highest precedence while evaluating the given expression:

a + b % c * d - e

+

%

-

*

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.v

Which of the following is a valid java keyword?

If

BOOLEAN

Static

Switch

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.vi

The output of the following code is ______.

System.out.println(Math.ceil(6.4)+Math.floor(-1-2));

3.0

4

3

4.0

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.vii

Which of the following returns a String?

length()

charAt(int)

replace(char, char)

indexOf(String)

Concept: undefined - undefined
Chapter:
[1]1.viii

Which of the following is not true with regards to a switch statement?

Checks for an equality between the input and the case labels

Supports floating point constants

Break is used to exit from the switch block

Case labels are unique

Concept: undefined - undefined
Chapter: [0.0108] Conditional Statements in Java
[1]1.ix

Consider the array given below:

char ch[]={'A','E','I','O','U'};

Write the output of the following statements:

System.out.println(ch[0]*2);;

65

130

'A'

0

Concept: undefined - undefined
Chapter: [0.04] String Handling
[1]1.x

To execute a loop 10 times, which of the following is correct?

for (int i=11;i<=30;i+=2)
for (int i=11;i<=30;i+=3)
for (int i=11;i<20;i++)
for (int i=11;i<=21;i++)
Concept: undefined - undefined
Chapter: [0.0109] Iterative Constructs in Java
[1]1.xi

A single dimensional array has 50 elements; which of the following is the correct statement to initialize the last element to 100?

x[51]=100

x[48]=100

x[49]100

x[50]=100

Concept: undefined - undefined
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
Advertisements
[1]1.xii

Method prototype for the method compute which accepts two integer arguments and returns true/false.

void compute (int a, int b)

boolean compute (int a, int b)

Boolean compute (int a,b)

int compute (int a, int b)

Concept: undefined - undefined
Chapter: [0.05] User - Defined Method
[1]1.xiii

The statement that brings the control back to the calling method is ______.

break

System.exit(0)

continue

return

Concept: undefined - undefined
Chapter: [0.05] User - Defined Method
[1]1.xiv

The default value of a boolean variable is ______.

False

0

false

True

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.xv

The method to convert a lowercase character to uppercase is ______.

String.toUpperCase( )

Character.isUppercase ( char )

Character.toUpperCase( char )

toUpperCase ( )

Concept: undefined - undefined
Chapter: [0.02] Library Classes
[1]1.xvi

Assertion (A): Integer class can be used in the program without calling a package.

Reason (R): It belongs to the default package java lang.

Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).

Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).

Assertion (A) is true and Reason (R) is false.

Assertion (A) is false and Reason (R) is true.

Concept: undefined - undefined
Chapter: [0.0105] Introduction to Java
[1]1.xvii

A student executes the following code to increase the value of a variable 'x' by 2.

He has written the following statement, which in incorrect.

x=+2;

What will be the correct statement?

  1. x+=2;
  2. x=2
  3. x=x+2;

Only A

Only C

All the three

Both A and C

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.xviii

The statement used to find the total number of Strings present in the string array String s[] is ______.

s.length

s.length()

length(s)

len(s)

Concept: undefined - undefined
Chapter:
[1]1.xix

Consider the following program segment in which the statements are jumbled, choose the correct order of statements to swap two variables using the third variable.

void swap(int a, int b)
{       a=b;      -> (1)
        b=t;           -> (2)
        int t=0;  -> (3)
        t=a;      -> (4) 
}

(1) (2) (3) (4)

(3) (4) (1) (2)

(1) (3) (4) (2)

(2) (1) (4) (3)

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.xx

Assertion(A): An argument is a value that is passed to a method when it is called.

Reason(R): Variables which are declared in a method prototype to receive values are called actual parameters.

Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).

Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).

Assertion (A) is true and Reason (R) is false.

Assertion (A) is false and Reason (R) is true.

Concept: undefined - undefined
Chapter: [0.05] User - Defined Method
[20]2
[2]2.i

Rewrite the following code using single if statement.

if(code=='g')
System.out.println("GREEN");
else if(code=='G')
System.out.println("GREEN");
Concept: undefined - undefined
Chapter: [0.0108] Conditional Statements in Java
[2]2.ii

Evaluate the given expression when the value of a=2 and b=3

b*=a++-++b+ ++a;
System.out.println("a="+a);
System.out.println("b="+b);
Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
Advertisements
[2]2.iii

A student executes the following program segment and gets an error. Identify the statement which has an error, correct the same to get the output as WIN.

boolean x=true;
switch(x)
{     case 1:System.out.println("WIN");break;
      case 2;System.out.println("LOOSE");
}
Concept: undefined - undefined
Chapter: [0.0108] Conditional Statements in Java
[2]2.iv

Write the java expression for `root3x + sqrty`

Concept: undefined - undefined
Chapter: [0.010700000000000001] Mathematical Library Methods
[2]2.v

How many times will the following loop execute? Write the output of the code:

int x=10;
while(true) {
System.out.println(x++*2);
if(x%3==0)
break;
}
Concept: undefined - undefined
Chapter: [0.0109] Iterative Constructs in Java
[2]2.vi

Write the output of the following String methods:

String x="Galaxy",y="Games";
(a)  System.out.println(x.charAt(0)==y.charAt(0));
(b)  System.out.println(x.compareTo(y));
Concept: undefined - undefined
Chapter: [0.04] String Handling
[2]2.vii

Predict the output of the following code snippet:

char ch='B';
char chr=Character.toLowerCase(ch);
int n=(int)chr-10;
System.out.println((char)n+"\t"+chr);
Concept: undefined - undefined
Chapter: [0.02] Library Classes
[2]2.viii

A student is trying to convert the string present in x to a numerical value, so that he can find the square root of the converted value, However the code has an error. Name the error (syntax/logical/runtime). Correct the code so that it compiles and runs correctly.

String x="25";
int y=Double.parseDouble(x);
double r=Math.sqrt(y);
System.out.println(r);
Concept: undefined - undefined
Chapter: [0.02] Library Classes
[2]2.ix

Consider the following program segment and answer the questions below:

class calculate
{
     int a;double b;
     calculate()
     {
     a=0;
     b=0.0;
     }
     calculate(int x, double y)
     {
     a=x;
     b=y;
     }
   void sum()
   {
     System.out.println(a*b);
}}

Name the type of constructors used in the above program segment.

Concept: undefined - undefined
Chapter: [0.07] Constructors
[2]2.x

Consider the following program segment and answer the questions given below:

int x[][]={{2,4,5,6}, {5,7,8,1}, {34,2,10,9}};
  1. What is the position of 34?
  2. What is the result of x[2][3] + x[1][2]?
Concept: undefined - undefined
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
SECTION B (Answer any four questions from this Section.) ‘The answers in this section should consist of the programs in either BlueJ environment or any program environment with Java as the base. Each program should be written using variable description/mnemonic codes so that the logic of the program is clearly depicted. Flowcharts and algorithms are not required.
[15]3

Define a class with the following specifications:

Class name: Bank

Member variables:

double p - stores the principal amount

double n - stores the time period in years

double r - stores the rate of interest

double a - stores the amount

member methods:

void accept () - input values for p and n using Scanner class methods only.

void calculate () - calculate the amount based on the following conditions:

Time in (Year) Rate %
Upto `1/2` 9
>`1/2` to 1 year 10
> 1 to 3 year 11
> 3year 12

`a = p (1+r/100)^n`

void display () - display the details in the given format.

Principal Time Rate Amount
xxx xxx xxx  xxx

Write the main method to create an object and call the above methods.

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[15]4

Define a class to search for a value input by the user from the list of values given below. If it is found display the message "Search successful", otherwise display the message "Search element not found” using Binary search technique.

5.6, 11.5, 20.8, 43.1, 52.4, 66.6, 78.9, 80.0, 95.5.

Concept: undefined - undefined
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
[15]5

Define a class to accept a string and convert the same to uppercase, create and display the new string by replacing each vowel by immediate next character and every consonant by the previous character. The other characters remain the same.

Example: Input: #IMAGINATION@2024

                Output: #JLBFJMBSJPM@2024 

Concept: undefined - undefined
Chapter: [0.02] Library Classes
[15]6

Define a class to accept values into a 4 × 4 array and find and display the sum of each row.

Example:

A[][]={1,2,3,4),{5,6,7,8},{1,3,5,7},{2,5,3,1}}

Output:

sum of row 1=10 (1+2+3+4)

sum of row 2=26 (5+6+7+8)

sum of row 3=16 (1+3+5+7)

sum of row 4=11 (2+5+3+1)

Concept: undefined - undefined
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
[15]7

Define a class to accept a number and check whether it is a SUPERSPY number or not. A number is called SUPERSPY if the sum of the digits equals the number of the digits.

Example1:

Input: 1021

Output: SUPERSPY number [SUM OF THE DIGITS = 1+0+2+1 = 4, NUMBER OF DIGITS = 4]

Example2:

Input: 125

Output: Not an SUPERSPY number [1+2+5 is not equal to 3]

Concept: undefined - undefined
Chapter: [0.0109] Iterative Constructs in Java
[15]8

Define a class to overload the method display() as follows:

void display(): To print the following format using nested loop.

1 2 1 2 1

1 2 1 2 1

1 2 1 2 1

void display (int n, int m): To print the quotient of the division of m and n if m is greater than n otherwise print the sum of twice n and thrice m. double display (double a, double b, double c) - to print the value of z where

z = p × q

`p=(a+b)/c`    q = a + b + c

Concept: undefined - undefined
Chapter: [0.05] User - Defined Method

Submit Question Paper

Help us maintain new question papers on Shaalaa.com, so we can continue to help students




only jpg, png and pdf files

CISCE previous year question papers ICSE Class 10 Computer Applications with solutions 2024 - 2025

     CISCE ICSE Class 10 Computer Applications question paper solution is key to score more marks in final exams. Students who have used our past year paper solution have significantly improved in speed and boosted their confidence to solve any question in the examination. Our CISCE ICSE Class 10 Computer Applications question paper 2025 serve as a catalyst to prepare for your Computer Applications board examination.
     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.
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×