Answers 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 aUowed for writing the answers.
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 (20 Mark)
Attempt all questions from this Section
(a) What is a file ? Name the different modes to open a file. 
(b) Convert the following:
(i) 3CD(16) to decimal equivalent.
(ii) 111011101101(2) to hexadecimal equivalent. 
(c) Draw a logic gate diagram for the following expression:
(x + y).(x + z).(y + z) 
(d) (i) Store all the characters of the word “COMPUTER’ in an array,
(ii) Write the syntax for the given statement using for loop ‘Print your name 20 times.’ 
(a) Prove that X + X’Y = X + Y 
(b) Draw a Logic Gate which represents P (NAND) Q 
(c) Define the purpose of a Truth Table.
(d) Name the basic logic gates. Why are they named so ?
(e) State the difference between if and switch … case statements.
SECTION B (60 Marks)
Attempt any four questions from this Section
Write a program to input a string and perform the following:
(a) Count the number of words in the string. 
(b) Reverse the string and print it.
XYZ Club consists of Music, Computer and Electronics societies. There are 100 students opting for different societies. Write a program to count the number of students opting for each society and display the following output.
(Assume Music = ‘M”, Computer = ‘C” and Electronics = “E”)
Electronics …………. 
Write a program to create a sequential file ‘TELEPHONE.DAT” with the fields telephone number, name and address of 20 customers. When a search is given for a particular telephone number, display the details of that customer, otherwise display the message “NO such record exists.” 
Write two separate programs to perform the following: (value of n is to be an input by the user.)
(a) To print the Fibonacci series
0,1,1,2,3,5,8,12 ………………… n 
(Hint: A Fibonacci term is found by adding the previous two terms of that series by taking 0 and 1 as first two terms) 
(b) To print the sum of the series given below:
S = a/2, a/4, a/6 a/n where a = 2
|« Previous||Next »|
Click Here for ICSE Question Papers 2013 for Class 10