FAISALABAD BOARD 2015
PAPER COMPUTER SCIENCE
PART-II

Time: 20 Minutes 
(Objective Part)

Marks: 17

Note: You have four choices for each objective type question as A, 8, C and D. The choke which you think b 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) Secondary key                           
(b) Foreign key
(c) Primary key                 
(d) All of these

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

(a) Logically                      
(b) Physically
(c) Loosely                        
(d) Badly

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

(a) Memo                            
(b) Number
(c) Hyperlink                       
(d) OLE

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

(a) Functional                       
(b) Associative
(c) Partial                               
(d) Transitive

C-Language OR Visual Basic

(C-Language)

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

(a) Add                        
(b) Multiply
(c) Compare                
(d) Divide

(a) stdio.h                          
(b) conio.h
(c) string.h                
(d) math.h

(a) #                                       
(b) &     
(c) ?                                       
(4) %

(a) 32                                    
(b) 62    
(c) 60                                    
(d) 90

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

(a) putc ( )               
(b) sputc ( )
(c) fputs                   
(d) fgets ( )

(a) Hard disk                     
(b) Cache
(c) RAM                           
(d) ROM

(a) While                           
(b) For   
(c) Do – While                 
(d) Nested

(a) Increment                    
(b) Decrement
(c) Break                           
(d) Continue

(Visual Basic)

(a) Nested loop                 
(b) Complex loop
(c) Outer loop                   
(d) Inner loop

(a) End                               
(b) Next
(c) End if                           
(d) Else

(a) Identifier                      
(b) Dim
(c) Sub                               
(d) Event

(a) Tab order                     
(b) Mask
(c) Control                
(d) Focus

(a) Microsoft                     
(b) IBM
(c) Sun System                 
(d) Hewlett

(a) The program              
(b) Object code
(c) Linked code                
(d) Source code

(a) Form-load                   
(b) Form. activate
(c)Form-change                               
(d) Form gotfocus

(a) Model                          
(b) Modular
(c) Modeless                    
(d) Module

(a) Seconds
(b) Milliseconds
(c) Minutes                       
(d) Hours

(a) Vector array                
(b) Linear array
(c) One-D array                      
(d) All these

Time: 3:11
(Subjective Part)

Section-I

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. (6 x 2 =12)

OR (Visual Basic)

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

SECTION –II

ATTEMPT ANY ONE QUESTION. (8x1=8)

MS-ACCESS

5. (a) What is a relationship? Explain the three types of relationship among the entities.
6. (a) Explain different data types available in MS-Access.

SECTION –III

ATTEMPT ANY TWO QUESTION . (8 x 2 = 16)

C-LANGUAGE OR VISUAL BASIC
C-LANGUAGE

7. (a) How would you creat, edit, compile, link and execute a C program? Discuss briefly.

OR
VISUAL BASIC

Define constant in Visual Basic. Explain in detail.

C-LANGUAGE

8. (a) Write a program that inputs a year and finds whether it is a leap year or not using if else structure .
Develop an application program to input a value for year and test weather it is leap year or not using if-then else structure..

OR VISUAL BASIC

9. (a) Define nested loop. Explain its working with the help of example.

OR VISUAL BASIC

Define and explain foment loop in Visual Basic.

SECTION –IV

10. ATTEMPT ANY THREE QUESTION . (5X3=15)