ICSE Class 10th Computer Applications Sample Paper (3). 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 two types of Java programs.
(b) Define Instance Variable. Give an example of the same.
(c) Differentiate between Binary Search and Linear Search.
(d) Assign the value of pie (i.e. 3.142) to a variable with requisite data type.
(e) Explain with an example the if-else-if construct.
Question 2
(a) Differentiate between Formal Parameter and Actual Parameter.
(b) Why do we need a constructor as a class member?
(c) Explain the term type casting.
(d) Name the following:-
i. A package that is invoked by default.
ii. A key word, to use the classes defined in a package.
(e) Name the class that is used for different mathematical functions. Give an example of a mathematical function.
Question 3
(a) State the difference between = and = =. [2]
(b) Write an equivalent Java syntax for the following expression:- a = 0.05 − 2y3 / x − y
(c) Rewrite the following using Ternary operator
if (income < = 10000 )
tax = 0 ;
else
tax = 12 ;
(d) Write a statement for each of the following:-
i. Store a number 275 as a String
ii. Convert the string to a numeric value
iii. Add it to the existing total of 1000 to update the total.
(e) (i) What is the role of the keyword void in declaring functions?
(ii) If a function contains several return statements, how many of them will be executed?
(iii) Which OOP principle implements function overloading?
(f) What is the output of the following:-
i. System.out.println ("four :" + 4 + 2);
System.out.println (" four : "+(2+2));
ii. String S1 = "Hi";
String S2 = "Hi"; String S3 = "there";
String S4 = "HI";
System.out.println(S1 + "equals" + S2 + "→" + S1.equals(S2));
System.out.println(S1 + "equals" + S3 + "→" + S1 .equals(S3));
System.out.println(S1 + "equals" + S4 + "→" + S1 .equals(S4));
System.out.println(S1 + "EqualIgnoreCase" +S4 + "→" +
S1.EqualIgnoreCase(S4));
(g) Evaluate the following expressions, if the values of the variables are a = 2, b=3 and c=9
i. a − (b++) * (− −c)
ii. a * (++b) % c
SECTION B
Question 4
Define a class salary described as below:-
Data Members : Name, Address, Phone, Subject Specialization, Monthly Salary, Income Tax.
Member methods : (i) To accept the details of a teacher including the monthly salary.
(ii) To display the details of the teacher.
(iii) To compute the annual Income Tax as 5% of the annual salary above Rs.1,75,000/-.
Write a main method to create object of a class and call the above member method.
Question 5
Write a program to compute and display the sum of the following series:-
1 + 2
1 × 2
+
1 + 2 + 3
1 × 2 × 3
+.......+
1 + 2 + 3 + 4....n
1 × 2 × 3 × 4....n
Please click below link ICSE Class 10th Computer Applications Sample Paper (3).