Lesson 28 - Recursive and anonymous function

Lesson 28 - Recursive and anonymous function

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Lets Learn some English

Lets Learn some English

5th - 8th Grade

15 Qs

Types of nouns

Types of nouns

6th Grade

15 Qs

SQL Quiz

SQL Quiz

6th - 8th Grade

10 Qs

Get to the root of it unit 9

Get to the root of it unit 9

5th Grade

10 Qs

G Suite - The Basics

G Suite - The Basics

KG - 12th Grade

14 Qs

Accommodations and Modifications

Accommodations and Modifications

KG - University

15 Qs

PICQUIZ

PICQUIZ

3rd - 5th Grade

10 Qs

Ways of Food Preservation

Ways of Food Preservation

6th Grade

10 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

Create a free account and access millions of resources

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?