Federal Board HSSC-II 2014
COMPUTER HSSC-II
SECTION — A (Marks 15)
Time allowed: 20
Minutes Marks: 15

NOTE: Section-A is compulsory. All parts of this section are to be answered on the question paper itself. It should be completed in the first 20 minutes and handed over to the Centre Superintendent. Deleting/overwriting is not allowed. Do not use lead pencil.

QUESTION#1 Circle the correct option i.e. A / B / C / D. Each part carries one mark.

A. Text editor
B. Compiler
C. Debugger
D. None of these

A. Compiling
B. Executing
C. Linking
D. Saving

A. Character Input Output
B. Console Input Output
C. Common Input Output
D. Complex Input Output

A. Run-time error
B. Operator error
C. Syntax error
D. Logical error

A. Constant
B. Variable
C. Named constant
D. None of these

A. Syntax error
B. Logical error
C. System error
D. Overflow

A. 3
B. 5
C. 0
D. None of these

A. Relational Operator
B. Logical Operator
C. Relational Results
D. Logical Results

A. Actual Value
B. Variable Name
C. Address
D. Data Type

A. Arithmetic Operators
B. Logical Operators
C. Syntax Operators
D. Relational Operators

A. Decision Statement
B. Loop
C. Sequential
D. None of these

A. Source file
B. Library file
C. Object file
D. Image file

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

A. Attribute
B. Data item
C. Record
D. Tuple

A. Indexes
B. Integrity constraint
C .File Organization
D .Data Distribution Strategy

COMPUTER HSSC-II
SECTION - B (Marks 39)
Time allowed: 2:40 Hours
Total Marks B and C: 60

NOTE: Answer any thirteen parts from Section 'B. and any three questions from Section 'C on the separately provided answer book. Use supplementary answer sheet i.e. Sheet-B if required. Write your answers neatly and legibly.

2 Answer any THIRTEEN parts. The answer to each part should not exceed 5 to 6 lines. (13x3 = 39)

SECTION -C (Marks 21)

Note: Attempt any THREE questions. All questions carry equal marks. ( 3 x 7 = 21 )

QUESTION#3
a. What is meant by type casting? Explain explicit type casting. (04)
b.
What are comments? Describe its types (03)

QUESTION#4
Write detailed notes on Queries and Repots. (07)

QUESTION#5
a.What is "for" loop? Explain its working. Also write its syntax. (03)
b.Write a program that displays a message "Best of Luck" on screen using function (04)

QUESTION#6
Write a program that inputs a character from the user and checks whether it's a vowal or a consonant, using switch statement. (07)