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. Functions created by the user are called _____________ functions.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

7. What are mandatory parts in the function declaration?

 
 
 
 

8. The continue statement cannot be used with.

 
 
 
 

9. The global variable is defined in a declaration.

 
 
 
 

10. Local variables are declared _____________ any function.

 
 
 
 

11. cos(d) function consists of library.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

14. Function prototype is also called.

 
 
 
 

15. User defined function must have.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

18. Where does the execution of the program starts?

 
 
 
 

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

 
 
 
 

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

 
 
 
 


Scroll to Top