GATE 2026 Data Science and Artificial Intelligence (DA) Questions with Solutions

GATE 2026

65 questions

MCQ 33 · MSQ 14 · NAT 181-mark 30 · 2-mark 35

Questions 46–50 of 65

Q46Eigenvalues, Eigenvectors and Quadratic Forms2 marksMCQ−0.67 if wrong
Let γ1,γ2,γ3\gamma_{1}, \gamma_{2}, \gamma_{3} be the eigenvalues of the matrix [1000cos⁡tsin⁡t0−sin⁡tcos⁡t]\left[\begin{array}{ccc}1 & 0 & 0 \\ 0 & \cos t & \sin t \\ 0 & -\sin t & \cos t\end{array}\right],

where t∈[−π,π]t \in[-\pi, \pi] is in radians.

Which one of the following options lists all the possible values of tt satisfying γ1+γ2+γ3=1+2\gamma_{1}+\gamma_{2}+\gamma_{3}=1+\sqrt{2}?

Q47Classification2 marksMSQ
Consider that 2020 stories of Author X\text{X} and 1010 stories of Author Y\text{Y} were kept together without mentioning the names of the authors. A\text{A} classifier was then asked to predict the author ( X or Y )\text{( X or Y )} of each of these stories. Let, out of X\text{X} 's stories, 66 were classified as that of Y\text{Y}. On the other hand, out of Y\text{Y}'s stories, 22 were classified as that of X\text{X}.

Considering X\text{X} and Y\text{Y} as two classes, which of the following statements is/are true?

One or more options are correct.

Q48Predicate Logic2 marksMSQ
Let P(x)P(x) be a predicate.
Which of the following statements is/are NOT valid in first-order logic?

One or more options are correct.

Q49Sorting and Divide and Conquer2 marksMSQ
Consider the problem of sorting the given array in ascending order:

P=[1,2,3,5,4]P=[1,2,3,5,4]

Consider two sorting algorithms Bubble Sort (BS)\text{(BS)} and Insertion Sort (IS)\text{(IS)}.
Let N1\text{N1} be the total number of comparisons done by BS\text{BS} on the elements of P\text{P} and N2\text{N2} be the total number of comparisons done by IS\text{IS} on the elements of P\text{P}.

Which of the following options is/are correct?

One or more options are correct.

Q50Programming in Python2 marksMSQ
Consider the given Python program.
  def outer():
  	x = []
  	def inner(val):
  		x.append(val)
  		return x
  	return inner
  f1 = outer()
  f2 = outer()
  print(f1(10)) # Line P
  print(f1(20)) # Line Q
  print(f2(30)) # Line R
  print(f1(40)) # Line S 
Which of the following options is/are correct?

One or more options are correct.