Trending ▼   ResFinder  

ICSE Class X Prelims 2026 : Computer Applications (Childrens Academy, Thakur Complex, Kandivali East, Mumbai)

7 pages, 51 questions, 0 questions with responses, 0 total responses,    0    0
Siddhant Parab
Children's Academy, Thakur Complex, Kandivali East, Mumbai
10 Science
+Fave Message
 Home > siddhant123484 >   F Also featured on: School Page

Formatting page ...

Children's Academy Group of Schools 0 Boohonl Naear Malad (E) o Ashok Nagor Kandlvll (E) o Thakur Complex Kandivlj (E) o Ohodbundor Road Thane (W) PRELIMINARY EXAMINATION 2025-26 Grade: X Date Subject: COMPUTER APPLICATIONS 05/12/2025 Youwill not Marks : 100 Time 2 hours allowed to write during thefirst IS minutes. This time is to be spent in reading question paper. The time given at the head of this paper is the time allowedfor writing lhe answers. ms B2per consists of 7 printed pages. Attemptall quesnonsfrom Section A and anyfour questionsfrom Section B. 772 intended m. Efor questions or parts of questions are given in brackets (J. SECTION A (Attemptall questionsfrom this section) Question 1 [201 Choose the correct answer to the given questionsfrom the given options. double? Which one of the following is the correct method to convert String to (i) (ii) (a) ans=String.parseDouble(double); (c) (d) ans=String.parseSfring@ouble); ans=(double)String; iterations not known. Assertion (A): A while loop is preferred when the number of Reason (R): while loop is exit controlled loop. Choose the correct option. of A. (a) Both A and R are true, and R is the correct explanation explanation of A. (b) Both A and R are true, but R is not the correct (c) (iii) A is true, but R is false. (d) A is false, but R is true. What will be the output of the following code snippet? String str = "Las_Vegas"; System.out.println(str.substring(4, 8)); (b) _Veg Vega (a) _ (c) Vega (d) Vegas / Page 1 of 7 C4TC/LDQ02S-26 Identi ' the type of the method on basis of the following (iv) prototype. public int Sum (Sample obj) (a) call by value (b) (c) call by Sample (d) call by object call by reference values is Conversion of wrapper class object to its equivalent primitive datatype (v) known as (a) (c) (vi) parsing widening (b) type casting (d) unboxing What will be the output of the following code? System.out.println( x ( x.lengthJ ); (a) Syntax Error Runtime Error No Error (c) LogicalError (vii) Stock Trading Al App continuously shows green badge till Stock price goes (b) (d) below 1000. Once stock price goes below 1000 it shows red badge and App stops. Which of the following programming construct is used to design such App? (a) switch (b) for (c) while (d) array (viii) Which of the following is not a valid variable name? (a) (c) age JOthA_E (b) $001 (d) char_ (ix) Which one of the following methods is correct to do the following conversion (x) (a) Character.toLowerCase('P') (c) char ans= "P".toLowerCase(); (d) (b) char ch=(toLowerCase)'P'; Character.convertToSmall('P') class Sample String nm= "Ajay" int age=21 ; static double height=4.3; Rajesh have created two objects of the class Sample namely "empl" and "emp2". What will be the total size in bytes will be occupied by the program? (a) 14 bytes (b) 16 bytes (c) 32 bytes (d) 40 bytes Computer Applications/Grade X/ICSE/ Preliminary Examination / Page 2 of 7 CATC/LD/202S-26 (xi) Scope of the local variables is (a) within class (b) within program (c) within round brackets (d) within method (xii) Which one of the following statements is false for the class Sample? (a) A method with name Sample(int age, String name, double height) (b) A method with name public Sarnple() (c) A method with name void Display(int n) (d) A method with name void Sample() (xiii) What is the output of the given code: double b=-15.6; double a= Math.round(Math.abs(b)); System.out.println("a = " + a); (a) (c) a = 16 a = 15.6 (b) a = 16.0 (d) a 15 (xiv) Choose the correct option if the following code snippet is rewritten using the ternary operator? if(c>d) else (c) (xv) c>d? : x=d;. Which concept is depicted in the following image? (a) Methoddeclaration (b) Method execution (c) Method overriding (d) Method overloading class 1 xlRun. (xvi) Escape sequence used to display character '\' i' (a) (c) the typecasting used in the following code snippet. (xvii) int n=lOO; double nx=Math.abs(n); (a) Implicit type casting (b) Explicit type casting (c) No type casting used (d) Default type casting Applications/Grade WICSE/ Preliminary / 3 of 7 CAIVLD202S-26 result in? (xviii)System.out.println(Math.min(-34.44,-34.45)); will (b) -34.44 (a) 34.44 (c) (d) -34.45 34.45 (xix) Which one of the following is a unary operator? (a) (d) (xx) Assertion (A) : Java program can mn on any platform that has the corresponding JVM installed in it. Reason (R) : Java is platform dependent programming language. (a) Both A and R are hue, and R is the correct explanation of A. (b) Both A and R are true, but R is not the correct explanation of A. (c) A is true, but R is false. (d) A is false, but R is ue. Question 2 [20] Answer the following: (i) Write a statement in Java to create object class program' that receives two integer arguments and one String argument. (ii) What will be the output of the following code snippet? String int arrfl=new int[str.length()l; for(int i=0; i<arr.length; i++) arr[iJ=str.charAt(i); System.out.pnntln(str.charAt(i)+ "\t" + arr[iJ ); (i ) Find the output of the following code snippet string for(int i=l; i<str.length()-l; i++) System.out.print(str.lastIndexOf(str.charAt(i))); else System.out.print(str.indexOf(str.charAt(i))); Computer ApplicatioWGrade X/ICSFJ Preliminary Examination / Page 4 of 7 CA7VLDQ02S-26 (iv) Consider the following code snippet and answer the following. int n=l, i=l; do { System.out.println("Sum" + (n+i)); { break; ) }while(i<=5); System.out.println(" n = " + n); (a) How many times the loop will be executed? (b) (v) (vi) What will be the output? Explain break and continue statements with example. Display all the array elements as per their positions after executing the following code. int 65, 77, 23, 0}; int val=lOO, i; for(i=arr.length-l; i>2; i--) arrtil=val; (vii) Evaluate and find valu bf V*iables a, b*hd x if a = 5 and b = 3, x=2 (viii) Give return type of the following functions (ix) (x) (a) Scanner.nextlnt() (b) Str.trim() (c) Math.pow() (d) Character.isLetter() State true or false for the following statements (a) ! is a logical operator (b) : ? is a conditional operator Identify the type of token for the following (a) (b) static "Integer" Applications/Gra& MCSE/ Preliminary Examination/ Page S of 7 CATC/LD/202S-26 SECTION B section.) (Answeranyfour questionsfrom this Question 3 specifications. Design a class RailwayBooking with the following Data members: tickets Count : total number of ticket Rate : basic rate of the each Name : name of the commuter Coach type of the coach Mobile : mobile number Member Methods : values. Default constructor : to initialize the data members to their default void Input() : to input the basic details void Calculate() : to calculate total amount to be paid as per the following Type of coach Extra amount per ticket First AC 700 Rs Second AC 500 Rs Third AC 250 Rs Tatkal 750Rs Sleeper None table Apply J 0% discount if total cost of all the tickets is above 10000 Add 5% GST to the final cost. void Display () : to display all the details and calculations done. Write main() method to create objectofthe class and call all the member methods. [151 Question 4 Write a program in Java to input the string. Arrange the characters in new string such a way that string begins with capital alphabet, followed by small alphabets then digits and finally special characters. Sample Input Sample Output Hello World#2025 HWelloorld2025 # Question 5 Write a Java program to accept a number from the user and display the number in words. Sample Input : 742 Sample Output: Seven Four Two ConvuterApplications/Grade X/ICSE"PreliminaryExamination/ Pcre 6 of7 CATC/LW202S-26 [15) Question 6 Write a Java program to accept the elements into 4x4 matrix. Check if the array is Diagonal array or not. An array is said to be diagonal array if sum of left diagonal is equal to sum of right diagonal. Sample Input : 3 42 S Sample Input : 1234 2523 5327 5355 4312 1371 1711 Sample Output : Sample Output : Sum of left diagonal = I I Sum of left diagonal = 6 Sum of right diagonal = I I Sum of right diagonal = 13 The array is Diagonal Array The array is not Diagonal Array Question 7 (151 Write a java program to Overload the function Print() as follows. void Print() : will display the following pattern. (i) void Print(int n l, int n2) :lwill calculate and display the sum of following series If n 1=50 and n2=10 + .10 +45 + 40 + (iii) Note : only add multiple 5 void Print(char cl, char c2) : will display the largest character with it's ASCII code. [151 Question 8 Write a program in Java to input n elements of the range I to 999 in the one dimensional array. Display the sum and count Of I digit, 2 digit and 3 digit numbers. Sample Input : Number of elements : 6 Elements : 1, 93, 154, 55, 33, 6 Sample Output : onw r Count of I Digit numbers: 2 Sum of 1 digit numbers: 7 Count of 2 Digit numbers: 3 Sum of 2 digit numbers: 181 Count of 3 Digit numbers: I Sum of 3 digit numbers: 154 tmtnary ton age

Formatting page ...

Related ResPapers
ICSE Class X Prelims 2025 : Computer Applications (St. Augustine's Day School, Kolkata)
by hiiuo 
ICSE Class X Prelims 2025 : Computer Applications (Karnataka ICSE Schools Association KISA, Bengaluru)
by varenya_s 
ICSE Class X Prelims 2026 : Computer Applications (St. Joseph's Academy, Dehradun)
by doondentist 
ICSE Class X Prelims 2026 : Computer Applications (Karnataka ICSE Schools Association KISA, Bengaluru)
by pruthvi98 

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

 

siddhant123484 chat