
Chapter - 4 Recursions Textbook MCQs
Authored by vihutuo paira
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is/are needed for recursion?
Expressing a function in terms of itself
Specifying the base condition
Both
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are the types of recursion?
Direct Recursion
Indirect Recursion
Both
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if no base case is specified, in a recursive procedure?
Stack overflow
Underflow
Compile time error
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following can be implemented using recursion?
Factorial
Power
Fibonacci series
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following can be intuitively implemented using recursion?
Binary Search
Linear Search
Both
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A list is to be reversed using recursion. Which of the following represents the base case?
rev(L) = L, if len(L) = 1
rev(L) = rev(L[1:]), if len(L) = 1
rev(L) = rev(L[1:]), if len(L) = 0
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The sum of elements of a list is to be evaluated using recursion. Which of the following represents the base case?
sum(L) = L[0], if len(L) = 1
sum(L) = 0 , if len(L) = 0
Both
All of the above
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
10 questions
Data Engineering y BigQuery V1
Quiz
•
12th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
10 questions
EMPTECH L4 Q2
Quiz
•
12th Grade
10 questions
PRE-ASSESSMENT ETECH M1
Quiz
•
12th Grade
15 questions
emptech L1 A
Quiz
•
12th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
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