Search Header Logo

Recursion in Python

Authored by Larbi Yazid

Computers

10th - 12th Grade

Used 13+ times

Recursion in Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following defines the best the Recursion?

The process in which a function can call many functions at the same time

The process in which a function can return many results at the same time

The process in which a function calls itself directly or indirectly

The process in which a function can receive many parameters at the same time

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT an example of recursion?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following?

4

6

8

10

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following?

12

13

14

15

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the code to calculate the factorial of a number?

4! = 4*3*2*1 =24

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following code?

1

8

16

20

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?