
Recursion Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following can be used to replace /* missing code */ so that the call bark(5) will cause "woof" to be printed five times? Options: bark(num - 5);, bark(num - 1);, bark(num);, bark(num + 1);, bark(num + 5);
Back
bark(num - 1);
2.
FLASHCARD QUESTION
Front
What value is returned by the method call calcMethod(16)?
Back
41
3.
FLASHCARD QUESTION
Front
What is printed as a result of executing the following statement?
System.out.println(goAgain("today", 1));
Back
todayodayay
4.
FLASHCARD QUESTION
Front
What value is returned as a result of the call mystery(9) ?
Back
25
5.
FLASHCARD QUESTION
Front
What value is returned as a result of the call mystery(2, 3)?
Back
No value is returned because mystery throws an ArrayIndexOutOfBoundsException.
6.
FLASHCARD QUESTION
Front
Which of the following is printed as a result of the call mystery(123456) ?
Back
123456
7.
FLASHCARD QUESTION
Front
What is printed as a result of executing the following code segment?
int[] array = {6, 8, 7, 9, 5};
mystery(array, 0);
Back
59786
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Passe Compose with Etre

Flashcard
•
10th - 12th Grade
10 questions
US History: Causes of the Civil War

Flashcard
•
9th - 12th Grade
6 questions
Y Preterit Verbs

Flashcard
•
9th - 12th Grade
6 questions
Cell Phone Free Act

Flashcard
•
9th - 12th Grade
10 questions
Advanced Formulas Knowledge Assessment

Flashcard
•
9th - 12th Grade
10 questions
PYTHON -- variables

Flashcard
•
9th - 12th Grade
10 questions
Test Administration Procedures

Flashcard
•
KG - University
12 questions
POR I - Regular -AR Verbs (Language Lab)

Flashcard
•
9th - 12th 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
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th 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