
Recursive Procedures Flashcard

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

57 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Recursive procedures always require a loop to function correctly.
Back
False
2.
FLASHCARD QUESTION
Front
Every recursive function must have a base case to prevent infinite recursion.
Back
True
3.
FLASHCARD QUESTION
Front
In a recursive algorithm, each function call has its own separate workspace in memory.
Back
True
4.
FLASHCARD QUESTION
Front
What is the main difference between iterative and recursive approaches in programming?
Back
Iterative uses loops; recursive calls itself
5.
FLASHCARD QUESTION
Front
How is a stack used in the execution of a recursive function?
Back
It keeps track of each call's variables and state
6.
FLASHCARD QUESTION
Front
Consider the following code segment:
What value is returned by the call r2(3,2,6)?
Back
14
7.
FLASHCARD QUESTION
Front
What will print as a result of the call endLess(4)?
Back
4 Endless
Create a free account and access millions of resources
Similar Resources on Wayground
61 questions
AP CSP Semester 1 Midterm

Flashcard
•
10th Grade
42 questions
Nature vs. Nurture: Sociological Perspectives

Flashcard
•
12th Grade
50 questions
Workplace Technology Skills - Semester Review

Flashcard
•
9th - 12th Grade
50 questions
Types of Programming Languages - Flashcard

Flashcard
•
University
49 questions
Robotics 2 Certification Review

Flashcard
•
12th Grade
47 questions
AP CSP 10 - Python

Flashcard
•
12th Grade
43 questions
Block 3 all Units

Flashcard
•
University
59 questions
AP CSP Vocabulary Review

Flashcard
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade