
19.2 Recursion Cambridge iA 9618
Authored by Stephen Ling-Winston
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is recursion?
A function calling itself
A function that never returns
A function without parameters
A function that executes a loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the base case in recursion?
A condition that stops further recursive calls
A condition that ensures infinite recursion
The first function call in recursion
A case where the function calls itself multiple times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure does recursion primarily use?
Stack
Queue
Heap
Array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a key property of recursion?
Base case
Recursive case
Function calling itself
Function never terminating
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the base case is missing in a recursive function?
The program crashes due to a stack overflow
The function stops executing immediately
The compiler automatically fixes the problem
The recursion converts to an iterative loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these problems is best solved using recursion?
Calculating Fibonacci numbers
Searching for an element in an unsorted array
Adding numbers in a list using a loop
Swapping two numbers in memory
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm is often implemented using recursion?
Merge Sort
Bubble Sort
Selection Sort
Bucket Sort
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Class XI Basics
Quiz
•
11th - 12th Grade
20 questions
PSTS Administrasi Infrastruktur Jaringan Kelas XII TKJ
Quiz
•
12th Grade
20 questions
Examen Excel Básico
Quiz
•
12th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
15 questions
Imagen GIMP
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade