Vous êtes sur la page 1sur 1

BOARD OF INTERMEDIATE EDUCATION, KARACHI

INTERMEDIATE EXAMINATION, 2015 (ANNUAL)


Date: 02.05.2015 COMPUTER SCIENCE PAPER – II Max. Marks: 15
9:30 a.m. to 9:50 a.m. (Science General Group) Time: 20 minutes
NOTE: This paper comprises Two independent options – (I) Programming Using 'C' and (II) Programming Using Visual
Basic. The candidates have to attempt any One Option, Programming Using 'C' OR Programming Using Visual
Basic, whichsoever they have offered.

OPTION – I
The correct answers are
highlighted in red colour. PROGRAMMING USING ‘C’
Write this Code in the Answerscript.

SECTION ‘A’
(MULTIPLE CHOICE QUESTIONS) – (M.C.Qs.)
NOTE: i) This section consists of 15 part questions and all are to be answered.
Each question carries one mark.
ii) Do not copy the part questions in your answerscript. Write only the answer in full against the proper
number of the question and its part.
iii) The code of your question paper is to be written in bold letters in the beginning of the answerscript.

1. Choose the correct answer for each from the given options:

i) A function which invokes itself is called:


* Recursive function * System function
* Library function * Iterative function

ii) In database, records are also called:


* Attributes * Entities * Tuples * Relations

iii) This is the symbol of AND operator:


* || * && * & * !
iv) The control structure use do-while loop is:
* Sequence * Selection * Iteration * Random

v) This symbol in a flow chart represents a process:


* Rectangle * Oval * Circle * Diamond

vi) The comment begins with the characters set of:


* */ * /* * \* * *\

vii) The statements within any C function must be enclosed within a pair of:
* {} * [] * () * “ ”

viii) The collection of related fields is called a:


* Record * Field * Database * Attribute

ix) The default case in the switch statement is:


* Optional * Compulsory * Occasional * Relational

x) The for loop counter variables should be of this type:


* Float * int * Char * Double

xi) A field is sometimes called an/a:


* File * Attribute * Record * Database

xii) An object whose value can be changed during the program execution is called:
* Symbol * Variable * Constant * Operator
xiii) To control the spacing and number of characters is displayed by:
* Precision specifier * Field-width specifier
* Format specifier * Escape sequence
xiv) This database object is used to present data in a printed format:
* Table * Query * Form * Report

xv) The memory space required for a float is:


* 2 bytes * 8 bytes * 1 byte * 4 bytes

--------------xxxxxxxxxx---------------
(see Option II on the back page)

Vous aimerez peut-être aussi