Java-Recursion

Java-Recursion

Assessment

Flashcard

9th - 12th Grade

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)?

Back

2

2.

FLASHCARD QUESTION

Front

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

Back

1

3.

FLASHCARD QUESTION

Front

What is the returned value of recMethod(5)?

Back

75

4.

FLASHCARD QUESTION

Front

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

Back

120

5.

FLASHCARD QUESTION

Front

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

Back

ab

6.

FLASHCARD QUESTION

Front

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

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

Back

1

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?