Sample Paper - 2009 Class - X Subject - Computer Application
Sample Paper - 2009 Class - X Subject - Computer Application
Sample Paper - 2009 Class - X Subject - Computer Application
com/
Answer to this paper must be written on the paper provided separately. You will not be allowed
to write during the first 15 minutes. This time is to be spent in reading the question paper. The
time given at the head of this paper is the time allowed for writing answers.
This paper is divided in to two sections. You are to answer all the questions from section A and
any four from section B. The intended marks for the questions are given in the brackets.
Section : A
Attempt all the questions.
-------------------------------------------------------------------------------------------------------
www.icseguess.com
Other Educational Portals
www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
Section B
Attempt any four questions
5. Write a Java class to find out the total pay of n number of employees basic upon the
following criteria: [15]
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
6. Write a program to check whether a 2-D matrix is an unit matrix? A unit matrix has all the
left diagonal elements are 1 and other elements are 0. [15]
-------------------------------------------------------------------------------------------------------
www.icseguess.com
Other Educational Portals
www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
7. Write a program to print the first character of each word in a sentence as capital letter.
Ex: if input is : dayanand anglo vedic output will be: Dayanand Anglo Vedic [15]
8. Write a program to sort the names of the students having two subject marks like Mathematics
and Computer by descending order using Bubble sort method. Print the names of students
who scored highest mark in Mathematics and Computer. [15]
b. Write a class to find out the perimeter of a square, rectangle and circle as per user’s choice.
Use the method: perimeter ()
perimeter of square = 4xside, perimeter of rectangle = 2(l+b) and
perimeter of circle = 2x3.14x R [8]
-------------------------------------------------------------------------------------------------------
www.icseguess.com
Other Educational Portals
www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com