Inter (Part-II)
Lahore Board 2016

Computer Science
Part II
(Objective Type)

Time Allowed: 20 Minutes
Max. Marks: 17

Note: Four possible answers A, B, C and D to each question are given. The choice which you think is correct, fill that circle in front of that question with Marker or Pen ink in the answer-book. Cutting or filling two or more circles will result in zero mark in that question.

Q1.

(MS-ACCESS)

a. 2            
b. 4             
c. 6                      
d. 8

a. Sequential file                                                            
b. Random file
c. Indexed Sequential file                                                        
d. Direct Access File

a. Attributes                  
b. Relationship    
c. Entities             
d. Cardinalities

a. Pencil                        
b. Black Arrow             
c. Key                  
d. Asterik

a. Sort Query List                                                          
b. Self Quantifying Language
c. Structured Query Language                                       
d. Sort Quantifying Language

a. Increase redundancy                                                 
b. Increase Inconsistency
c. Get Stable data structure                                           
d. Increasing anomalies

a. Composite key          
b. Secondary key           
c. Sort key           
d. Primary key

C-Language OR Visual Basic

a. The final value of a loop
b. A variable that counts loop iterations
c. The initial value of a loop
d. The step value of a loop

a. \0          
b. /0           
c. \a            
d. \n

a. Nested loop                                                                                 
b. Complex loop
c. Running loop                                                                                
d. Infinite loop

a. One operand              
b. Two operand   
c. Three operand           
d. Four operand

a. Function Body                                                                             
b. Function Call
c. Function Arguments                                                                     
d. Function header

a. \n            
b. \m                     
c. \b            
d. \a

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

a. Relational                           
b. Repetition       
c. Sequence                   
d. Decision

a. Number                     
b. Underscore      
c. Period                        
d. Letter

a. .h                               
b. .obj                           
c. .txt                            
d. .c

OR
(Visual Basic)

a. Variable 
b. Constant
c. Named constant        
d. Symbolic constant

a. Step                 
b. Skip                          
c. Interval            
d. Do Next

a. Integer remainder      
b. Division           
c. Multiplication  
d. Exponentiation

a. Activate           
b. Terminate                            
c. Initialize           
d. Start

a. Sequential        
b. Iteration                    
c. Repetition                 
d. Selection

a. Text box          
b. Button                       
c. Label                
d. Property

a. Program executables                                                 
b. Visual Basic Controls
c. Shortcut to menu items                                                       
d. Properties values

a. Active                       
b. Passive            
c. Reactive           
d. Event driven

a. Compiler                   
b. Assembler       
c. Interpreter       
d. Debugger

a. BASIC                      
b. PASCAL         
c. FORTRAN
d. Assembly Language

Inter (Part-II)
Lahore Board 2016
Computer Science
Part II
(Subjective Type)

Time Allowed: 3.10 Hours
Max. Marks: 83

Section I
(MS-ACCESS)

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

(C-Language)

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

OR
(Visual Basic)

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

(C-Language)

Q4. Write short answers to any SIX (6) questions: (12)

OR
(Visual Basic)

Q4.    Write short answers to any SIX (6) questions: (12)

Section II
Note: Attempt any ONE question.

Q5.    Briefly describe the four advantages and four disadvantages of database management system.  (8)
Q6.    What is table? Write down six characteristics of table. 2,6

Section III
Note: Attempt any TWO descriptive answers (either from “C-Language” or from “Visual Basic”) of the following questions.

(C-Language)

Q7.    What necessary steps are taken to prepare a C program for execution? Explain in detail. (8)
Q8.    Write a program to input a character through keyboard and check whether it is vowel or consonant. (8)
Q9.    Define nested loop. Write its syntax. Explain its working with the help of example. 2,2,4

OR
(Visual Basic)

Q7.    What is meant by IDE in Visual Basic? Describe different components or elements or IDE. (8)
Q8.    Write a program to input a character through keyboard and check whether it is vowel or consonant.  (8)
Q9.    What is nested loop in Visual Basic? Write its syntax. Explain its working with the help of example. (8)

Section IV (Practical Part)
Note: Attempt any TRHEE questions.

A. Write the procedure for finding data in MS-Access.  (5)
B. Write the procedure to edit record through forms.  (5)
C. Write a program in C-language or VB that inputs a distance in kilometers and converts into meters. (5)
D. Write a program in C-language or VB that displays first ten numbers and their sum using while loop. (5)
E. Write a program in C-language or VB that displays your board roll no and class using function. (5)