# ICSE Board Class 10 Computer Science Sample Papers 2009

## ICSE Board Sample Papers 2009 for Class 10 Computer Science

SAMPLE PAPER-2009
CLASS-10

COMPUTER SCIENCE

SECTION A (20 Marks)
Attempt all questions.

Question 1
(a) (i) Name universal gates.
(ii) State one advantage of batch processing.

(b) (i) Represent the given Boolean function through a logic circuit  diagram:
F (X,Y, Z) = X . (Y  Z +  Y Z)
(ii) What is the Boolean expression for X ⊕ Y?

(c) (i) Name the high level language which was developed by IBM.
(ii) Convert the number (1288)10 into an octal number,

(d) (i) Convert (101110)2 into a Hexadecimal number.
(ii)       Multiply 1001011 by 1101.

(e) Differentiate between Logical error and Execution error.

Question 2
(a) Write an algorithm to find the sum of two numbers.

b) Name two conditional statements and explain.

(c) Explain any two looping statements.

(d) Write the full form of the following:
(i) ASCII
(ii) COBOL

(e) How does a data file different from a program file?

SECTION B (60 Marks)

Question 3
Write a program in BASIC or C++ to calculate the interest and total amount to be
paid by entering the amount of loan and the number  of years, either by simple
interest method or by compound interest method, as per the choice of user.
For Simple Interest,
Interest = (Amount * Rate * Number of Years) / 100
and Total amount = Amount + Interest For Compound Interest, Total amount = (1+RATE/100)no of years
Interest = Total amount – Amount.  [15]

Question 4
Write a program in BASIC or C++ for the following:
(a) Input any word in lower case and display its output in uppercase.

(b) Total number of alphabets present in the word input.
For example, if Lower case : snowy Upper case: SNOWY Total number of alphabets : 5.

Question 5
Write a program to store elements in an array of size 4  × 4 and perform the
following.   Find the sum of:
(a) each row and display

(b) each column and display

(c) all the elements of the array.

Question 6
Using BASIC or C++ program, read N numbers in a single dimensional array and
calculate the highest and the least number along with their corresponding
positions.
For example,  if
INPUT : 8, 4, 5, 1, 7
OUTPUT,
Highest  : 8                  Position : 1
Lowest  :  1                 Position : 4

Question 7
A cricket team has the following table of batting figures for a series of test matches
for N number of players.
Player’s Name Runs Scored Innings Times
Not-out
Sachin 982 11 2
Dhoni 779 14 3
Robin 775 14 1
-- -- -- --
-- -- -- --
-- -- -- --
Write a program in BASIC or C++ to create a sequential file named AVG.DAT
and do the following:
(a) Store the given data.

(b) Read the figures to calculate and display the batting average of each player.
Also, print the above format.

Question 8
(a) Develop a program using user-defined function to convert a temperature
from Fahrenheit scale Celsius scale using the formula C = (5/9) * (F – 32).

(b) Write a program in BASIC or C++ using FOR Loop to print any number in
reverse order.
Hint  :  Number entered  :  1 2 3 4 5
Reverse order      :  5 4 3 2 1

## ICSE Board Best Sellers

In order to keep pace with technological advancement and to cope up with ICSE Board examinations, Pearson group has launched Edurite to help students by offering Books and CDs of different courses online.