Computer Science
Inter Part-II
Gujranwala Board 2016
Paper: II
Time: 20 min
OBJECTIVE
Marks: 17

Note: you have four choices for each objective 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.  Attempt as many questions as given in objective type question paper and leave others blank.

MS-ACCESS AND C-LANGUAGE

(A) searching
(B) sorting
(C) summarizing                    
(D) capturing

(A) master file                        
(B) transaction file
(C) backup                             
(D) index sequential file

(A) candidate key                               
(B) primary key
(C) foreign key                                  
(D) sort key

(A) relationship                                 
(B) entities
(C) attributes                          
(D) identifiers 

(A)full functional dependency
(B)partial functional dependency
(C)transitive dependency
(D)non-functional dependency

(A) F***                                 
(B) F###
(C) F*4                                  
(D) F???

(A) layout view                                   
(B) design view
(C) data sheet view                
(D) pivot view

(A) creating                             
(B) compiling
(C) linking                             
(D) executing

(A) 1                                       
(B) 2
(C) 4                                      
(D) 8

(A) % c                                               
(B) % d
(C) % x                                  
(D) % f

(A) \ r                                      
(B) \ f
(C) \ n                                    
(D) \t

(A) logical operators               
(B) relational operators
(C) arithmetic operators         
(D) bitwise operators

(A) if statement                       
(B) conditional operator
(C) if-else-if statement                       
(D) if-else-if statement

(A) for loop                            
(B) do-while loop
(C) while loop                        
(D) counter loop

(A) initialization                      
(B) test condition
(C) increment                         
(D) decrement

(A) function declaration         
(B) function prototype
(C) function call                    
(D) function definition

(A) f putc ( )                           
(B) f puts ( )
(C) f printf ( )                         
(D) f scanf ( )


OR
MS-ACCESS AND VISULAL BASIC

(A) searching                          
(B) sorting
(C) summarizing                    
(D) capturing

(A) master file                        
(B) transaction file
(C) backup file                                  
(D) index sequential file

(A) candidate key                   
(B) primary key
(C) foreign key                                  
(D) sort key

(A) relationships                     
(B) entities
(C) attributes                          
(D) identifiers

(A)full functional dependency
(B)partial functional dependency
(C)transitive dependency
(D)non-functional dependency

(A) F***                                 
(B) F###
(C) F*4                                  
(D) F???

(A) layout view                                   
(B) design view
(C) data sheet view                
(D) pivot view

(A) VISUAL BASIC FORM    
(B) VISUAL BASIC PROJECT
(C) VISUAL BASIC CONTROL        
(D) VISUAL BASIC OBJECTS

(A) 1
(B) 2
(C) 4                                      
(D) 8

(A) VbOK Retry Ignore                      
(B) VbOK Cancel
(C) VbOK Only                     
(D) VbNewLine

(A) C Int ( )                             
(B) Cls
(C) hide                                 
(D) load

(A) Logical operators              
(B) Relational operators
(C) Arithmetic operators        
(D) Bitwise operators

(A) IF…THEN                        
(B) IF… THEN ELSE
(C) EXTENDED IF…. THEN ELSE
(D) REPEAT…UNTIL

(A) WHILE…. WEND            
(B) DO….LOOP…WHILE
(C) FOR… NEXT                  
(D) DO…UNTIL… LOOP

(A) STEP                                
(B) Initialization
(C) NEXT                              
(D) TO

(A) Selected                            
(B) sel Length
(C) Sel Text                            
(D) Text

(A) 1                                       
(B) 2
(C) 3                                      
(D) 4            

Computer Science
Inter Part –II
Gujranwala Board 2016

Paper: II
Tim:3:10 Hours
SUBJECTIVE
Marks:83

Note: Section I is compulsory.

(SECTION-I)

2.Write short answers to any EIGHT questions: (16)

MS-ACCESS

C-Language

3.Write short answers to any EIGHT questions: (16)

OR
VISUAL BASIC

3.Write short answers to any EIGHT questions: 16

C-Language

4.Write short answers to any SIX questions:12

OR
VISUAL BASIC

4. Write short answers to any SIX questions:

(SECTION –II)
MS-ACCESS

Note: Attempt any ONE question.

(SECTION – III)
Note:   Attempt any  TWO     questions (either from “C Language” or from “Visual Basic”).
C-LANGUAGE

5. Define variable. Write down at least six rules for naming variables in C-Language.   8
6.
Write a program that inputs two numbers and find whether second number is square of first number of not. 8
7.
Define nested loop.Write its syntax and explain its working using an example. 8

OR
VISUAL BASIC

5. Define common mouse event. Explain any three types in detail. 8
6.
Write a procedure in Visual Basic that inputs two numbers and finds the greater between them. 8                                           
7. Define do until loop, Give its syntax and explain its working using flow chart diagram. 8

SECTION IV (PRACTICAL)

Note: Attempt any THREE parts.

9. (a) Explain the procedure to extract data from multiple table. 5
(b) Explain the procedure for crating table in MS-Access. 5
(c )Write a program that inputs a number and displays whether it is odd or even in C-Language or Visual Basic. 5
(d) Write a program which takes a number from user and displays its cube in C-Language or Visual Basic. 5
(e) Write a program that displays product of off number from 5 to 10 using for loop in C-Language or in Visual Basic. 5