Class 10 Computer Science Unit 5 – Functions focuses on breaking programs into smaller, manageable blocks called functions. This helps students write organized, reusable, and efficient code.
In this unit, students learn about:
-
Definition and purpose of functions
-
Types of functions (built-in and user-defined)
-
Function declaration, definition, and calling
-
Passing arguments to functions
-
Return values from functions
Important MCQs – Unit 5 Functions
1. The functions which are available in C Standard Library are called:
a) User-defined
b) Built-in ✅
c) Recursive
d) Repetitive
2. printf() function is used to:
a) Take input from the user
b) Display output on the screen ✅
c) Perform calculations
d) Terminate a program
3. scanf() function is used to:
a) Display output
b) Take input from the user ✅
c) Print values
d) Store data permanently
4. Functions defined by the programmer are called:
a) Built-in functions
b) User-defined functions ✅
c) Main functions
d) Inline functions
Download PDF
Download the complete chapter notes in PDF for easy learning and quick exam revision.
English Medium
Includes all examples, solved questions, and detailed explanations.
Urdu Medium
Available in Urdu for better understanding and exam preparation.