1.  10

2.  25

3.  Junk value

4.  Error

4
Correct Answer :

25


Explanation :
No Explanation available for this question

1.  Error

2.  4

3.  Junk value

4.  1

4
Correct Answer :

1


Explanation :
No Explanation available for this question

1.  locals()globals()

2.  locals()locals()

3.  globals()locals()

4.  globals()globals()

4
Correct Answer :

globals()
locals()


Explanation :
No Explanation available for this question

1.  A function that calls itself

2.  A function execution instance that calls another execution instance of the same function

3.  A class method that calls another class method

4.  An in-built method that is automatically called

4
Correct Answer :

A function execution instance that calls another execution instance of the same function


Explanation :
No Explanation available for this question

1.  True

2.  False

2
Correct Answer :

False


Explanation :
No Explanation available for this question

1.  Recursive function can be replaced by a non-recursive function

2.  Recursive functions usually take more memory space than non-recursive function

3.  Recursive functions run faster than non-recursive function

4.  Recursion makes programs easier to understand

4
Correct Answer :

Recursive functions run faster than non-recursive function


Explanation :
No Explanation available for this question

1.  num*fact(num-1)

2.  (num-1)*(num-2)

3.  num*(num-1)

4.  fact(num)*fact(num-1)

4
Correct Answer :

num*fact(num-1)


Explanation :
No Explanation available for this question

1.  13

2.  7

3.  Infinite loop

4.  17

4
Correct Answer :

17


Explanation :
No Explanation available for this question

1.  011

2.  110

3.  3

4.  Infinite loop

4
Correct Answer :

110


Explanation :
No Explanation available for this question

1.  A recursive function that has two base cases

2.  A function where the recursive functions leads to an infinite loop

3.  A recursive function where the function doesn’t return anything and just prints the values

4.  A function where the recursive call is the last thing executed by the function

4
Correct Answer :

A function where the recursive call is the last thing executed by the function


Explanation :
No Explanation available for this question

Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python