Download ICSE Computer Application Sample Papers Class X 2009
Sample Paper – 2009
Class – X
Subject – Computer Application
(Set-1)
Time: 2 ½ Hrs Maximum Marks: 60
Section- A
Q1. Answer the following:
a) What is the range of long data type ?
b) What do you mean by ‘non-graphic’ characters ?
c) What is the purpose of the keyword ‘extends’ ?
d) What do you mean by ‘data hiding’ ?
e) How many bytes reserved for ‘char’ data type in java?
f) What is a token?
g) What was the old name of java ?
h) Expand IDE.
i) Name any two OOPs other than C++ and java.
j) What do you mean by ‘coersion’ ?
Q2. a) What is a compound statement? Give an example.
b) What is the main difference between binary and linear search except the technique used? c) Differentiate between actual and formal parameters.
d) In java various Math functions are defined in which class and under which package?
e) What is function prototype? Give an example.
Q3. a. Differentiate between a constructor and method or function..
b. Differentiate between returnable function and recursive function..
c. Write the output?
(i). double d = ¾ + 7/8 + 6%9;
(ii) class abcd
{
private int x;
private int y;
void abcd(int a, int b)
{
x = a;
y = b;
}
void display()
{
int z = (x>y)? 3:4;
System.out.println( “Your answer is”+z):
}
void main( int m, int n)
{
abcd s = new abcd(m,n);
s.display();
}} if input is : -9 & 7
(iii) class xclass
{
void sumnum(int m, int n)
{
System.out.println (m+n);
}
void main()
{
sumnum(7,9);
}}
d. Find the errors in the following program segment:
class friendly
{
public int a;
private void friendly(int x)
{
x = a;
}
public void main()
{
system.out.println(a);
}
}
Section- B
Q4. Write a Java class to find out the total pay of n number of employees basic upon the following criteria:
Member variables:
Name as String, Basicpay as Integer
Methods:
Getdata() – to read the names and basic pay
Calculate()- to calculate total pay
Display() – display the data
Main() – to call all the methods
Q5. (a) Write a java program to print n terms of the fibonacci series as
0 , 1 , 1 , 2 , 3 , 5 , 8 ……n terms
Download Attached PDF
- Biology
(129 downloads)