
Recursion in Java
Authored by Nishat Khimani
Computers
11th - 12th Grade
Used 129+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is returned as a result of the call mystery(4,6)?
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the output of this program?
0
1
120
None of the above
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the returned value of recMethod(5)?
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the output of this program?
24
30
120
720
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the action of method mystery2?
a+b
a*b
ab
ba
a!
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is printed as a result of the call stringMaker("COMPSCI")?
COMPSC
COMPS
COMP
COM
CO
C
OMPSCI
MPSCI
PSCI
SCI
CI
I
COM
COMP
COMPS
COMPSC
COMPSCI
CO
COM
COMP
COMPS
COMPSC
COMPSCI
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the action of method mystery3?
a+b
a*b
ab
ba
a!
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?