ICSE Class 10 Computer Science 2009 Question Paper

ICSE Class 10 Computer Science 2009 Question Paper. Students can download the last year question papers using the link below. Free download of examination question papers with solutions. Last 10 year question papers should be practised to get better marks in examinations.

2009 ICSE computer science Question paper

Section A (40 marks)

Attempt all questions

Q1. (a) Name the four integer data types of Java. [2]

(b) What is a “ternary operator” of Java? [2]

(c) What is meant by “nesting of loops”? Give suitable example. [2]

(d) Differentiate between int and float data type. Give one example for each. [2]

(e) What is Polymorphism? Give one example. [2]

Q2. (a) What is meant by “exit controlled loop”? Give one example. [2]

(b) Differentiate between constructor and finalizer with suitable examples for each. [2]

(c) What do you understand by the term “Escape Sequence”? Give two example with proper explanation. [2]

(d) Differentiate between data abstraction and data encapsulation [4]

 

Q 3. (a) Give the output of the following code snippets: [2 + 2 = 4]

(i) int f = 1, i = 2;

do {

f * = i;

i++;

}while ( i < 5 );

System.out.println ( f );

(ii) int a = 0, p;

for( int i = 0; i < 5; ++i ) {

a = a + p * i;

System.out.println( a );

}

(b) Find error(s), if any in the following code snippets: [2 + 2 = 4]

(i) int i [][] = {{1, 2}, {3, 4}};

i [1, 1] = 5;

(ii) int b[] = new int [10];

for ( int i = 0; I <= b.length; ++i )

b[i] = 1;

(c) Create a multidimensional array in which each there are three rows & each row has different

numbers of columns: 1st row has three columns, 2nd row has 2 columns and the last row has 4

columns. [2]

Q4. (a) Write the equivalent do-while loop for the following for loop: [2]

for ( ; ; )

{s; } //s represents any statement

(b) Assume that i = 1, j = 2, k = 3, and m = 2. What does ach of the following statements print? [2]

(i) System.out.println ( k + m < j | 3 – j >= k );

(ii) System.out.println ( ! ( k > m ));

(c) What would happen when the following is compiled and executed? [3 + 3 = 6]

Please click the link below to download pdf file of  ICSE Class 10 Computer Science 2009 Question Paper

2013
ICSE Class 10 2013 Question Paper Art Paper 1
ICSE Class 10 2013 Question Paper Art Paper 2
ICSE Class 10 2013 Question Paper Art Paper 3
ICSE Class 10 2013 Question Paper Art Paper 4
ICSE Class 10 2013 Question Paper Biology
ICSE Class 10 2013 Question Paper Chemistry
ICSE Class 10 2013 Question Paper Commercial Application 1
ICSE Class 10 2013 Question Paper Commercial Application 2
ICSE Class 10 2013 Question Paper Commercial Studies
ICSE Class 10 2013 Question Paper Computer Applications
ICSE Class 10 2013 Question Paper Computer Science
ICSE Class 10 2013 Question Paper Cookery
ICSE Class 10 2013 Question Paper Economic Applications
ICSE Class 10 2013 Question Paper Economics
ICSE Class 10 2013 Question Paper English
ICSE Class 10 2013 Question Paper English Language
ICSE Class 10 2013 Question Paper English literature
ICSE Class 10 2013 Question Paper Environmental Applications
ICSE Class 10 2013 Question Paper Environmental Science
ICSE Class 10 2013 Question Paper Fashion Designing
ICSE Class 10 2013 Question Paper French (Group 1)
ICSE Class 10 2013 Question Paper Geography (HCG Paper - 2)
ICSE Class 10 2013 Question Paper German (Group 1)
ICSE Class 10 2013 Question Paper History and Civics (HCG Paper 1)
ICSE Class 10 2013 Question Paper Home Science (Revised)
ICSE Class 10 2013 Question Paper Literature in English (English Paper - 2)
ICSE Class 10 2013 Question Paper Mathematics 1
ICSE Class 10 2013 Question Paper Mathematics 2
ICSE Class 10 2013 Question Paper Physical Education
ICSE Class 10 2013 Question Paper Physics (Science Paper - 1)
ICSE Class 10 2013 Question Paper Sanskrit
ICSE Class 10 2013 Question Paper Spanish (Group 1)
ICSE Class 10 2013 Question Paper Technical Drawing
ICSE Class 10 2013 Question Paper Technical Drawing Applications
ICSE Class 10 2013 Question Paper Yoga