Online MCQs Test – Functions – Computer 10th

Class 10th | Computer | Chapter 5 | Functions | Solved Online MCQs Test

Online MCQs Test of Chapter 5 (Functions) Computer Class 10th Science Group – Sindh Board. According to New Examination Pattern / Syllabus of Sindh Board

1. In this statement “void main (void)” the first void is:

 
 
 
 

2. Function prototype is also called.

 
 
 
 

3. What are mandatory parts in the function declaration?

 
 
 
 

4. Which of the following is the default return data type of functions in C++?

 
 
 
 

5. The function int cal2(a, b);

 
 
 
 

6. What will happen when we use void in argument passing?

 
 
 
 

7. The global variable is defined in a declaration.

 
 
 
 

8. The function add( ); is the example of

 
 
 
 

9. Which of the following is used to terminate the function declaration?

 
 
 
 

10. User defined function must have.

 
 
 
 

11. What is the scope of the variable declared in the user defined function?

 
 
 
 

12. The abs(25) function return the value:

 
 
 
 

13. The continue statement cannot be used with.

 
 
 
 

14. Where does the execution of the program starts?

 
 
 
 

15. A function prototype is.

 
 
 
 

16. Local variables are declared _____________ any function.

 
 
 
 

17. Definition of built-in functions are stored in _________ files.

 
 
 
 

18. Functions created by the user are called _____________ functions.

 
 
 
 

19. How many minimum numbers of function should be present in a C++ program for its execution?

 
 
 
 

20. cos(d) function consists of library.

 
 
 
 


Scroll to Top