ICSE Class 10th Computer Applications Sample Paper (1)

ICSE Class 10th Computer Applications Sample Paper (1). 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) Name any two OOP'S principles.

(b) Mention two different styles of expressing a comment in a program.

(c) Which element is num[9] of the array num?

(d) Differentiate between operator and expression.

(e) if m = 5 and n = 2 output the values of m and n after execution in (i) and (ii):-

      i. m − = n;

     ii. n = m + m/n;

Question 2 

(a) Explain the term for loop with an example.

(b) What is a compound statement? Give an example.

(c) State the difference between Constructor and Method.

(d) State one similarity and one difference between while and do while loop.

(e) Explain, with the help of an example, the purpose of default in a switch statement.

Question 3

(a) What will be the output of the following, if x = 5 initially? 

      i. 5 *++x 

     ii. 5*x++

(b) What is the output of the following? 

     char = 'A';

     short m = 26;

     int n = c+m;

     System.out.println(n);

(c) Explain the meaning of break and continue statements. 

(d) (i) What is call by value?

(ii)How are the following passed?

    (1) Primitive types                (2) Reference types

(e) Enter any two variables through constructor parameters and write a program to swap and print the values. 

(f) What do the following functions return for:- 

     String x = "hello";

     String y = "world";

     i. System.out.prinln(x+y);

    ii. System.out.println(x.length());

   iii. System.out.println(x.charAt(3));

iv. System.out.println(x.equals(y));

(g) Differentiate between toLowerCase() and toUpperCase() methods. 

SECTlON - B 

Question 4

Write a class with name employee and basic as its data member, to find the gross pay of an employee for the following allowances and deduction. Use meaningful variables.

Dearness Allowance = 25% of the Basic Pay

House Rent Allowance = 15% of Basic Pay

Provident Fund = 8.33% of Basic Pay

Net Pay = Basic Pay + Dearness Allowance + House Rent Allowance

Gross Pay = Net Pay − Provident Fund 

Question 5

Write a program to input any given string to calculate the total number of characters and

vowels present in the string and also reverse the string :- 

Example : INPUT

Enter String : SNOWY

OUTPUT

Total number of characters : 05

Number of Vowels : 01

Reverse string : YWONS 

Please click below link ICSE Class 10th Computer Applications Sample Paper (1).