- Computer Science Engineering (CSE)
- Design and Analysis of Algorithms
- Recursion is similar to which of the fol...

Q. |
## Recursion is similar to which of the following? |

A. | switch case |

B. | loop |

C. | if-else |

D. | if elif else |

Answer» B. loop | |

Explanation: recursion is similar to a loop. |

View all MCQs in:
Design and Analysis of Algorithms

- Which of the following problems can’t be solved using recursion?
- Recursion is a method in which the solution of a problem depends on
- Which of the following is similar to Euclidean distance?
- Which of the following algorithms is similar to a quickhull algorithm?
- Which of the following problems is similar to that of a Hamiltonian path problem?
- Suppose you have coins of denominations 1,3 and 4. You use a greedy algorithm, in which you choose the largest denomination coin which is not greater than the remaining sum. For which of the following sums, will the algorithm produce an optimal answer?
- Which of the following strategies does the following diagram depict?
- Which of the following strategies does the following diagram depict?
- You are given n dice each having f faces. You have to find the number of ways in which a sum of S can be achieved. This is the dice throw problem. Which of the following methods can be used to solve the dice throw problem?
- In general, which of the following methods isn’t used to find the factorial of a number?

Login to Continue

It will take less than 2 minutes

Report MCQ