Java-Recursion

Java-Recursion

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

AP Stat Sampling

AP Stat Sampling

12th Grade - University

15 Qs

Methods in Java

Methods in Java

11th - 12th Grade

10 Qs

AP CSA Recursion

AP CSA Recursion

10th Grade - University

10 Qs

AP Computer Science A Recursive

AP Computer Science A Recursive

10th Grade - University

10 Qs

Reformation and Scientific Revolution Review

Reformation and Scientific Revolution Review

9th - 12th Grade

17 Qs

Methods in Java

Methods in Java

10th - 12th Grade

11 Qs

Warships (Lower 6th)

Warships (Lower 6th)

11th Grade - University

12 Qs

Multiplying Binomials

Multiplying Binomials

9th Grade

10 Qs

Java-Recursion

Java-Recursion

Assessment

Quiz

9th - 12th Grade

Medium

Created by

Dara Kirschenbaum-Perry

Used 723+ times

FREE Resource

12 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

5 mins • 1 pt

Media Image

What is the output of this program?

0

1

120

None of the above

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image
What is the returned value of recMethod(5)?
68
70
75
82

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the output of this program?

24

30

120

720

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the action of method mystery2?

a+b

a*b

ab

ba

a!

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image
What is printed as a result of the call stringMaker("COMPSCI")?
COMPSCI
COMPSC
COMPS
COMP
COM
CO
C
COMPSCI
OMPSCI
MPSCI
PSCI
SCI
CI
I
CO
COM
COMP
COMPS
COMPSC
COMPSCI
C
CO
COM
COMP
COMPS
COMPSC
COMPSCI

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the output of this program?

1

30

120

Runtime error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?