Lesson 28 - Recursive and anonymous function

Lesson 28 - Recursive and anonymous function

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Lesson 35 - Math module and installation of external module

Lesson 35 - Math module and installation of external module

5th - 8th Grade

10 Qs

BASIC COMPUTER

BASIC COMPUTER

7th - 8th Grade

15 Qs

What's the Code?

What's the Code?

4th Grade - Professional Development

10 Qs

Lesson 25 - datetime module

Lesson 25 - datetime module

5th - 8th Grade

10 Qs

Lesson 31 Test-4

Lesson 31 Test-4

5th - 8th Grade

15 Qs

Lesson 33 - Collection module

Lesson 33 - Collection module

5th - 8th Grade

10 Qs

Lesson 42 - file related functions

Lesson 42 - file related functions

5th Grade

10 Qs

Lesson 27 – Concept of arguments

Lesson 27 – Concept of arguments

5th - 8th Grade

10 Qs

Lesson 28 - Recursive and anonymous function

Lesson 28 - Recursive and anonymous function

Assessment

Quiz

Professional Development, Education

5th - 8th Grade

Easy

Created by

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?