Recursion in Java

Recursion in Java

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Computing figures

Computing figures

4th - 12th Grade

14 Qs

Written Works 4 (ICT A)

Written Works 4 (ICT A)

11th Grade

20 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

Primary storage

Primary storage

9th - 11th Grade

20 Qs

Baze de date-Design

Baze de date-Design

12th Grade

10 Qs

Recursion in Java

Recursion in Java

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Medium

Created by

Nishat Khimani

Used 117+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?