Data Science and Artificial Intelligence
2026 · Paper 1
Take it one question at a time. Try an answer, then check your understanding.
Complete GATE DA 2026 Paper 1 overview, original pages and practice · Timed previous-paper practice
Questions 37–39 of 65. Imported answers require review unless explicitly marked reviewed.
Question 37
Open questionDAMCQ2 marksNeeds review
Which of the following statements is true for Ridge Regression?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 38
Open questionDAMCQ2 marksNeeds review
Assume that a Creative (
) person will Succeed (
) if the person is also Disciplined (
), but will not succeed otherwise. Now, consider the following statements:(i)
(ii)
(iii)
Which of the following options is correct?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 39
Open questionDAMCQ2 marksNeeds review
A recursive function in Python is given.
def mystery(n):
if n <= 0:
return 1
else:
return mystery(n-1) + mystery(n-2)
Now, consider the following function call:
mystery(4)
Assume that a typical runtime stack is used to manage function calls. Each function call is pushed onto the stack and removed only after it finishes execution.
Which of the following options denotes the total number of function calls (i.e., the total number of stack activations), including the initial call, to compute mystery(4)?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer