ASSOCIATION OF ODISHA ICSE SCHOOLS
ICSE MODEL EXAMINATION - 2025
COMPUTER APPLICATIONS
Maximum Marks: 100
Time allowed: Two hours
Answer 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 the questions are given in brackets[ ].
SECTION A (40 MARKS)
(Attempt all questions from this Section.)
Question 1 [20]
Choose the correct answers to the questions from the given options.
(Do not copy the questions, write the correct answers only.)
(i)
Name the feature of java depicted in the above picture.
(a) data abstraction
(b) inheritance
(c) encapsulation
(d) polymorphism
(ii) A method with the same name as of the class and with arguments and no return
data type is termed as:
(a) parameterized constructor
(b) default constructor
(c) non parameterized constructor
(d) wrapper class method
(iii) The logical operator which is a unary operator:
(a) &&
(b) ||
(c) >>
(d) !
(iv) The Scanner in java is a ____ class:
(a) primitive
(b) utility
(c) Wrapper
(d) Derived
Page 1 of 5
(v) Math.pow (625,0)+Math.sqrt(144) is:
(a) 37.0
(b) 13
(c) 17
(d) 13.0
(vi) The array char c[]={‘a’,’e’,’i’,’o’,’u’}; occupies:
(a) 20 bytes
(b) 16 bytes
(c) 2 bytes
(d) 10 bytes
(vii) The output of “Examinations”.substring(5,11) is:
(a) nations
(b) ination
(c) nation
(d) inations
(viii) Name the type of error if any if any occurs for the following statement:
System.out.print(Math.sqrt(24-25));
(a) no error
(b) syntax error
(c) runtime error
(d) logical error
(ix) Corresponding wrapper class for float data type is:
(a) FLOAT
(b) float
(c) Float
(d) Floating
(x) The blue print that defines the variables and the methods common to all of a certain kind is
termed as:
(a) method
(b) package
(c) class
(d) object
(xi) The output of the statement “CONCATENATION”. indexOf(‘A’) is:
(a) 4
(b) 5
(c) 8
(d) 9
(xii) int x=100; char ch=(char)x;
What is the value of ch?
(a) D
(b) a
(c) A
(d) d
(xiii) Which of the following data type cannot be used with switch case construct?
(a) double
(b) char
(c) String
(d) int
Page 2 of 5
(xiv) Method which reverses a given number is:
(a) constructor
(b) destructor
(c) pure method
(d) impure method
(xv) An array element is accessed using:
(a) a first-in-first-out-approach
(b) the dot operator
(c) an element name
(d) an index number
(xvi) Assertion : A class can have multiple constructors
Reason : Multiple constructors are defined with same set of parameters
(a) both Assertion and Reason are true
(b) both Assertion and Reason are false
(c) Assertion is false and Reason is true
(d) Assertion is true and Reason is false
(xvii) A child wanted to calculate the sum of two numbers stored as x and y multiplied
By 7. Select the appropriate statement:
(a) x*y+7
(b) x+(y*7)
(c) y*x*7
(d) (x+y)*7
(xviii) Which of the following is a valid initialization statement?
(a) String x=’Good’
(b) int z =(int)(25.5)
(c) int y =25.5/2
(d) boolean a=False
(xix) What is the output of the java code given below?
String fruits[]={“APPLE”,”ORANGES”,”KIWI”,”BANANA”};
System.out.print(fruits[3].length());
(a) 4
(b) 6
(c) 5
(d) 7
(xx) for(i=1;i<=2;i++){
for(j=1;j<=4;j++)
System.out.println(j*2);}
How many times the inner loop will be executed?
(a) 4 times
(b) 8 times
(c) 2 times
(d) 16 times
Question 2
(i) Write java expression for: [2]
|x+y|/(x+y)10
(ii) Evaluate the expression: [2]
3*6%5*4/2*7%5
(iii) Name the following: [2]
(a) Keyword to access the classes of a package.
(b) A character method that checks whether a character is an alphabet or a number.
Page 3 of 5
(iv) String st=”4.40”;String st1=”5.60”; [2]
double d = Double.parseDouble(st);
double d1=Double.parseDouble(st1);
int x=(int)(d+d1);
What is the value of x?
(v) Evaluate the expression when a is 4: [2]
a+=a++*++a%2
(vi) Re-write the following code using for loop: [2]
int m=10,n=5;
while(m<=20)
m++;
n++;
System.out.println(m+n);
(vii) Re-write the following code using conditional operator: [2]
if(x>y)
c=’a’;
else
c=’b’;
(viii) Differentiate between implicit and explicit type conversion, with suitable example. [2]
(ix) if int x[]={4,3,7,8,9,10}; [2]
What are the values of p and q ?
(a) p=x.length-6
(b) q=x[2]+x[5]*x[1]
(x) Consider the following two dimensional array and answers the questions given bellow: [2]
int n[][]={{2,4,6},{1,3,5},{3,5,7},{2,8,10}};
(a) What is the order of the array ?
(b) What is the value of : n[1][1]+n[2][2]
SECTION B (60 MARKS)
(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 descriptions/mnemonic codes so that the
logic of the program is clearly depicted.
Flowcharts and algorithms are not required.
Question 3 [15]
A software company pays the annual tax of the employees to the income tax department.
Design a class Employee with the following specifications:
Class : Employee
Data members :
String pan : to store the personal account number.
String name : to store the name of the employee.
double tax_income : to store the annual taxable income.
double tax : to store the calculated tax.
Member functions :
void input() : to input pan ,name and tax_income using scanner class functions.
Page 4 of 5
void calculate() : to calculate tax of the employee as per the following criteria.
Annual taxable income Tax rate
up to ₹500000 no tax
₹500001 to ₹1000000 10% of income exceeding ₹500000
₹1000001 to ₹3000000 ₹5000 + 20% of the income exceeding ₹1000000
Above 3000000 ₹10000 + 30% of the income exceeding ₹ 3000000
void print() : to display the details of the employee along with the tax to be paid.
void main() : to create an object of the class and invoke the methods.
Question 4 [15]
Define a class to overload a method series() as follows:
void series(int x , int n) - to display the sum of the series given below
x1 + x3 + x5 +……… xn
void series(int p) - to display the series as follows
0 7 26 63 ….. up to p terms
double series() - to calculate and return the sum of the series given below
1/2 + 4/3 + 5/6 + 8/7 + 9/10
Question 5 [15]
Anjel designs a program to check the strength of a password. A password is string of characters.
A strong password should satisfy the following conditions.
Length of the password should be at least 12 characters
Should at least have 4 uppercase letters , 4 lower case letters, 2 digits and 2 special characters
Define a class password and check whether the password is strong or not.
Question 6 [15]
Define a class to accept the values into a 5x4 array then calculate and print the sum of
the individual columns.
Question 7 [15]
Define a class to store the given countries into a single dimensional array.
Sort the countries in alphabetical order using bubble sort technique.
NEPAL, INDIA, BHUTAN, SRILANKA, AFGHANISTAN
Question 8 [15]
A tech number has an even number of digits. If the number split into two equal halves, then the
square of sum of these halves is equal to the number it self. Write a program to check a number
s a tech number or not.
Example : if n = 3025
Square of sum of the halves of 3025 = (30+25)2
= (55)2
= 3025
Hence 3025 is a tech number.
*******
Page 5 of 5