Which of the following is not essential in a recursive algorithm?
Recursive Algorithms

Quiz
•
Computers
•
12th Grade
•
Medium
R Woodruff
Used 69+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Base Case
Recursive Case
Contains a stack
Stop after a finite number of calls
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The sub routine calls itself within the algorithm
Base Case
Recursive Case
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The sub routine has a stopping condition that causes it to unwind
Base Case
Recursive Case
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A recursive algorithm must always contain a base case
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
RuntimeError: maximum recursion depth exceeded
: what does this mean
The program has crashed because it is taking too long
The program has crashed because it has run out of memory
The program has crashed because the user entered the wrong value
The program has crashed because a variable had the wrong variable name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the base case?
n
n - 1
n = n + calcSum (n-1)
if n > 0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the best definition of a recursive method?
A method that iterates itself exactly 5 times.
A method that calls itself by name within the method.
A method that will never iterate infinitely.
A method that cannot be called more than once.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
002_Java Methods

Quiz
•
12th Grade - University
20 questions
Computer Science Holiday Assignment

Quiz
•
12th Grade
15 questions
Recursion in Python Quiz

Quiz
•
12th Grade
15 questions
DSA 02c Recursion Quiz

Quiz
•
12th Grade
10 questions
IT English Essentials: Unit 13 - Quiz 1

Quiz
•
12th Grade
20 questions
Recursion

Quiz
•
12th Grade
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...

Quiz
•
10th Grade - University
12 questions
Computer Application ISC

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade
45 questions
Week 3.5 Review: Set 1

Quiz
•
9th - 12th Grade