Recursion Contest
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Hard
Herman Galioulline
Used 29+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Python Testing
Quiz
•
9th - 12th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
15 questions
Algorithms
Quiz
•
7th - 10th Grade
10 questions
Fundamentals of Algorithms
Quiz
•
10th Grade
10 questions
Managing and Formatting Word Documents
Quiz
•
12th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
