Recursion in Java

Recursion in Java

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

13CS_RECURSION &DECLARATIVE PROGRAMS_TEST1

13CS_RECURSION &DECLARATIVE PROGRAMS_TEST1

12th Grade - University

20 Qs

AP Computer Science A Recursive

AP Computer Science A Recursive

9th - 12th Grade

10 Qs

AP CSA Unit 10 Recursion

AP CSA Unit 10 Recursion

9th - 12th Grade

10 Qs

Recursion

Recursion

12th Grade

20 Qs

Java Recursion

Java Recursion

12th Grade

20 Qs

Class 12 Recursion

Class 12 Recursion

12th Grade - University

10 Qs

GCSE Computer Science - Python Programming Concepts

GCSE Computer Science - Python Programming Concepts

9th - 11th Grade

17 Qs

A Level Computing 1.2.4a Programming Paradigms

A Level Computing 1.2.4a Programming Paradigms

12th Grade

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