Recursion Contest

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Herman Galioulline
Used 29+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
1234
4321
12344321
43211234
Many digits are printed due to infinite recursion.
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
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
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
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
I only
II only
III only
II and III only
I, II, and III
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
1
3
4
5
7
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
-1
5
6
7
8
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Microbit (python)

Quiz
•
8th - 10th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
10 questions
Java Data Types

Quiz
•
11th Grade
10 questions
Java Classes and Objects

Quiz
•
12th Grade
15 questions
Intro to Java Loops

Quiz
•
9th - 12th Grade
12 questions
C++ References

Quiz
•
6th - 12th Grade
10 questions
Objects & Classes

Quiz
•
11th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade