COMPUTER SCIENCE HSSC-II
(2015)
SECTION A
(Marks 17)
Time allowed: 25 Minutes
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 25 minutes and handed over to the Centre Superintendent Deleting/overwriting is not allowed. Do not use lead pencil.

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

(A) Assembler
(B) Compiler
(C) Interpreter
(D) Converter

(A) Pascal
(B) Assembly
(C) BASIC
(D) FORTRAN

(A) Constant
(B) Cell
(C) Location
(D) Variable

(A) Tne name cannot changed. but vaiva can be changed
(B) The name and value. both can be changed
(C) The name and value, both cannot be changed
(D) The name can be changed. but value cannot he changed

(A) 27
(B) 111
(C) 0
(D) 111

(A) %S
(B) %d
(C) %f
(D) %C

(A) /b
(B) /x
(C) /r
(D) //

(A) /t
(B) /y
(C) /n
(D) /b

(A) End select 
(B) End case
(C) break:
(D) case else

(A) casex<4
(B) case1.
(C) case 'ab'
(D) case 1.5

(A) The terminating condition occurs unexpectedly
(B) The body of the loop should be executed at least once
(C) The number of iterations is known in advance
(D) The program will be executed at least, once

(A) Report
(B) Queries
(C) Forms
(D) Tables

(A) Field
(B) File
(C) Record
(D) Character

(A) Composite key
(B) Primary key
(C) Foreign Key
(D) Candidate key.

(A) Query
(B) Tables
(C) Forms
(D) Reports

SECTION - B (Marks 39)

Q.2. Attempt any THIRTEEN parts. The answer to each part should not exceed 5 to 6 lines. (132(3 - 39)

void main I",

{ int n, a, b ;

n = 400;

a= n% 100;

b = n/10;

n = n%10;

print! (" % d %d %d", n++, ++b, ++a);

getch ();}

for (4; < 5 ; i++)

{j:0;

while (j <- i)

(printf ("%d",j);

J++;

}

Printf ("In ");)

SECTION - C (Marks 21)

Note: Attempt any THREE questions. All questions carry equal marks. (2+2+2+1)

Q.3.Write notes on the following.

Integer variables
Conditional operator
Return value
Field width spetifier

Q.4. why are loops used? Explain the different types of loops available in C language. (07)

Q.5. What are the different database objects available in MS-Access? Explain. (07)

Q.6. What are relationships in RDBMS? Explain the different types of relationships. (07)