COMPUTER HSSC-II (2012)
SECTION-A

  NOTE:- Section-A is compulsory. All parts of this section are to be answered on the question paper itself. It should be completed in the first 25 minutes and handed over to
the Centre Superintendent Deleting/overwriting is not allowed. Do not use lead pencil.

Q. 1    Circle the correct option i.e. A/BICI D. Each part carries one mark.

A. Integrated Development Environment    
B. Integrated Dual Environment
C. Inter Development Environment         
D. Inter Dual Environment

A. 2              
B. 3              
C. 4                 
D. 5

A. sum = -num
B. sum = num               
C. sum- = num  
D. sum = - - num

A. Number        
B. Memo           
C. Date/Time      
D. Text

A. putc          
B. puts           
C. getc           
D. gets

A. DBMS           
B. Data                 
C. Record         
D. None of these

A. Comma         
B. Colon          
C. Semi colon     
D. Full stop

A. Editor        
B  Compiler       
C. Linker        
D. Preprocessor

A. If statement                        
B. Else if statement
C. Switch statement                     
D. None of these

A. Form           
B. Query          
C. Table          
D. Reports

A. int avg3(int a, int b, int c)        
B, int 3avg(int a, intb, int c)
C. int avg3(int, int, int )               
D. int avg_3(int al, int a2, int a3)

A. stdio.h      
B. conio.h        
C. string.h             
D. math.h

A  NULL           
B. 0(Zero)        
C. 1(One)         
D.  FILE Pointer

A. Flow chart     
B. ERD            
C. DFD            
D. Algorithm

A. Variable type
B. Variable name
C.  Format specifier  
D.  Escape sequence

SECTION -B

Q. 2   Attempt any THIRTEEN parts. The answer to each part should not exceed 5 to 6 lines                    

 

SECTION - C

Note:-  Attempt any THREE questions. All questions carry equal marks.        

Q. 3  a. Differentiate between user defined and built-in-function
Give examples of user defined and build-In-function                        

Q. 4 Write a program in C-language which accepts the weight in pounds and converts it into kilograms by using a function The relationship between pounds and kilograms is as under
1 pound = 0.4536 kg                                                              

Q. 5  a. Write a C program that will print the following pattern                    
1
1   2
1   2    3
1   2    3    4
1   2    3    4    5
b.    What is the purpose of gets and puts statements in C language?             

Q. 6 a.     How many types of comments are used in a C program? Explain with example   
b.    What meant by pre-processor directives'