You are on page 1of 1

ANSWER THE FOLLOWING QUESTIONS:

1. Define function?
2. What are the advantages of functions?
3. From the program code given below, identify the parts
mentioned below:
def processnumber(x):
X = 72
Return x + 3

Y = 54
Res = processnumber(Y)
Identify: function header, function call, arguments,
parameters, function body, main program.
4. What are all the information does a function header give
you about the function?
5. What do you understand by flow of execution?

You might also like