Recursion Quiz

Recursion Quiz

Assessment

Interactive Video

Computers

12th Grade

Easy

Created by

Nicol Sutherland

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Media Image

What is the main example shown in the video about how recursion is used?

A calendar on a year that has leap year (Feb 29th)

A help-desk call center with mutliple calls about the same topic

Nested dolls (one within another)

A file system (with files and folders)

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

At it's simplest form, what is a recursion in programming?

A function that recreates itelf

A function that calls itself

A function that has multiple parameters that enables randomizaation

A function that constructs parameters that enable regression

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is your "kick" that takes you back to the calling function?

An exit condition

A collaborative operator

An index value

A set sequence of values

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

A common example of recursion is calculating just noted in the video is (the/a/an):

DNA sequence

Fibonacci sequence

Prime number sequence

Index set sequence

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What number do we finally get to at the top of the call stack?

42

87

72

34