CBSE Class 11
Functions practice questions for CBSE Class 11 Computer Science
Revise functions with topic-based practice questions. Preview the question format and start a sample session when you are ready.
See the question style before signup · Get instant feedback · Continue with focused practice
Try a sample question
Check your answer to see the explanation where one has been published.
Try this question
A function that calls itself, directly or indirectly, is known as a:
1 sample question · No signup needed
2
What will be the output?
def f(n):
if n == 0:
return 0
return n + f(n - 1)
print(f(3)) 3
A lambda that squares a number can be written as:
Start a sample session
50 published questions available for this topic.