Recursion Contest

Recursion Contest

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

Pengenalan Perwakilan Data

Pengenalan Perwakilan Data

12th Grade

10 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

Vocabulary Quiz - Computer - 01

Vocabulary Quiz - Computer - 01

12th Grade - University

10 Qs

الشبكات السلكية واللاسلكية والانترنت

الشبكات السلكية واللاسلكية والانترنت

11th Grade

15 Qs

AIJ XI TKJ

AIJ XI TKJ

11th Grade

10 Qs

Pretest Aplikasi Pengolah Angka

Pretest Aplikasi Pengolah Angka

10th Grade

15 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Recursion Contest

Recursion Contest

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Hard

Created by

Herman Galioulline

Used 29+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

1234

4321

12344321

43211234

Many digits are printed due to infinite recursion.

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

words.remove(0);

printRightToLeft(words);

words.remove(words.size());

printRightToLeft(words);

words.remove(words.size() - 1);

printRightToLeft(words);

printRightToLeft(words);

words.remove(0);

printRightToLeft(words);

words.remove(words.size() - 1);

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

int val = maximum(data, start);

int val = maximum(data, start - 1);

int val = maximum(data, start + 1);

int val = maximum(data[start - 1], start);

int val = maximum(data[start + 1], start);

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

The variable total should be initialized to 1.

The variable x should be initialized to 0.

The condition in the while loop header should be x < n - 1.

The condition in the while loop header should be x <= n.

No change is required; the methods, as currently written, return the same values when they are called with the same positive integer parameter n.

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

I only

II only

III only

II and III only

I, II, and III

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

1

3

4

5

7

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

-1

5

6

7

8

Access all questions and much more by creating a free account

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

Already have an account?