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. A function prototype is.

 
 
 
 

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

 
 
 
 

3. User defined function must have.

 
 
 
 

4. The continue statement cannot be used with.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

7. cos(d) function consists of library.

 
 
 
 

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

 
 
 
 

9. Function prototype is also called.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

12. The global variable is defined in a declaration.

 
 
 
 

13. Local variables are declared _____________ any function.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

17. Where does the execution of the program starts?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

20. What are mandatory parts in the function declaration?

 
 
 
 


Scroll to Top