Trending ▼   ResFinder  

ICSE Class X Sample / Model Paper 2025 : Computer Science

4 pages, 23 questions, 0 questions with responses, 0 total responses,    0    0
Rakesh Sarkar
  
+Fave Message
 Home > sarkar1979 >

Formatting page ...

ICSE 2023 EXAMINATION 2nd MOCK TEST QUESTION PAPER COMPUTER APPLICATIONS Maximum Marks: 100 Time allowed. Two hours 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[]. SECTION A (Attempt all questions from this Section.) Question 1 Choose the correct answer and write the correct option. [20] i) Wrapping up of data and methods together as one unit is termed as: a) Inheritance b) Polymorphism c) Encapsulation d) Abstraction ii)A method with the same name as of the class and with arguments and no return data type is termed as constructor a) parameterized b) default c) Non - parameterized d) wrapper class method iii)The element in x[4] of the array {3, 5, 7, 12, 16, 18, 20, 35, 42, 89} is: a)16 b) 12 c) 7 d) 18 iv)Name the type of error that occurs for the following statement:System.out.println(Math.sqrt(24 25)); a)Syntax error (b) run time error (c) logical error (d) no error v) The output of the method "DETERMINATION".substring(2, 6) is: a) "TERM" b) termn c) "Term" d) "TERMI" vi)variable is visible/usable within the method that it has been declared in. (a) A class b) A local (c) A primitive (d) An object vii)For the below code, give the output. String str = "It is need of the hour"; System. Out .println ("substring "hour\ ":" + str.indexof ("hour") ) ; (a) 18 (b) 19 (c) 20 (d) 21 viii)Find the output of the following code: String x[] SAMSUNG". "NOKIA", "SONY", "MICROMAX ", BLACKBERRY"}; System.out.println (x [1]); System.out.println (x [3].length () ); (a) NOKIA (b) SONY (c) BLACKBERRYY (d) MICROMAX ix)An arithmetic expression can contain a mix of: (a) Literals(b) Variables(c) Subscripted variables(d) All of these x)What does {} signifies? (a) Scope of the instance variable (b) Scope of the class variables (c) Both (a) and (b) (d) None of these xi)Which of the following is NOT a visibility mode used in the class? (a) private (b) protected (c) public (d) static xii)What is the return type of the method 'x.endsWith(String suffix)? (a) int (b) String (c) char (d) boolean xiii) What would the following code do? int index = 0; index = text.indexof ( "a'); (a) Find first index position containing *a' (b) Find last index position containing 'a' Rakesh Sir _ MOCK TEST PART 2/4

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

sarkar1979 chat