A) Recursion is a problem-solving process which breaks a problem into identical but smaller problems.
i) True
ii) False
B) A recursive function must have one or more cases that provide solution that does not require recursion.
i) True
ii) False
C) All recursive function can be converted into iterative function.
i) True
ii) False
D) A function template is not an actual function.
i) True
ii) False
E) A class template can be used to create a container class which can store integers only.
i) True
ii) False
F) An abstract data type or ADT is a collection of objects and operations.
i) True
ii) False
1)true
explanation; recursion is a way of solving problems with smaller version of ame problemi.e breaking a problem into smlaeer instances
2)true
explanation: a recursive function have sveral cases such as base case and recursive step , in base case we do not use recusrion
3)true
Explanation:a recursive function can convert into iterative steps
4)true
explanation: a function template by itself is not a type or function or an enity
5)false
6)true
explanation: An ADT may be defines as class of objects whose logical behaviour is deifined by set of operations
Get Answers For Free
Most questions answered within 1 hours.