Recursion in Java

Recursion in Java

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Recursion in Java

Recursion in Java

12th Grade

12 Qs

A Level Computing 1.2.4a Programming Paradigms

A Level Computing 1.2.4a Programming Paradigms

12th Grade

15 Qs

Recursion Quiz (CP 2)

Recursion Quiz (CP 2)

10th - 12th Grade

15 Qs

TN +2 -LESSON1 FUNCTIONS

TN +2 -LESSON1 FUNCTIONS

12th Grade

20 Qs

Python User Defined Functions

Python User Defined Functions

12th Grade

14 Qs

Recursion

Recursion

10th Grade - University

10 Qs

2.2 Programming techniques - repetition

2.2 Programming techniques - repetition

11th Grade

10 Qs

icpcNU_ Loops and Arrays

icpcNU_ Loops and Arrays

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?