Lesson 28 - Recursive and anonymous function

Lesson 28 - Recursive and anonymous function

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Internet Saftey

Internet Saftey

7th Grade

8 Qs

الطعام

الطعام

6th Grade

10 Qs

MEKATRONIK TING.3

MEKATRONIK TING.3

5th Grade

15 Qs

Week 2 Reconnection - 2.0

Week 2 Reconnection - 2.0

5th - 6th Grade

10 Qs

Quiz level 3

Quiz level 3

3rd Grade - University

10 Qs

html-2

html-2

6th - 8th Grade

15 Qs

Tynker Tynker

Tynker Tynker

3rd Grade - Professional Development

9 Qs

Fault Finding

Fault Finding

1st - 12th Grade

14 Qs

Lesson 28 - Recursive and anonymous function

Lesson 28 - Recursive and anonymous function

Assessment

Quiz

Professional Development, Education

5th - 8th Grade

Practice Problem

Easy

Created by

NotchUp .co

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?