Class 10 Computer Chapter 5


Total Marks: 10

1. Functions could be built-in or _________ .
Admin defined Server defined User defined Both a & c
2. The functions which are available is C Standard Library are called _________ .
User - defined Built - in Recursive Repetitive
3. char cd() {return = \'a\';}. In this function \" char\" is ________ .
Body Return type Array Arguments
4. _______ provides us with functions that allow us to solve a programming problem using the divide the conquer approach.
C programming language High level langauge Assembly language All of these
5. A function is a ________ of statements.
Block Segment Function Attribute
6. Which Functions allow us to separate the code of one task from the code of other tasks?
Reusability Separation of task Handing the complexity of the problem Function signature
7. Which Functions divide the program into smaller units , and thus reduce the complexity of the problem?
Separation of task Handling the complexity of the problem Function signature Reusability
8. A function that takes an integer as input and returns its square.
int square (int); Float perimeter (float , float); int larger ( int , int, int); Float area (float);
9. A function that takes a character as input and returns 1, if the character is a vowel, otherwise returns 0.
Float area (float); Int in Vowel (char); Int square (int); Int larger (int, int, int);
10. The general structure used to make a function call.
Function_name(value1, value2, ......, value3); Function_name(value1, value2, ......, value4); Function_name(value1, value2, ......, value5); Function_name(value1, value2, ......, valueN);