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. The abs(25) function return the value:

 
 
 
 

2. User defined function must have.

 
 
 
 

3. The global variable is defined in a declaration.

 
 
 
 

4. A function prototype is.

 
 
 
 

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

 
 
 
 

6. Local variables are declared _____________ any function.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

10. Where does the execution of the program starts?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

13. The continue statement cannot be used with.

 
 
 
 

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

 
 
 
 

15. What are mandatory parts in the function declaration?

 
 
 
 

16. cos(d) function consists of library.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

20. Function prototype is also called.

 
 
 
 


Scroll to Top