ICSE Class 10 Computer applications Sample Paper (2)

ICSE Class 10 Computer applications Sample Paper (2). Sample papers and question papers for ICSE and ISC students. These question papers have been collected by the best teachers from ICSE and ISC schools. Students should download and practice these papers to gain better marks in examinations. 

SECTION-A 

Question 1

(a) State the difference between while and do-while statement. 

(b) What is break in switch statement. 

(c) What do you mean by ‘this’ keyword. 

(d) What is meant by an infinite loop? Give an example. 

(e) State the difference between constructor and function (method).  

Question 2

(a) Name the following 

     i) A package needed to perform input and output tasks.

    ii) A function that returns index of last occurrence of a specified character.

   iii) A function to remove leading and trailing space of string.

   iv) A OOPs principal that implement function overloading.

(b) Write any two Non primitive data type. 

(c) Distinguish between ‘char’ and ‘String’. 

Question 3

(a) What do you understand by prefix and postfix operators? Give example. 

(b) Give the output of the following. 

      char ch=’A’;

      int x = 32, y = 2;

      i) System.out.println(ch+y);

     ii) System.out.println(ch+x);

    iii) System.out.println(++ch);

    iv) System.out.println((char)(ch+x+y));

(c) What do you mean by Object. 

(d) Find the value of z in the following program segment.

     int x = 5, y = 12, z;

     z = (x>= y ? x – y : y – x );

(e) if String x = “Computer”, y = “Applications”; 

      What do the following functions return for:

      i) x.compareTo(y);

     ii) y.indexOf(y.charAt(8));

    iii) x.length( ) > y.length( );

    iv) y.indexOf(‘i’,4);

(f) Explain Function. Write the syntax of user defined function. 

(g) Difference between default and parameterized constructor. 

 

Please click below link ICSE Class 10 Computer applications Sample Paper (2).