Search Header Logo

Recursion Post-test

Computers

10th Grade - University

Used 10+ times

Recursion Post-test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is returned as a result of the call mystery(4,6)?

2
3
4
1

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is the best definition of a recursive method?

A method that iterates itself exactly 5 times.
A method that invokes itself by name within the method.
A method that will never iterate infinitely.
A method that cannot be called more than once.

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

What is the returned value of recMethod(5)?

68
70
75
82

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Will recursion(5) iterate infinitely? 

Yes
No

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

What is the returned value of digits(-24684)?

20
18
24
23

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Will recursive(50) iterate infinitely?

Yes
No

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Is this method recursive?

yes
no
it depends on what n is

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?