Lesson 28 - Recursive and anonymous function

Lesson 28 - Recursive and anonymous function

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Reka Bentuk Elektronik (Bahagian 1)

Reka Bentuk Elektronik (Bahagian 1)

8th Grade

11 Qs

Home Economics

Home Economics

6th Grade

9 Qs

PH 2 ADUM-Komunikasi ditempat kerja

PH 2 ADUM-Komunikasi ditempat kerja

KG - 10th Grade

15 Qs

Mugal Empire

Mugal Empire

6th - 7th Grade

8 Qs

Leaders and Ethics

Leaders and Ethics

6th Grade

10 Qs

Yellow Face

Yellow Face

KG - Professional Development

10 Qs

CARMA

CARMA

1st - 8th Grade

10 Qs

MAGAZINE

MAGAZINE

2nd Grade - University

15 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?

Discover more resources for Professional Development