Recursion 14
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Abhishek Pandey
Used 2+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Recursion in C?
A function that calls itself directly or indirectly
A function that repeats a loop
A method of sorting data
A type of variable storage class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is essential for a recursive function?
Infinite loop
array
Global variable
Base condition
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a disadvantage of recursion?
Uses more memory due to call stack
Requires less code
Uses more memory due to call stack
Enhances readability of complex problems
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is type casting in C?
Converting one type of loop to another
Converting one data type to another
Changing variable name
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct example of explicit type casting?
int x = 5.0;
int x = 10 / 2;
float x = 10;
int x = (int)5.5;
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
ML Course Activity-II
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Android
Quiz
•
University
10 questions
Quiz 1
Quiz
•
University
10 questions
TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)
Quiz
•
University
10 questions
Unguided transmission media
Quiz
•
University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
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
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
