Recursion in Python

Recursion in Python

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

AP Unit 3

AP Unit 3

9th - 12th Grade

9 Qs

Flow Charts (OCR GCSE)

Flow Charts (OCR GCSE)

7th - 11th Grade

10 Qs

Flowchart Symbols

Flowchart Symbols

10th Grade

10 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Flow Chart Exit Ticket

Flow Chart Exit Ticket

10th Grade

10 Qs

CS Python Fundamentals Quiz 7 Review

CS Python Fundamentals Quiz 7 Review

9th - 12th Grade

10 Qs

Y9 - Inputs, Outputs, Flowcharts

Y9 - Inputs, Outputs, Flowcharts

8th Grade - University

10 Qs

Recursion Initiation

Recursion Initiation

11th Grade - Professional Development

10 Qs

Recursion in Python

Recursion in Python

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Larbi Yazid

Used 12+ times

FREE Resource

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