Search Header Logo
Java-Recursion

Java-Recursion

Assessment

Flashcard

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Media Image

Back

2

2.

FLASHCARD QUESTION

Front

What is the output of this program? Options: 0, 1, 120, None of the above

Media Image

Back

1

3.

FLASHCARD QUESTION

Front

What is the returned value of recMethod(5)?

Media Image

Back

75

4.

FLASHCARD QUESTION

Front

What is the output of this program? Options: 24, 30, 120, 720

Media Image

Back

120

5.

FLASHCARD QUESTION

Front

What is the action of method mystery2? Options: a+b, a*b, ab, ba, a!

Media Image

Back

ab

6.

FLASHCARD QUESTION

Front

What is printed as a result of the call stringMaker("COMPSCI")?

Media Image

Back

C, CO, COM, COMP, COMPS, COMPSC, COMPSCI

7.

FLASHCARD QUESTION

Front

What is the output of this program? Options: 1, 30, 120, Runtime error

Media Image

Back

1

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?