Saturday, December 4, 2010

ICSE Latest Sample Question Papers


Sample Paper – 2011
Class – X
Subject –
Computer Applications


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) Name any two tokens of Java.                                                   \[2]
(b) Give the difference between call vbyvalue parameter and call by reference  [2]
(c) What is an  literal?                                                                                               [2]
(d) Write an expression in Java for sin x +2ab + b . [2]
(e) What is the result produced by 2 – 10*3 + 100/11? Show the steps. [2]

Question 2
(a) What is the difference between local variable and instance variable? [2]
(b) int x =22, y = 19, z;
What is the value of z in
z = ++x * (y – –) – y ?
Show the steps.                                                                                                         [2]
(c) What is the purpose of default in a switch?                                                      [2]
(d) Give the difference between linear search and binary search.                     [2]
 (e) What will be the output of the following code?
float x = 7.87;
System.out.println(Math.ceil(x);
System.out.println(Math.floor(x);                                                                              [2]

Question 3
(a) State the difference between if-else if ladder and switch...case.                  [2]
(b) Explain the concept of constructor overloading with an example.                 [2]
(c) What will be the output of the following program segments?
(i) String s = “application”;
int p = s.indexOf(‘a’);
System.out.println(p);
System.out.println(p+s);                                                                                [2]
(ii) String st = “PROGRAM”;
System.out.println(st.indexOf(st.charAt(4)));                                              [2]
(iii) int a = 0;
if(a>0 && a<20)
a++;
else a-- ;
System.out.println(a);                                                                                    [2]
(iv) int a= 5, b = 2,c;
if (a>b || a ! = b)
c = ++a+--b;
System.out.print(c+ “ ”+a+ “ ”+b);                                                                [2]
(v) int i = 1;
while(i++<=1)
{
i++;
System.out.print(i + “ ” );
}
System.out.print(i);                                                                                        [2]
 (d) Differentiate between isUpperCase(char) and toUpperCase(char). [2]
(e) What is the difference between a constructor function and a member
function of a class?                                                                                                   [2]
(f) What is the difference between a static member function and a member
function which is not static?                                                                                     [2]

SECTION B (60 Marks)
Attempt any four questions from this Section.
The answers in this Section should consist of the Programs in either Blue J environment
or any program environment with Java as the base. Each program should be written
using Variable descriptions/Mnemonic Codes such that the logic of the program is
clearly depicted.
Question 4
Write a Menu driven Program to do the following
      a) Write a class to print the following series :     
S=a/x1+a/x2+a/x3+a/x4…….. a/xn                                              (8)
      b) Write a class  to display prime numbers between 1 to 100                      (7)

Question 5
Write a menu driven program to find the sum of the following series depending on the
user choosing 1 or 2
1. S=1/4+1/8+1/12.........upto n terms
2. S=1/1!-2/2!+3/3!.......upto n terms
where ! stands for factorial of the number and the factorial value of a number is the
product of all integers from 1 to that number, e.g. 5! = 1 *2 * 3 * 4 * 5.
(use switch-case).                                                                             [15]
Question 6
Write a program to accept a sentence and print only the first letter of each word of the
sentence in capital letters separated by a full stop.
Example :
INPUT SENTENCE : “Kapil Kumar Thakur”
OUTPUT : K.P.T                                                                                [15]
Question 7
Write a program to create an array to store 10 integers and print the second largest number
Question 8
Write a program to calculate the sum of all the twin prime numbers between the range of 1 and 100.                                                                                  [15]
Question 9
Write a program to store 10 names in an array. Arrange these in alphabetical order by  sorting. Print the sorted list.                                          [15]

Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers, Kerala SSLC Question Pappers,

1 comment:

  1. CBSE and ICSE has always paid a great attention to the overall growth of students and its continuously changing the pattern of studies.icse syllabus

    ReplyDelete