Recursion in Java

Recursion in Java

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

AP CSA Recursion

AP CSA Recursion

9th - 12th Grade

10 Qs

2.2.1 Programming techniques

2.2.1 Programming techniques

11th Grade

20 Qs

TN +2 -LESSON1 FUNCTIONS

TN +2 -LESSON1 FUNCTIONS

12th Grade

20 Qs

Loops, Lists, Traversals test

Loops, Lists, Traversals test

11th Grade

18 Qs

Practice for 10th AP Java quiz (old)

Practice for 10th AP Java quiz (old)

10th - 12th Grade

11 Qs

Recusion

Recusion

12th Grade

19 Qs

GCSE Computer Science - Python Programming Concepts

GCSE Computer Science - Python Programming Concepts

9th - 11th Grade

17 Qs

Recursion Practice, Recursion Practice, Recursion Practice...

Recursion Practice, Recursion Practice, Recursion Practice...

10th Grade - University

10 Qs

Recursion in Java

Recursion in Java

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Nishat Khimani

Used 113+ times

FREE Resource

15 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 action of method mystery3?

a+b

a*b

ab

ba

a!

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?

Discover more resources for Computers