Q1
Select the most appropriate option to complete the analogy.
Show answer without attempting
Loading the answer…
GATE DA · 15 February 2025 · Slot 1 · 65 questions
Every question from the GATE DA 2025 paper held on 15 February 2025, 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…
| Column-I | Column-II |
|---|---|
| P. This house is in a mess. | 1. Alright, I won’t bring it up during our conversations. |
| Q. I am not happy with the marks given to me. | 2. Well, you can easily look it up. |
| R. Politics is a subject I avoid talking about. | 3. No problem, let me clear it up for you. |
| S. I don’t know what this word means. | 4. Don’t worry, I will take it up with your teacher. |
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…
Car represents a specific car of a given model, made in a given year, with a serial number and a color. A tuple in Make specifies that a maker company makes cars of a certain model. A tuple in Own specifies that an owner owns the car with a given serial number. Keys are underlined; together form key for Own. ( denotes natural join)Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
A=[1,2,3]
B=[4,5,6]A= [1, 2, 3, 4, 5, 6]?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…
| loan_number | branch_name | amount |
|---|---|---|
| L11 | Banjara Hills | 90000 |
| L14 | Kondapur | 50000 |
| L15 | SR Nagar | 40000 |
| L22 | SR Nagar | 25000 |
| L23 | Balanagar | 80000 |
| L25 | Kondapur | 70000 |
| L19 | SR Nagar | 65000 |
SELECT L1.loan_number
FROM Loan L1
WHERE L1.amount > (SELECT MAX (L2.amount)
FROM Loan L2
WHERE L2.branch_name = 'SR Nagar');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…
Facts(D1, D2, val), where D1 and D2 are its dimension attributes and val is a dependent attribute. Suppose attribute D1 takes 3 values and D2 takes 2 values, and all combinations of these values are present in the table Facts. How many tuples are there in the result of the following query?SELECT D1, D2, sum(val)
FROM Facts
GROUP BY CUBE (D1, D2);Loading the answer…
A={"this","that"}
B={"that","other"}
C={"other","this"}
while "other" in C:
if "this" in A:
A,B,C=A-B,B-C,C-A
if "that" in B:
A,B,C=C|A,A|B,B|CLoading 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…
Person (
aadhaar CHAR(12) PRIMARY KEY,
name VARCHAR(32));
Customer (
name VARCHAR(32),
email VARCHAR(32) PRIMARY KEY,
phone CHAR(10),
aadhaar CHAR(12),
FOREIGN KEY (aadhaar) REFERENCES Person(aadhaar));Loading the answer…
Loading the answer…

Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…
| loan_num | branch_name | amount |
|---|---|---|
| L11 | Banjara Hills | 90000 |
| L14 | Kondapur | 50000 |
| L15 | SR Nagar | 40000 |
| L22 | SR Nagar | 25000 |
| L23 | Balanagar | 80000 |
| L25 | Kondapur | 70000 |
| L19 | SR Nagar | 65000 |
| customer_name | loan_num |
|---|---|
| Anand | L11 |
| Karteek | L11 |
| Karteek | L14 |
| Ankita | L15 |
| Gopal | L19 |
| Karteek | L22 |
| Karteek | L23 |
| Sunil | L23 |
| Sunil | L25 |
Loading the answer…
def f(a,b):
if (a==0):
return b
if (a%2==1):
return 2*f((a-1)/2,b)
return b+f(a-1,b)
print(f(15,10))Loading the answer…
Create empty stack S
Set x=0, flag=0, sum=0
Push x onto S
while (S is not empty){
if (flag equals 0){
Set x = x+1
Push x onto S}
if (x equals 8):
Set flag=1
if (flag equals 1){
x = Pop(S)
if (x is odd):
Pop(S)
Set sum = sum + x}
}
Output sumsum output by a program executing the above pseudocode is __________ (Answer in integer)Loading the answer…
Loading the answer…
0/650 correct0 marks