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 Quizizz
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
10 questions
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
12 questions
Unit 6 practice Lists, no loops

Quiz
•
12th Grade
15 questions
Intro to Java Loops

Quiz
•
9th - 12th Grade
10 questions
AP CSA Unit 1 & 2 Review

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

Quiz
•
12th Grade
10 questions
Quiz 13 - For Loops

Quiz
•
11th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University