
Recursion Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz 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
15 questions
Preschool Flashcard Bee Easy

Flashcard
•
KG
5 questions
AP Computer Science A: <= Unit 4

Flashcard
•
10th - 12th Grade
9 questions
عناوين العمليات بلغة جافا

Flashcard
•
10th Grade - University
6 questions
Unit 5, Lesson 3 Flashcards

Flashcard
•
9th - 12th Grade
12 questions
7.0 Screen Printing

Flashcard
•
9th - 12th Grade
11 questions
2.01 Project management 1

Flashcard
•
9th - 12th Grade
12 questions
VdL Java Inheritance Flashcard

Flashcard
•
11th Grade
15 questions
Pronoun Antecedent Agreement Review - Mon Dec 16th

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade