Understanding Recursion Quiz

Created by: FreeQuizzesFor

Go Back
11 Questions
0 Plays
Understanding Recursion: a General level Programming quiz. Test your knowledge with 11 questions!
Rate this quiz:
No ratings yet

Questions

Question 1
What must every recursive function have?
A Base case
B An array
C A loop
D A class
Question 2
Recursion uses which data structure internally?
A Array
B Queue
C Stack
D Linked List
Question 3
What is the base case in a factorial function?
A n=10
B n=0 or n=1
C n=null
D n=negative
Question 4
Recursion can often replace which structure?
A Comments
B Variables
C Loops
D Classes
Question 5
What does recursion use to store states?
A Heap
B Disk
C Call stack
D Register

๐Ÿ“‹ This quiz has 11 questions in total.

Log in to see all questions and correct answers!

๐Ÿšจ Report An Error