Trending ▼   ResFinder  

ICSE Prelims 2017 : Computer Applications (Stanes ICSE School, Coimbatore)

3 pages, 25 questions, 23 questions with responses, 43 total responses,    0    0
stanes,  Coimbatore 
+Fave Message
 Home > nskstanes >   F Also featured on: School Page

Formatting page ...

Stanes School AFFILIATED TO COUNCIL FOR THE INDIAN SCHOOL CERTIFICATE EXAMINATION _____________________________________________________________ COMPUTER APPLICATIONS (Theory) (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 (40 Marks) Attempt all questions Question - 1 a) What is meant by inheritance? Mention two advantages of it. b) What are the advantages of function overloading? c) What is the difference between private and protected access specifiers? d) What is impure function? Give an example. e) What is the difference between break and continue. [2] [2] [2] [2] [2] Question - 2 a) What is data type ? Give two examples. [2] b) What will be the output of the following program segment? [2] String name[] = { Computer , Applications }; System.out println(name[0].length()); System.out println(name.length); c) What will be the result stored in x and y after evaluating the following: [2] int x = -2, y = 5 1) x = ++y x; 2) y += x; d) What will be the output of the following: [2] int a[]={2,4,16,8}; for (int i=0;i<=1;i++) { int temp=a[i]; a[i]=a[3-i]; a[3-i]=temp; System.out.println(a[i]+"\t"+a[3-i]+"\t"); } e) Write function prototype for Sting that return a boolean value and takes two characters as parameters. [2] Question - 3 a) Write the following statement using switch-case construct: if(ch== a ) grade = A ; else if(ch== b ) grade = B ; else if(ch== c ) grade = C ; else grade = D ; b) Write a Java statement to convert String of digits to double type. c) Convert the following segment into equivalent while loop for(int i=10; i>=1; i=i-2) System.out.println(i); d) If x and y are int type variables, what will be the result of the expression x % y when x=-12 and y=-11 e) What is the difference between String and integer? 1 [2] [2] [2] [2] [2] NSK/ICSE2017/Trial2

Formatting page ...

Top Contributors
to this ResPaper

Sankalp Mukherjee




Sdfg Sdfg


Bubai Maity


Formatting page ...


  Print intermediate debugging step

Show debugging info



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


ICSE Q&A - Ask and Answer
nskstanes chat