
Java-Recursion
Flashcard
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 1+ times
FREE Resource
Student preview

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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?