You are on page 1of 1

UNIQUE SCHOOL SYSTEM ®

BHOBTIAN CHOWK
Date: 02-09-2022 Time: 40 min
Class: 10th Test: Computer Chapter#05 page 102 to 106 Total Marks: 25
Name: __________________________________________
Q.1: Choose the correct answer. (06)
i. Global variables are created in:
(a) RAM (b) ROM (c) Hard disk (d) Cache
ii. Function declaration consists of :
(a) Function name (b) Function return type (c) Number and types of parameters (d) All of these
iii. The process of sending an arguments to a function is called.
(a) Sending (b) Filtering (c) delivering (d) Passing
iv. The first line of function definition is known as:
(a) Function header (b) Function body (c) Arguments (d) Return type
v. A function cannot return more than ------------ values
(a) three (b) two (c) one (d) none of these
vi. Dividing the program into multiple function, improve the -------------- of the program.
(a) Reusability (b) readability (c) parameters (d) None of these

Q.2: Give the short answers to the following questions. Note: “Any 07” (14)
i. Define function.
ii. Define Build-in-functions.
iii. Define function parameters.
iv.
void abc (int a, int b, int c)
{
int sum = a + b + c;
}
int main()
{
int x = 4, y = 7, z = 23, sum1 = 0;
abc (x, y , z);
printf( “ %d %d %d “ x , y , z) ;
} Output=

v. Define calling a function.


vi. What do you know about the return keyword?
vii. Define function signature.
viii. Define user define function.
ix. How many types of function write only names?
x. Write the general structure of a function signature.

Q.3: Write the answer of the following long question. Note “Any One” (05)

(a) Describe the advantages of using functions in details.


(b) Write any five example of function signatures. (Hint: function description and function
signature

BEST OF LUCK ☺

You might also like