DG Khan Board 2017
Computer Science
(Inter part2)
Note: Pour possible answers A, B; C and D to each question are given. The choice which you think is correct that circle in front that question with Marker or Pen ink. 'Lining or filling two or more circles 'will result in zero mat k in that question. Write the letter A, B. (7 or D in the column.(write correct "option) against each question also. If there k a contradiction in the bubble and hand written answer, bubble option will be considered correct.

(a) Master File
(b) Data File
(c) Transaction File
(d) Program File

(a) sort key
(b) composite key
(c) primary key
(d) foreign key

(a) sample database
(b) wizard
(c) common standards
(d) easier programming

(a) Form
(b) Query
(c) Table
(d) Report

(a) 2
(b) 5
(c) 20
(d) 50

(a) CTRI±N
(b) CTRL + S
(c) CTRL + 0
(d) CTRL + Z

C-LANGUAGE

(a) Source code
(6) exe code
(c) Syntax
(d) Object code

(a) Binary operator
(b) Unary operator
(c) Ternary operator
(d) Relational operator

(a) printf ()
(b) cIrscr( )
(c) scanf( )
(d) puts( )

(a) Serial Expression
(b) Arithmetic Expression
(c) Relational Expression
(d) Sequential Expression

(a) if
(b) switch
(c) if-else
(d) Nested-if

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

(a) Modulus
(b) Decrement
(c) Inc
(d) Increment

(a) Definition
(b) Header
(c) Prototype
(d) Parameters

(a) Input stream
(b) Text stream
(c) Binary stream
(d) Out put

SUBJECTIVE PART
(Section-II)
C-Language

2. Write short answers to any SIX (6) questions.

Q 3. Write short answers to any EIGHT (8) questions.

Q 4. Write short answers to any SIX (6) questions.

SECTION-III

Q.5 What is key? Explain different types of keys
Q.6 What is query? Explain different types of query.

C-Language

Note: Attempt any two questions:

Q.7 Define language processors. Explain different types of language processors.
Q.8 Write a program that inputs a number and finds whether it is even or odd.
Q.9 Define Do.....WHILE loop in VB. Write its syntax. Explain its working with example.