Recursion in Python

Recursion in Python

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

MEDIA AND INFORMATION LITERACY

MEDIA AND INFORMATION LITERACY

12th Grade

10 Qs

To Change or Not to Change?

To Change or Not to Change?

12th Grade

10 Qs

Quiz Lec2

Quiz Lec2

KG - University

10 Qs

Threats to Data

Threats to Data

9th - 12th Grade

11 Qs

Alat - Alat Fiber Optic dan Fungsinya

Alat - Alat Fiber Optic dan Fungsinya

10th Grade

10 Qs

Identifying devices

Identifying devices

12th Grade

11 Qs

Recursion in Python

Recursion in Python

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Created by

Larbi Yazid

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Discover more resources for Computers