Trending ▼   ResFinder  

ICSE Class X Prelims 2026 : Computer Applications (Greenwood High International School, Bengaluru)

7 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
Srimitha Govindaraj
Greenwood High International School, Bengaluru
+Fave Message
 Home > srimig >   F Also featured on: School Page

Formatting page ...

GREENWOOD HIGH SCHOOL, BANNERGHATTA REVISION TEST (2025-26) SUBJECT: COMPUTER APPLICATIONS (Group III Elective) GRADE: X DATE: 23 01 2026 DURATION: 50 MIN MAX. MARKS: 40 Answers to this paper must be written on the paper provided separately. The time given at the head of this paper is the time allotted for writing the answers. This paper is divided into two sections. You are to answer all questions from Section A, any two questions from Section B. The intended marks for the questions or parts of questions are given in brackets []. This paper consists of 7 printed pages. SECTION A (Attempt all questions from this Section.) Question 1 [20] Choose the correct answer from the given options and write the correct answer along with the option. (i) Identify the OOP concept depicted in the picture. (a) Polymorphism (b) Inheritance (c) Data encapsulation (d) Modularity (ii) The number of bits occupied by the value 56.78 are: (a) 32 bits (b) 16 bits (c) 64 bits (d) 8 bits (iii) The correct statement to create an object rectangle of a class Shape which takes two integer parameters is (a) Shape rectangle = new Shape(int a,b); (b) Shape rectangle = new Shape(int a, int b); (c) rectangle = new Shape(x,y); (d) Shape rectangle = new Shape(x,y); Page 1 of 7 (iv) Assertion(A): Abstraction is a process of exposing the implementation details of an object. Reason(R): Abstraction allows you to focus on what an object does rather than how it is implemented. It helps in managing complexity. (a) Both Assertion(A) and Reason(R) are true, and Reason(R) is the correct explanation for assertion. (b) Both Assertion(A) and Reason(R) are true, and Reason(R) is not the correct explanation for assertion. (c) Assertion(A) is false, and Reason(R) is true. (d) Assertion(A) is true, and Reason(R) is false. (v) What will be the value of a after evaluating the following expression when a = 6, b = 3, c = 2. a %= b + c++ +b + c; (a) 6 (b) 9 (c) 10 (d) 8 (vi) The access of maintenance details of vehicles, allowed only to registered service companies associated with a manufacturer, is an example of __________ access specifier. (a) private (b) protected (c) public (d) default (vii) The number of values that a method can return is: (a) 4 (b) 3 (c) 2 (d) 1 (viii) The keyword used to resolve the conflict between method parameters and instance variables (a) dot (b) static (c) new (d) default Page 2 of 7 (ix) System.out.println(Math.ceil(-7.25) + " and " + Math.floor(-7.25)); results in, (a) 7 and 7 (b) 8 and 7 (c) 7 and 8 (d) 8 and 8 (x) Security personnel are assigned to 5 entrances of a stadium, and at each entrance, they inspect all the people entering. Which programming concept does this scenario represent? (a) Nested loop (b) Conditional statement (c) Array (d) Inheritance (xi) In a game, 3 players play 2 rounds. The scores are stored in a 3 2 array. Initially, all scores should be 0. Which of the following Java statements correctly initializes the array? (a) int scores[][] = { 0,0,0,0,0,0 }; (b) int scores[][] = new int[3][2]; (c) int scores[][] = { {0,0}, {0,0}, {0,0} }; (d) int scores[] = { {0,0}, {0,0}, {0,0} }; (xii) Choose the odd one: (a) trim() (b) substring() (c) toUpperCase() (d) length() (xiii) Which of the following statements about static and local variables is incorrect? (a) A static variable is shared among all instances of a class, while a local variable exists only during the execution of a method. (b) A static variable is destroyed when the method in which it is declared ends, while a local variable exists for the lifetime of the program. (c) A static variable has a single copy for the class, while a local variable is created each time the method is called. (d) A static variable can have a default value, while a local variable must be explicitly initialized before use. Page 3 of 7 (xiv) Identify where autoboxing and unboxing occur in the following java code. Integer a = 5; Double b = 10.0; double c = a + b; System.out.println(c); (a) Autoboxing occurs in a + b; unboxing occurs in Integer a = 5 and Double b = 10.0. (b) Autoboxing occurs in double c = a + b; no unboxing occurs. (c) No autoboxing or unboxing occurs; everything is primitive. (d) Autoboxing occurs in Integer a = 5 and Double b = 10.0; unboxing occurs in a + b. (xv) The statement System.out.println( B + 25 + a ) results in (a) B25a (b) 188 (c) B122 (d) B2597 (xvi) The output of the following code snippet is String s = "200"; System.out.println(Double.valueOf(s) / 2); (a) 100 (b) 100 (c) 100.0 (d) 100.0 (xvii) A programmer wants to write a code segment that counts how many numbers between 1 and 50 are divisible by both 2 and 5, and then returns the count. The following statements are jumbled, return count; 1 if(i % 2 == 0 && i % 5 == 0) 2 int count = 0, i; 3 count++; 4 for(i = 1; i <= 50; i++) 5 Which of the following is the correct order of the statements? (a) 3, 5, 2, 4, 1 (b) 5, 3, 2, 4, 1 (c) 3, 2, 5, 4, 1 (d) 3, 5, 4, 2, 1 Page 4 of 7 (xviii) Predict the output the following program segment, when n = 10, switch(n) { case 10: System.out.println(n*2); case 4: System.out.println(n*4); break; default: System.out.println(n); } (a) 10 4 (b) 20 40 (c) 20, 40 (d) 10 10 (xix) Assertion(A): This keyword in Java refers to the current instance of the class. Reason(R): This keyword is a reference to the current object on which a method is being invoked. It is used to avoid naming conflicts between class attributes and method parameters. (a) Both Assertion(A) and Reason(R) are true, and Reason(R) is the correct explanation for assertion. (b) Both Assertion(A) and Reason(R) are true and Reason(R) is not the correct explanation for assertion. (c) Assertion(A) is false, and Reason(R) is true. (d) Assertion(A) is true, and Reason(R) is false. (xx) Given: for(i = 0 ; i < 4 ; i++){ for(j = 1 ; j < 4 ; j++){ if(j == 2) continue; if(i = = 2) break; System.out.println("i=" + i + ", j=" + j); }} How many times does the above nested loop iterate? (a) 4 times (b) 12 times (c) 16 times (d) 10 times Page 5 of 7 Question 2 (i) Java Virtual Machine (JVM) is called a Virtual Machine though it is an interpreter. Why? [2] (ii) Write a java expression to store the sum of variable x and variable y raised to the power 10. [2] (iii) Name the following [2] (a) Non-graphic characters used as commands to direct the cursor to perform certain operations while printing. (b) Data type to store a 12-digit ISBN number. (iv) Consider the function prototype void check(int age[]) which performs some task. Name the way of invoking the given function [2] (v) Akash is trying to calculate the number of tiles needed to cover a square area of 50 sq. meters, with each tile covering 3 sq. meters. He writes the following code System.out.println(Math.sqrt(50) / 3); However, the output he received as 2.357 but he wants the number of tiles as whole number. Write the corrected statement to produce the desired result. Also, mention the type of error in the original statement. [2] (vi) Consider the array String cities[][] = { {"Delhi", "Mumbai"}, {"Tokyo", "Kyoto"}, {"Paris"} }; What will be the output when the following statement is executed? [2] System.out.println(cities[1][0].substring(1,4) + "-" + cities[0][0].substring(2).toLowerCase()); (vii) Convert the following loop to an exit-controlled loop. [2] for(int i = 0, j = 5; i < 3 && j > 2; i++, j--) System.out.println("output= " + (i*j)); Also, give the output of the above code segment. (viii) Consider the following code snippet and predict the output. [2] String s = REASSESSMENT ; System.out.println(s.replace( SS , ** ); System.out.println(s.indexOf( S ) + s.lastIndexOf( S ) + s.indexOf( s )); (ix) Give the output of the following code segment. [2] double z[] = {0.3, 4.5, 23.0, 4.5}; System.out.println(Math.pow( (z[1]+z[3]) , 2); System.out.println(z.length); Page 6 of 7 (x) Predict the output of the following code. [2] class BankAccount { int balance; BankAccount() { balance = 2000; } BankAccount(int b) { balance = b; } void deposit(int amount) { balance += amount; } void display() { System.out.println(balance); } public static void main() { BankAccount a1 = new BankAccount(); a1.deposit(500); a1.display(); BankAccount a2 = new BankAccount(3000); a2.display(); } } ****** END OF PAPER ******* Page 7 of 7

Formatting page ...

Related ResPapers
ICSE Class X Prelims 2026 : Computer Applications (Fravashi Academy, Nashik) : Prelims
by sampro2 
ICSE Class X Prelims 2026 : Computer Applications (Childrens Academy, Thakur Complex, Kandivali East, Mumbai)
by siddhant123484 
ICSE Class X Prelims 2026 : Computer Applications (Karnataka ICSE Schools Association KISA, Bengaluru)
by janicescat 
ICSE Class X Prelims 2026 : Computer Applications (GEMS Modern Academy, Dubai)
by anirudh67 

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 


© 2010 - 2026 ResPaper. Terms of ServiceContact Us Advertise with us

 

srimig chat