CPP Recursion MCQ

Cpp MCQ
  1. Home
  2. Tutorials
  3. Cpp
  4. Recursion
  5. Multiple Choice Question

(1) Which of the following is property of recursive function?

A) Base condition
B) Call to itself
C) Return Value
D) All

(2) Which of the following control structure is alternative of recursion?

A) Iteration
B) Selection
C) Sequence
D) None

(3) Which of the following are types of recursion?

A) Direct
B) Indirect
C) Tail
D) All

(4) Which of the following data structure is used for recursive call?

A) Queue
B) Stack
C) Tree
D) Hash

(5) How many base conditions are specified in recursive function?

A) One
B) Two
C) None
D) Multiple
Comments
better but not worst
Satyanarayana
05/Oct/23 11:24 am
door vetti pan vetti dengindani cheppu
Apashyam Kirikiri
05/Oct/23 11:24 am
Login to TRACK of Comments.