Trending ▼   ResFinder  

ICSE Class X Prelims 2019 : Computer Applications

2 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
Annhaliator
City Montessori High School (CMS), Rajendra Nagar Campus 2, Lucknow
+Fave Message
 Home > laxyone >

Formatting page ...

Downloaded from www.studiestoday.com COMPUTER APPLICATONS (THEORY) (Two Hours) This paper is divided into two sections. You are to 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 questions. Question 1 (a) (b) (c) (d) (e) State the difference between double and Double. What is continue in while statement. What do you mean by keyword? What is meant by a finite loop? Give an example. State the difference between equals & compareTo. [2] [2] [2] [2] [2] Question 2 [4] to da y. co m (a) Name the following i) A package name which have Math class in it. ii) A function that returns index of first occurrence of a specified character. iii) A function to extract a part of string. iv) OOPs principal that implement data hiding. (b) What do you mean by Wrapper class? (c) Which of these are valid integers constant? -400 3,000 045 2.00 +50 090 X12 0XAB Question 3 [2] [4] 4.1 x 102 [2] [2] [4] w w w .s tu di es (a) Distinguish between char and String . (b) Which of these are valid real constant. -2.15 2,200.25 2E2 5.12 2E 3.10F 1.2E2.1 (c) What do you mean by nested if explain with syntax. (d) Find the value of z in the following program segment. int y = 12, z; (i) z = y<<2 (ii) z = y>>1 (e) if String x = Computer , y = Applications ; What do the following functions return for? i) x.equalsIgnoreCase(y); ii) y.indexOf( T ,3); iii) x.length( ) + y.length( ); iv) y.substring(4,9); [2] [4] (f) Rewrite the following code using switch statement. if ( x == 5) { y = y 5; System.out.println( Value of y = + y ); } else if ( x == 10) { y = y 10; System.out.println( Value of y = + y ); } else { y = y 15; System.out.println( Value of y = + y ); } (g) Difference between entry & exit controlled loop. Downloaded from www.studiestoday.com [4] [2]

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : ctet  

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

 

laxyone chat