St. Britto Hr. Sec. School - Madurai
12th Computer Science Weekly Test - 1 ( Python functions )-Aug 2020
-
-
-
-
-
-
-
-
-
-
-
-
Write the syntax of variable - length arguments.
-
Write the output for the following.
(i) Print ( ord ('a'))
(ii) Print (chr (65))
(iii) Print (bin (15))
(iv) Print (format (15, 'b')) -
What is meant by scope of variable? Mention its types.
-
What is anonymous function or lambda function?
-
Write the rules of local variable.
-
Write a note on "Required arguments".
-
Differentiate ceil() and floor() function?
-
Write a note on (i) min (), (ii) max (), (iii) sum ().
-
-
What is the use of global keyword? Explain with an example?
-
Write the advantages of user - defined functions.
-
-
Explain the different types of function with an example.
-
Explain different types arguments used in python with an example.
-
-
Write a python program to find Fibonacci series of n terms using recursion.
-
Explain the following built-in functions.
(a) id()
(b) chr()
(c) round()
(d) type()
(e) pow()
-