Trending ▼   ResFinder  

ICSE Class X Prelims 2020 : Computer Applications (Unison World School (UWS), Dehradun)

3 pages, 4 questions, 0 questions with responses, 0 total responses,    0    0
Amrita Pandey
Unison World School (UWS), Dehradun
+Fave Message
 Home > amritapandey1 >   F Also featured on: School Page

Formatting page ...

UNISON WORLD SCHOOL, DEHRADUN 1st Preliminary Examination (2019-2020) Computer Applications Theory: X Time:2 hrs Max Marks: 100 Instructions: Reading Time is 15 min. 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 (40 Marks) (Attempt all questions) Q.1 (a) (b) (c) (d) (e) Q.2 (a) [2] [2] [2] [2] [2] Consider the following data type and answer the following: String word= UTTARAKHAND (i) A function to convert the string into small letters. (ii) A function to find the number of characters present in the string. (iii) A function to take out the last character. (iv) Write a statement to get a new string as AKHANDBHARAT . What is the role of try and catch? Give an example. Write one difference between if else and switch case.. State the differences between static and non static data member in a class. [4] What will be the output of the following program segments ? i) String s = "application"; int p=s.indexOf( a ); System.out.println(p); System.out.println(p+s); ii) String st = NEWSTAR System.out.println(st.indexOf(st.charAt(5)) iii) int a=10; if(a>10 && a<20) a++; else a--; System.out.println(a); [2] (b) What will be the output of the following code ? int a=10; int b=15; while(++a< --b) System.out.println(b); System.out.println(a); [2] (c) What is the result produced by 4 10 * 3 + 200/12 ? Show the steps. [2] (b) (c) (d) Q.3 State the differences between: binary operator and ternary operator for loop and do while loop System.in and System.out equals( ) and compareTo( ) Actual parameter and Formal parameter (a) [2] [2] [2] [2] [2]

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

amritapandey1 chat