Important Talent Search Exams

Allen TALLENTEX 2018 (Class 5 to 11)
Aakash ANTHE 2017 : 100% Scholarship (Class 8, 9, 10)

COMPUTER SCIENCE

 ( 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 allowed for writing the answers.

 This Paper is divided into two.Sections: Section A and B.

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

Attempt all questions from this Section

Question 1

(a) (i) Convert (456)into its binary equivalent.

(ii) Subtract (10110) from (10101101). [2]

(b)Draw and label the reduced gate for the expression A’.B + A.B’         [2]

(c)Construct a truth table for a two variable inverted NAND gate and name the resultant gate.  [2]

(d) Draw the logic circuit for the expression A.(B+C’) + A’.B.         [2]

(e) Prove algebraically that X.(X+Y) = X.       [2]

Question 2

(a) When is a while loop preferred over a for loop?                                                                        [2]

(b) What happens if a break is mising in a switch construct?

 What is the need for a’ default statement in a switch construct?                                             [2]

(c) What type of search will you prefer to search for a name in the BSNL telephone directory of your area? Justify your answer.              [2]

(d) Declare an array to store 20 characters in 5 columns and 4 rows. [2]

(e) Define a subroutine/function.                                                                                                                   [2]

SECTION B (60 Marks)

Attempt any four questions from this Section

                     Each program should be written in such a way that it dearly depicts the logic of the
problem  This should be achieved by using Mnemonic Names and Comments in the

program.Candidates have the option of using Basic 0r c++ for solving the given problems.

                                                     

Questions 3

Write a program to print all the palindrome numbers between two input numbers. (A number is said to be a palindrome number, if it reads the same on either side.)

Example 121, 5665 …                                                                                                                          [15]

Question 4

Write a program to store 10 numbers in an array and replace all the repeated numbers by zero. Print both the arrays.

Example: Input: 4, 3, 6, 7, 3, 3, 4, 9, 10, 8

Output: 0, 0, 6, 7, 0, 0, 0, 9, 10, 8                       [15]

Question 5

A 5 x 3 array contains teh marks obtained by 5 students in 3 subject8. Write a program to output the total marks obtained by each student and the average marks obtained in each subject  [15]

Question 6

(a) .Write a program to sum the series 1/1! + 2/2! + 3/3!+ ……………………………………………………. 10/10!

where n! = 1 × 2 x 3 × …………………… x n                                                                                             [8]

(b)Write a program to display the name of the day when the day number is used. Assume that the week starts on Sunday. (if statements should not be used)

Example: (i)                INPUT              3
OUTPUT          Tuesday                                                                                         [7]

Question 7

There exists two data ~es named ‘State’ and ‘Capital”. “State” contains the names of different states of India and ‘Capital” contains their corresponding capitals. Write a program to produce an output with the names of the states and their corresponding capitals with a proper heading and serial number. [15]

State Capitals
Maharashtra Mumbai
Kerala Thiruvananthapuram
—————– ——————
—————– ——————

Question 8 

Write a program to accept two strings and answer the following:

(a)    Add both the strings with a space in between them.

(b)   To output the number of vowels in the resultant string. [15]

« Previous Next »

Click Here for ICSE Question Papers 2013 for Class 10

Click Here for All ICSE Class X Question Papers 2012

Advertisements

comments

LEAVE A REPLY

Please enter your comment!
Please enter your name here