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
Python Casting and Input

Quiz
•
8th - 11th Grade
15 questions
UTS SMT Genap PBO 11 RPL

Quiz
•
11th Grade
11 questions
Python Intro 1

Quiz
•
7th - 12th Grade
15 questions
C - Language Quiz

Quiz
•
12th Grade
10 questions
Review Kotlin Day 1

Quiz
•
9th - 12th Grade
10 questions
Java Quiz 1: Introduction

Quiz
•
6th - 12th Grade
10 questions
Advanced Java Study Guide

Quiz
•
11th - 12th Grade
15 questions
Quiz Pemograman UTS

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade