SAHIWAL BOARD 204
PAPER COMPUTER SCIENCE PART-II
Time: 20 Minutes (Objective Part) Marks: 17

Note: You have four choke for each objective type question as A, B, C and D. The choice which you think is correct; fill that circle in front of that question number. Use marker or pen to fill the  circles. Cutting or filling two or more circles will result in zero mark in that question.

(a) Primary key
(b) Secondary key
(c) Composite key
(d) Sort key

(a) Data definition
(b) Data manipulation
(c) Data definition and manipulation
(d) Searching records

(a) Saleema
(b) Salima
(c) Wilma
(d) Sahmaa

(a) Person
(b) Object 
(c) Concept
(d) Action

(a) Topic
(b) Relation
(c) File 
(d)Schema

(a) Structured query, language
(b) Sort query language
(c) Self query language
(d) Seek query language

(a) 2
(b) 3
(c) 4
(d) 5

C-LANGUAGE

(a) If statement
(b) Switch statement
(c) While loop
(d) For loop

(a) P<q
(b) !(p<q)
(c) p>q
(d) !(p>q)

(a) \
(b) \ b
(c) \n
(d) \ t

(a) \a
(b) \b
(c) \n
(d) \ m

(a) a
(b) "b"
(c) '6’
(d) 4

(a) Period
(b) Comma
(c) Semi-colon
(d) Question mark

(a) \0
(b) /o
(c) \a
(d) \n

(a) Automatic
(b) Normal
(c) Global
(d) None

(a) FOR
(b) WHILE
(c) DO-WHILE
(d) IF

(a) Multiple loop
(b) Finite loop
(c) Infinite loop
(d) Nested loop

VISUAL BASIC

(a) AND
(b) NOT
(c) OR
(d) Neither

(a) Select
(b) Else
(c) If
(d) DO

(a) 16
(b) 8
(c) 26
(d) 12

(a) Tool bar
(b) Menu bar
(c) Tool box
(d) Format bar

(a) Exponentiation
(b) Multiplication
(c) Integer remainder 
(d) Format bar

(a) AND
(b) OR
(c) NEITHER
(d) NOT

(a) Abs
(b) Rtrim
(c) Lease
(d) U case

(a) Call
(b) GO
(c) Start
(d) RUN

(a) 1
(b) 2
(c) 3
(d) 4

(a) Cycle
(b) Duration
(c) Iteration
(d) Test

Time: 3:10 Hours
(Subjective Part) Marks: 83
Section - I

Q2. Attempt any EIGHT short questions, (8x2.16)

Q3. Attempt any EIGHT short questions. (8x2=16)

OR VISUAI BASIC

Q3. Attempt any EIGHT short questions. (8x2=16)

Q4. Attempt any SIX short questions. (6x2=12)

OR VISUAL BASIC

Q4. Attempt any SIX short questions. (6x2=12)

SECTION –II (Attempt any One Question. 8x1=8)

MS-ACCESS

QUESTION#5
(a) What is conceptual Data Model? Explain logical database design. 08

QUESTION#6
(a) What is relationship? Explain the procedure to create relationship? in MS-Access. 08

SECTION -II Attempt any TWO Question. (8x 2=16)

C-LANGUAGE OR VISUAL BASIC

C-LANGUAGE

QUESTION#7
(a) Define variable wirte down its rules. Explain its types.08
Define structured programming. What are advantages of structured programming?

C-LANGUAGE

QUESTION#8
(a). Write a program to input two integer values and an arithmetic operator calculate arithmetic operation depending upon user input operator using switch statement. 08

..OR... ..VISUAL BASIC

Write a program to input three numbers from user and tells the maximum number.

C-LANGUAGE

QUESTION#9
(a) Define "While" loop? Explain its working with syntax, diagram and example. 08

.....OR.. „VISUAL BASIC

Define "While ……wend” loop? Explain its working with syntax, diagram and example.

SECTION-III: Attempt any THREE questions. (5x3=15)

QUESTION#10