St. Britto Hr. Sec. School - Madurai
12th Computer Science Monthly Test - 1 ( Python functions )-Aug 2020
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
What are arguments? What are the types?
-
Write the syntax for passing arguments to functions.
-
Write the output of the following program.
-
What are called tuples?
-
How to set the limit for recursive function? Give an example.
-
Write the output for the following.
(i) Print ( ord ('a'))
(ii) Print (chr (65))
(iii) Print (bin (15))
(iv) Print (format (15, 'b')) -
Write the output for the following program
-
What is function?
-
Define global scope.
-
How the nested block are indented?
-
Write a note on (i) min (), (ii) max (), (iii) sum ().
-
-
Write a note on format () with an example.
-
What are the points to be noted while defining a function?
-
-
Write a note on (i) floor(), (ii) ceil(), (iii) Sprt ().
-
What is composition in functions?
-
Write the rules of local variable.
-
What happens when we modify global variable inside the function?
-
Differentiate ceil() and floor() function?
-
Write a note on "Required arguments".
-
Write a Python code to check whether a given year is leap year or not
-
What is the use of global keyword? Explain with an example?
-
Explain the different types of function with an example.
-
Explain recursive function with an example.
-
Write a python program to find HCF of two numbers using recursion.
-
-
Write a python program to find Fibonacci series of n terms using recursion.
-
Write a Python code to find the L.C.M. of two numbers.
-
-
Explain different types arguments used in python with an example.