093651 computer science 2014

3
Roll No. Sig. of Candidate.______ Answer Sheet No. Sig. of Invigilator .__________________

Upload: farrukh-tahir

Post on 17-Feb-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 093651 Computer Science 2014

7/23/2019 093651 Computer Science 2014

http://slidepdf.com/reader/full/093651-computer-science-2014 1/2

RollNo.

Sig. of Candidate.____________________Answer Sheet No.

Sig. of Invigilator._____________________

Page 2: 093651 Computer Science 2014

7/23/2019 093651 Computer Science 2014

http://slidepdf.com/reader/full/093651-computer-science-2014 2/2

COMPUTER SCIENCE HSSC-IISECTION — A (Marks 15)

Time allowed: 20 Minutes

NT!: Se"tion#A is "om$ulsor%. All $arts of this se"tion are to &e answered on the 'uestion$a$er itself. It should &e "om$leted in the (rst 20 minutes and handed over to theCentre Su$erintendent. )eleting*overwriting is not allowed. )o not use lead $en"il.

+. ,Cir"le the "orre"t o$tion i.e. A * - * C * ). !a"h $art "arries one mar.

(i) An IDE typ ica ll y con sis ts of ___________

A. Text editor B. Compiler C. Debugger D. one of t!ese

(ii)T!e process of con"erting source code into ob#ect code is $no%n as____________

A. Compiling B. Executing C. &in$ing D. 'a"ing

(i i i ) C o ni o s ta n d s fo r ___________

A. C!aracter Input utput B. Console Input utput

C. Common Input utput D. Complex Input utput

(i")!ic! of t!e follo%ing is NT an example of a program bug*

A. +un,time error B. perator error C. 'yntax error D. &ogical error

(")A memory location %it! some data t!at can be c!anged is called ____________

A. Constant B. -ariable

C. amed constant D. one of t!ese

("i)!at !appens %!en t!e result of a calculation exceeds t!e capacity of data type*

A. 'yntax error B. &ogical error C. 'ystem error D. "erflo%

("ii)T!e expression / 0 !as a "alue e1ual to__________

A. B. 0 C. 2 D. one of t!ese

("iii)!ic! operator is used in a compound condition to #oin t%o conditions*

A. +elational perator B. &ogical perator

C. +elational +esults D. &ogical +esults

(ix)An ampersand before t!e name of a "ariable denotes____________

A. Actual -alue B. -ariable ame C. Address D. Data Type

(x)perators used to compare operands and decide %!et!er t!e relation is true or false are

called_______________

A. Arit!metic perators B. &ogical perators

C. 'yntax perators D. +elational perators

(xi) _____________is a control structure t!at causes a statement or group of statements to repeat.

A. Decision 'tatement B. &oopC. 'e1uential D. one of t!ese

3unction prototype for built,in functions are specified in ______________

A. 'ource file B. &ibrary file C. b#ect file D. Image file

(xiii)!ic! of t!e follo%ing functions is used to %rite a string to a file*

A. puts ( ) B. put c ( ) . C. f puts ( ) D. f get s ( )

(xi")A category of data or information t!at describes an entity is called a 4 an___________

A. Attribute B. Data item C. +ecord D. Tuple

(x")!ic! of t!e follo%ing components of p!ysical database design refer to t!e correctness and consistency of

data*

A. Indexes B. Integrity constraintC. 3ile rgani5ation D. Data Distribution 'trategy

/or !aminer1s use onl%:

Total Mars: ,

Mars &tained:   r 

2HA 1412 -