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
Login to TRACK of Comments.