
Computer Science Recursion Quiz
Passage
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
CRYSTAL DEMOURA
Used 2+ times
FREE Resource
Enhance your content in a minute
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is recursion in computer science?
A) A method of simplifying a complex problem by breaking it into sub-problems
B) A powerful concept that involves a function calling itself until a specific condition is met
C) A data structure used to store elements in a contiguous memory location
D) A type of algorithm that prevents infinite loops in programming
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is most commonly used for recursion to keep track of function calls?
A) Queue
B) Array
C) Stack
D) Map
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What principle do stacks operate on?
A) "First In, First Out" (FIFO)
B) "Last In, First Out" (LIFO)
C) "First Come, First Served" (FCFS)
D) "First In, Last Out" (FILO)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What makes linked lists suitable for dynamic insertion and deletion of elements?
A) They store elements in a contiguous memory location
B) Each node contains a value and a pointer to the previous node
C) They follow the "First In, First Out" (FIFO) principle
D) Each node contains a value and a pointer to the next node
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Queues follow which principle?
A) "First In, Last Out" (FILO)
B) "Last In, First Out" (LIFO)
C) "First In, First Out" (FIFO)
D) "Last Come, First Served" (LCFS)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the base condition in the recursive summation function provided in the learning material?
if n == 1
if n < 1
if n == 0
if n > 0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the recursive factorial function return when the base condition is met?
0
n
1
n - 1
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
25 questions
Google Sheets- Summative Block C
Quiz
•
9th - 12th Grade
25 questions
TIK01
Quiz
•
12th Grade
29 questions
Computer Parts
Quiz
•
9th - 12th Grade
30 questions
PHOTOSHOP
Quiz
•
12th Grade
26 questions
Macromedia Flash
Quiz
•
8th Grade - Professio...
25 questions
Understanding Strings and Functions Quiz
Quiz
•
8th Grade - University
25 questions
Robotics Mid-term Assessment Grade VII
Quiz
•
6th Grade - University
26 questions
Software Development Life Cycle
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
