(Two hours)

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


Question 1.

(a)   What is a file ? Name the different modes to open a file. [2]

(b)   Convert the following:[2]

(i) 3CD(16) to decimal equivalent.

(ii) 111011101101(2)  to hexadecimal equivalent. [2]

(c) Draw a logic gate diagram for the following expression:

(x + y).(x + z).(y + z)   [2]

(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.’   [2]

Question 2.

(a) Prove that X + X’Y = X + Y [2]

(b) Draw a Logic Gate which represents P (NAND) Q [2]

(c) Define the purpose of a Truth Table.[2]

(d) Name the basic logic gates. Why are they named so ?[2]

(e) State the difference between if and switch … case statements.[2]

SECTION B (60 Marks)

Attempt any four questions from this Section

Question 3.

Write a program to input a string and perform the following:

(a) Count the number of words in the string. [5]

(b) Reverse the string and print it.[5]

Question 4.

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”)

      XYZ                                    CLUB
Society                               Number
Music …………..
Computer …………
Electronics ………….    [15]

Question 5.

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.” [15]

Question 6.

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     [8]

(Hint: A Fibonacci term is found by adding the previous two terms of that series by taking 0 and 1 as first two terms)    [7]

(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

Click Here for ICSE Class X All Question Papers 2011

ATSE 2019 | Scholarship Worth 12 Lac Apply Now!!

Leave a Reply