SAHIWAL BOARD 2016
PAPER COMPUTER SCIENCE
PART-II

Time: 20 Minutes
(Objective Part)
Marks: 17

Note: You have four choice 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.

(MS-ACCESS)

(a) Sequential file                    
(b) Random file
(c) Indexed Sequential file       
(d) Direct Access file

(a) Sort Query List                   
(b) Self Quantifying language
(c) Structure Query language    
(d) Self Quantative language

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

(a) Attribute                                 
(b) Relationship
(c) Entities                                    
(d) Cardinals

(a) Increase Redundancy              
(b) Increase inconsistency
(c) Get Stable Data Structure        
(d) Increasing Anomalies

(a) Pencil                                       
(b) Black arrow
(c) Key                                          
(d) Asterisk

(a) 2           
(b) 4        
(c) 6            
(d) 8

C-Language     OR       Visual Basic
                           (C-Language)

(a) Linker         
(b) Loader      
(c) Compiler       
(d) Interpreter

(a) Establish a relationship among variables
(b) Perform arithmetic operations
(c) Compare two values     
(d) Create relationship

(a) Integer                   
(b) Unsigned short
(c) Unsigned float       
(d) Unsigned long int

(a) Comparison operator         
(b) Assignment operator
(c) Equal to operator               
(d) Logical operator

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

(a) Zero                                    
(b) One
(c) Less than 0                         
(d) Two

(a) While-wend                          
(b) For-next
(c) Sequence                               
(d) Do-while

(a) Do-while     
(b) For        
(c) While      
(d) Sequence

(a) Built in function                     
(b) User defined function
(c) Local function                         
(d) Keyword

(a) Puts ( )      
(b) Putc ( )       
(c) Fputs ( )      
(d) Fgets ( )

(Visual Basic)

(a) Program file                            
(b) Module file
(c) Project                                    
(d) Report file

(a) Byte types data                         
(b) Currency type data
(c) String type data                        
(d) Word type data   

(a) Input Box       
(b) Message      
(c) MSG Box     
(d) Tool Box

(a) Write Button   
(b) OK
(c) Left Button      
(d) Tool Button

(a) = =    
(b) < =
(c) > =             
(d) =

(a) >         
(b) +   
(c) XOR         
(d)  ||    

(a) For-Next                     
(b) While-wend
(c) Do-While-loop           
(d) Do-Loop-while

(a) True                           
(b) Cannot determine
(c) Determine                 
(d) False

(a) Procedure  
(b) Function       
(c) Variable      
(d) String

(a) RAD          
(b) Page             
(c) Buffer        
(d) RAM Block

Time: 3:10 hours        
(Subjective PartII)     
Marks: 83:

Section I
(MS-ACCESS)

2. Attempt any EIGHT short questions. (8 x 2 = 16)

(C-Language)

3. Attempt any EIGHT short questions. (8 x 2 =16)

OR
(Visual Basic)

3. Attempt any Eight (8) short questions. (8 x 2 = 16)

OR             
(C-Language)

4.        Attempt any SIX short questions.

OR
(Visual Basic)

4. Attempt any SIX short questions. (6 x 2 = 12)

SECTION -II

Attempt any One Question.  (8 x 1= 08)

MS-ACCESS

5. Define database system. Explain any three components of database system.          8
6. Explain 8 different data types available in MS-Acess.         8

SECTION -III

Attempt any Two Question. (8x2=16)

C-LANGUAGE OR VISUAL BASIC

C-LANGUAGE

7.  Briefly describe the basic structure of C program with example. 8

OR  VISUAL BASIC

Briefly describe the program development process in Visual Basic. 8

C-LANGUAGE

8. Write a program that inputs a character and detemines whether it is a vowel or consonant. 8

OR
VISUAL BASIC

Write a program that inputs a character and determine whether it is a vowel or consonnat? 8

C-LANGUAGE

9. What is nested loop? Give its syntax. Explain its working with an example.  8

OR
VISUAL BASIC

What is nested loop? Give its syntax   Explain its working with an example. 8

SECTION-IV        

10. Attempt any THREE questions.       (5x3=15)