Trending ▼   ResFinder  

ICSE Class X Prelims 2024 : Computer Applications - The Bishop's School Kalyani Nagar

5 pages, 70 questions, 0 questions with responses, 0 total responses,    0    0
Aryaki Mishra
The Bishop's School, Camp, Pune
Commerce
+Fave Message
 Home > aryaki73 >

Formatting page ...

The Bishop's Co-Ed School, Kalyani Nagar Pune First Preliminary Examination 2023 - 2024 Computer Applications Class: 10 Total Marks: 100 Reading Time: 15 Minutes Writing Time: 2 Hours Date: 08.11.2023 Answer to this paper must be witten on the paper provided separately. You will not to be alowed to write during the irst 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. SECTION-A (Attempt all questionsfrom this Section) Question 1 Choose the correct answer to the questions from the given options. i. Which of the following is the correct prototype for the function 'check' which receives the character ch and an integer n and returns true or false. a. public int check (char ch, int n) b. public boolean Check (char ch, int n) c.. public boolean to check (char ch, integer n) public boolean check (char ch, int n) i. Identify the correct output of the following Java code. String a="10", b="20": int x=Integer.parselnt(a); int y=Integer.valueOf(b); System.out.printin(x+y): System.out.printin(a+b); a. 30 1020 b. 1020 1020 C. 1010 30 d. 30 2010 Choose the correct output of the following Java code. int x= 30; int y= 50; while( ++x < -y); System.out.printin(x); a. 80 b. 39 C. 40 t iv. [20] 41 "One thing in many different forms goes with which 00PS concept? Polymorphism b. Encapsulation C. Abstraction d. Inheritance Identify the correct output of the following Java code. int arr[] = {1, 2, 3, 4, 5}; for ( int i= 0; i <ar.length - 2; ++i) System.out.print(arr[i] +" "); a. 1 2 3 4 J. 1 2 C. 1 d. 12 3 1

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

aryaki73 chat