Lesson 28 - Recursive and anonymous function

Quiz
•
Professional Development, Education
•
5th - 8th Grade
•
Easy
NotchUp .co
Used 27+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which keyword is used to define an anonymous function ?
function
lambda
anonymous
none
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Anonymous function is which type of function ?
single line function
multi line function
both
none
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
recursive function is which type of function ?
function calling other function
function calling itself
anonymous function
none
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code ?
Print((lambda a,b:a+b)(10,20))
10
20
30
none
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code ?
321
345
123
none
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of function is known as single line expression ?
anonymous function
recursive function
both
none
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Recursive functions must have ?
recursive name
single line expression
termination condition
none
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Misinformation or Disinformation

Quiz
•
1st - 5th Grade
10 questions
Google Apps for Education

Quiz
•
KG - University
10 questions
PYTHON ISHAAN2412

Quiz
•
6th - 9th Grade
15 questions
VU6 Super Smash Brothers Ultimate Review

Quiz
•
7th Grade
15 questions
Lesson 7 - Test 1

Quiz
•
5th - 8th Grade
15 questions
Verb To Be - Affirmative Present Tense

Quiz
•
KG - Professional Dev...
10 questions
Pocoyo

Quiz
•
KG - Professional Dev...
10 questions
MS Word 2016: Grade 3 GIS

Quiz
•
3rd - 5th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade