Trending ▼   ResFinder  

ICSE Class X Prelims 2021 : Computer Applications (Niraj Public School (NPS), Hyderabad)

5 pages, 5 questions, 0 questions with responses, 0 total responses,    0    0
Jyostna M
  
+Fave Message
 Home > jyothsna77 >   F Also featured on: School Page

Formatting page ...

NIRAJ PUBLIC SCHOOL PREFINAL I NOV - 2020-21 COMPUTER APPLICATIONS CLASS: 10 TIME: 2 hrs. MARKS: 100 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 only. Answer 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 (40 marks) Attempt all the questions QUESTION NO 1:- a) i)What is the difference between int and Integer. ii) Write the java expression for + b) What will be the output double a=10.0; double b=5.5; a=a+ a++ +--a+ --a + b++; System.out.println(a); System.out.println(b); c) State the output of the following program segment: int i=1; int s[ ]={2, 4, 6, 7, 8, 9, 10}; while(i<s.length) { System.out.println(s[i]+1); if(i< s.length-3) s[i+1]++; i++; } d) Differentiate between static and non static data members. e) Differentiate between compareTo( ) and equals( ). QUESTION NO 2:- (2) (2) (2) (2) (2) a) How many times will the following loop execute? What value will be returned? (2) int x=2, y=50; while(x<=10) { ++x; y =x++; } return y;

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

 

jyothsna77 chat