Q1
Choose the word that best fills the blank.
Show answer without attempting
Loading the answer…
GATE DA · 15 February 2026 · Slot 2 · 65 questions
Every question from the GATE DA 2026 paper held on 15 February 2026, in the order it was printed, with the official answer key. Pick an option, or type the number for numerical-answer questions, and it is marked straight away with GATE marking: 1 or 2 marks, −⅓ or −⅔ for a wrong MCQ, no negative marks for MSQ and NAT.
Loading the answer…
Loading the answer…


Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…

Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
def append_to_lst(val, lst=[]):
lst.append(val)
return lst
print(append_to_lst(1))
print(append_to_lst(2))
print(append_to_lst(3, []))Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Task column lists a few tasks related to machine learning. The Algorithm column lists a few algorithms.t” from the Task column is to be matched with an appropriate entry “a” from the Algorithm column such that the task “t” can be solved using the algorithm “a”. Denote such a match as t:a| Task | Algorithm |
|---|---|
| T1 – Clustering | A1 – Markov Chain Monte Carlo |
| T2 – Classification | A2 – K-Medoid |
| T3 – Sampling | A3 – Linear Discriminant Analysis |
| T4 – Feature Extraction | A4 – Naive Bayes |
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…

Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
def mystery(n):
if n <= 0:
return 1
else:
return mystery(n-1) + mystery(n-2)mystery(4)mystery(4)?Loading the answer…
Loading the answer…

Loading the answer…
| P1 | Q1 | R1 |
| P2 | Q2 | R2 |
| P3 | Q3 | R2 |
| P1 | Q1 | 2 |
| P1 | Q2 | 5 |
| P2 | Q1 | 6 |
| P3 | Q3 | 1 |
| P1 | T1 |
| P3 | T2 |
| P4 | T3 |
| P4 | NULL |
Loading the answer…

Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
P = [1, 2, 3, 5, 4]Loading the answer…
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 SLoading the answer…
Employee(EmpID, TeamID), where the column EmpID (ID of an employee) is the primary key. The column TeamID denotes the team ID of the team of which the employee is a member. TeamID is a NOT NULL column.TeamSize) in which each employee is a member by using SQL. As an example, the desired output for the given Employee table is also shown in tabular form.| EmpID | TeamID |
|---|---|
| 1 | 8 |
| 2 | 8 |
| 3 | 8 |
| 4 | 7 |
| 5 | 7 |
| 6 | 9 |
| EmpID | TeamSize |
|---|---|
| 1 | 3 |
| 2 | 3 |
| 3 | 3 |
| 4 | 2 |
| 5 | 2 |
| 6 | 1 |
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
def fun(L, i=0):
if i >= len(L)-1:
return 0
if L[i] > L[i+1]:
L[i+1], L[i] = L[i], L[i+1]
return 1+fun(L, i+1)
else:
return fun(L, i+1)
data = [5, 3, 4, 1, 2]
count = 0
for _ in range(len(data)):
count += fun(data)
print(count)Loading the answer…
| P1 | Q1 | R1 |
| P2 | Q2 | R2 |
| P3 | Q3 | R2 |
| P1 | 10 |
| P1 | 15 |
| P2 | 20 |
| P3 | 1 |
Loading the answer…
Account be a relation as shown.| AccNo | Balance |
|---|---|
| A1 | 5000 |
| A2 | 5000 |
| A3 | 10000 |
| A4 | 15000 |
| A5 | 18000 |
SELECT AccNo FROM Account AS A
WHERE (SELECT COUNT(*) FROM Account AS B
WHERE A.Balance < B.Balance) >= (SELECT COUNT(*)
FROM Account AS C WHERE A.Balance > C.Balance)Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
0/650 correct0 marks