GATE DA 2025 Question Paper with Solutions: 65 Questions, Answer Key & Section-wise Analysis
GATE DA 2025 previous year paper: 65 questions with answer key and detailed solutions, section-wise breakdown and free sample questions.
65 Qs
Total Questions
100 Marks
Total Marks
3 Mins
Duration
Section-wise Paper Structure
Probability and Statistics
13 Qs
20% of total marks
Programming, Data Structures and Algorithms
9 Qs
14% of total marks
Linear Algebra
9 Qs
14% of total marks
Machine Learning
7 Qs
11% of total marks
Database Management and Warehousing
7 Qs
11% of total marks
Calculus and Optimization
6 Qs
9% of total marks
Quantitative Aptitude
4 Qs
6% of total marks
Verbal Aptitude
3 Qs
5% of total marks
Artificial Intelligence
3 Qs
5% of total marks
Spatial Aptitude
2 Qs
3% of total marks
Analytical Aptitude
2 Qs
3% of total marks
Free Solved Questions with Step-by-Step Solutions
Authentic examination problems with detailed derivations and answer keys.
Question 1
2025 PYQ
Level 3: Exam Standard
Suppose X and Y are random variables. The conditional expectation of X given Y is denoted by E[X∣Y]. Then E[E[X∣Y]] equals
Question 2
2025 PYQ
Level 3: Exam Standard
Let X be a continuous random variable whose cumulative distribution function (CDF) FX(x), for some t, is given as follows:
FX(x)=⎩⎨⎧04−tx−t1x≤tt≤x≤4x≥4
If the median of X is 3, then what is the value of t?
Question 3
2025 PYQ
Level 3: Exam Standard
Let X=aZ+b, where Z is a standard normal random variable, and a,b are two unknown constants. It is given that
E[X]=1,E[(X−E[X])Z]=−2,E[(X−E[X])2]=4,
where E[X] denotes the expectation of random variable X. The values of a,b are:
Question 4
2025 PYQ
Level 3: Exam Standard
Consider a hash table of size 10 with indices {0,1,...,9}, with the hash function
h(x)=3x(mod10),
where linear probing is used to handle collisions. The hash table is initially empty and then the following sequence of keys is inserted into the hash table: 1,4,5,6,14,15. The indices where the keys 14 and 15 are stored are, respectively
Question 5
2025 PYQ
Level 3: Exam Standard
Consider the following Python declarations of two lists.
A=[1,2,3]
B=[4,5,6]
Which one of the following statements results in A=[1,2,3,4,5,6]?
Question 6
2025 PYQ
Level 3: Exam Standard
For which of the following inputs does binary search take time O(logn) in the worst case?
Question 7
2025 PYQ
Level 3: Exam Standard
The number of additions and multiplications involved in performing Gaussian elimination on any n×n upper triangular matrix is of the order
Question 8
2025 PYQ
Level 3: Exam Standard
The sum of the elements in each row of A∈Rn×n is 1. If B=A3−2A2+A, which one of the following statements is correct (for x∈Rn)?
Question 9
2025 PYQ
Level 3: Exam Standard
Which of the following statements is/are correct?
Question 10
2025 PYQ
Level 3: Exam Standard
Consider designing a linear classifier
y=sign(f(x;w,b)),f(x;w,b)=wTx+b
on a dataset D={(x1,y1),(x2,y2),...,(xN,yN)}, xi∈Rd, yi∈{+1,−1}, i=1,2,...,N. Recall that the sign function outputs +1 if the argument is positive, and −1 if the argument is non-positive. The parameters w and b are updated as per the following training algorithm:
wnew=wold+ynxn,bnew=bold+yn
whenever sign(f(xn;wold,bold))=yn. In other words, whenever the classifier wrongly predicts a sample (xn,yn) from the dataset, wold gets updated to wnew, and likewise bold gets updated to bnew. Consider the case (xn,+1), f(xn;wold,bold)<0. Then
Question 11
2025 PYQ
Level 3: Exam Standard
Let C1 and C2 be two sets of objects. Let D(x,y) be a measure of dissimilarity between two objects x and y. Consider the following definitions of dissimilarity between C1 and C2.
DIS-1(C1,C2)=x∈C1,y∈C2maxD(x,y)DIS-2(C1,C2)=x∈C1,y∈C2minD(x,y)
Which of the following statements is/are correct?
Question 12
2025 PYQ
Level 3: Exam Standard
Given data {(−1,1),(2,−5),(3,5)} of the form (x,y), we fit a model y=wx using linear least-squares regression. The optimal value of w is
(Round off to three decimal places)
Question 13
2025 PYQ
Level 3: Exam Standard
If a relational decomposition is not dependency-preserving, which one of the following relational operators will be executed more frequently in order to maintain the dependencies?
Question 14
2025 PYQ
Level 3: Exam Standard
Consider the following three relations:
Car (model, year, serial, color)
Make (maker, model)
Own (owner, serial)
A tuple in 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; (owner, serial) together form key for Own. (⋈ denotes natural join)
πowner(Own⋈(σcolor=‘‘red′′(Car⋈(σmaker=‘‘ABC′′Make))))
Which one of the following options describes what the above expression computes?
Question 15
2025 PYQ
Level 3: Exam Standard
On a relation named Loan of a bank:
Loan
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
the following SQL query is executed.
SELECT L1.loan number
FROM Loan L1
WHERE L1.amount > (SELECT MAX (L2.amount)
FROM Loan L2
WHERE L2.branch name = ’SR Nagar’);
The number of rows returned by the query is (Answer in integer)
Question 16
2025 PYQ
Level 3: Exam Standard
Let f(x)=2ex−e−x, x∈R. Let f(k)(a) denote the kth derivative of f evaluated at a. What is the value of f(10)(0)? (Note: ! denotes factorial)
Question 17
2025 PYQ
Level 3: Exam Standard
Consider two functions f:R→R and g:R→(1,∞). Both functions are differentiable at a point c. Which of the following functions is/are ALWAYS differentiable at c? The symbol ⋅ denotes product and the symbol ∘ denotes composition of functions.
Question 18
2025 PYQ
Level 3: Exam Standard
t→+∞limt2+t−t=
(Round off to one decimal place)
Question 19
2025 PYQ
Level 3: Exam Standard
A 4×4 digital image has pixel intensities (U) as shown in the figure. The number of pixels with U≤4 is:
Question 20
2025 PYQ
Level 3: Exam Standard
A rectangle has a length L and a width W, where L>W. If the width, W, is increased by 10%, which one of the following statements is correct for all values of L and W?
Question 21
2025 PYQ
Level 3: Exam Standard
If a real variable x satisfies 3x2=27×9x, then the value of (2x)22x2 is:
Question 22
2025 PYQ
Level 3: Exam Standard
Courage : Bravery :: Yearning : __________
Select the most appropriate option to complete the analogy.
Question 23
2025 PYQ
Level 3: Exam Standard
We __________ tennis in the lawn when it suddenly started to rain.
Select the most appropriate option to complete the above sentence.
Question 24
2025 PYQ
Level 3: Exam Standard
Column-I has statements made by Shanthala; and, Column-II has responses given by Kanishk.
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.
Identify the option that has the correct match between Column-I and Column-II.
Question 25
2025 PYQ
Level 3: Exam Standard
Which of the following statements is/are correct in a Bayesian network?
Question 26
2025 PYQ
Level 3: Exam Standard
Consider game trees Tree-1 and Tree-2 as shown. The first level is a MAX agent and the second level is a MIN agent. The value in the square node is the output of the utility function.
For what ranges of x and y, the right child of node B and the right child of node E will be pruned by alpha-beta pruning algorithm?
Question 27
2025 PYQ
Level 3: Exam Standard
The state graph shows the action cost along the edges and the heuristic function h associated with each state.
Suppose A∗ algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
Question 28
2025 PYQ
Level 3: Exam Standard
In the given figure, the numbers associated with the rectangle, triangle, and ellipse are 1,2, and 3, respectively. Which one among the given options is the most appropriate combination of P,Q, and R ?
Question 29
2025 PYQ
Level 3: Exam Standard
A regular dodecagon (12-sided regular polygon) is inscribed in a circle of radius r cm as shown in the figure. The side of the dodecagon is d cm. All the triangles (numbered 1 to 12) in the figure are used to form squares of side r cm and each numbered triangle is used only once to form a square.
The number of squares that can be formed and the number of triangles required to form each square, respectively, are:
Note: The figure shown is representative.
Question 30
2025 PYQ
Level 3: Exam Standard
Weight of a person can be expressed as a function of their age. The function usually varies from person to person. Suppose this function is identical for two brothers, and it monotonically increases till the age of 50 years and then it monotonically decreases. Let a1 and a2 (in years) denote the ages of the brothers and a1<a2.
Which one of the following statements is correct about their age on the day when they attain the same weight?
Question 31
2025 PYQ
Level 3: Exam Standard
Let p and q be any two propositions. Consider the following propositional statements. S1:p→q,S2:¬p∧q,S3:¬p∨q,S4:¬p∨¬q,
where ∧ denotes conjunction (AND operation), ∨ denotes disjunction (OR operation), and ¬ denotes negation (NOT operation). Which one of the following options is correct?
(Note: ≡ denotes logical equivalence)
Unlock All 65 Questions in Real Examination Mode
Practice with the authentic timer, on-screen calculator, instant percentile ranking, and section-wise analytics.
Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.
Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.
Built around you, not around a syllabus PDF
Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.
Revision that hits your weak spots
We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.
Questions calibrated to the real exam
Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.
Notes written for recall, not for volume
Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.
One place for everything
Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.
Honest progress
No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.
Unlock the whole course
Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.
GATE DA 2025 Question Paper with Solutions: 65 Questions, Answer Key & Section-wise Analysis
GATE DA 2025 previous year paper: 65 questions with answer key and detailed solutions, section-wise breakdown and free sample questions.
Paper breakdown
65 questions · 100 marks · 3 minutes. Probability and Statistics: 13 · Programming, Data Structures and Algorithms: 9 · Linear Algebra: 9 · Machine Learning: 7 · Database Management and Warehousing: 7 · Calculus and Optimization: 6 · Quantitative Aptitude: 4 · Verbal Aptitude: 3 · Artificial Intelligence: 3 · Spatial Aptitude: 2 · Analytical Aptitude: 2
Free sample questions from GATE DA 2025 Question Paper
Question 1 · Probability and Statistics · 2025MCQ
Suppose X and Y are random variables. The conditional expectation of X given Y is denoted by E[X∣Y]. Then E[E[X∣Y]] equals
A.
E[X∣Y]
B.
E[Y]E[X]
C.
E[X]
D.
E[Y]
Correct Answer:
C
Step-by-Step Solution
Insight: This is the exact statement of the Law of Iterated Expectations (Adam's Rule).
Exam route: E[E[X∣Y]]=E[X].
Learning route: This is a fundamental property question, recognizable because it asks for the expectation of a conditional expectation.
Step 1: Identify the concept. The expression E[E[X∣Y]] represents the expected value of the conditional expectation of X given Y.
Step 2: Apply the Law of Iterated Expectations (also known as Adam's Rule or the Tower Property). This law states that the unconditional expectation of X is equal to the expectation of its conditional expectation given any random variable Y.
E[E[X∣Y]]=E[X]
Step 3: Intuition. E[X∣Y] is a random variable that represents our best prediction of X given the information Y. If we average these predictions over all possible values of Y, we get back our overall, unconditional best prediction of X, which is simply E[X].
The correct option is (C).
Question 2 · Probability and Statistics · 2025MCQ
Let X be a continuous random variable whose cumulative distribution function (CDF) FX(x), for some t, is given as follows:
FX(x)=⎩⎨⎧04−tx−t1x≤tt≤x≤4x≥4
If the median of X is 3, then what is the value of t?
A.
2
B.
1
C.
−1
D.
0
Correct Answer:
A
Step-by-Step Solution
Insight: The median m of a continuous random variable is the value where the CDF equals 0.5. Set F(3)=0.5 and solve for t.
Exam route: F(3)=4−t3−t=0.5.
Multiply both sides by (4−t): 3−t=0.5(4−t).
3−t=2−0.5t.
1=0.5t⟹t=2.
Learning route: This is a quantile question in reverse. Instead of finding the probability for a given x, we are given the probability (0.5 for the median) and the x value (3), and must find the unknown parameter t. For a continuous, strictly increasing CDF, the median m satisfies F(m)=0.5. We substitute x=3 into the middle piece of the CDF, set it to 0.5, and solve the resulting linear equation for t. We must also verify that the solution t=2 makes sense (the support becomes [2,4], and the median 3 lies inside it).
Question 3 · Probability and Statistics · 2025MCQ
Let X=aZ+b, where Z is a standard normal random variable, and a,b are two unknown constants. It is given that
E[X]=1,E[(X−E[X])Z]=−2,E[(X−E[X])2]=4,
where E[X] denotes the expectation of random variable X. The values of a,b are:
A.
a=−2,b=1
B.
a=2,b=−1
C.
a=−2,b=−1
D.
a=1,b=1
Correct Answer:
A
Step-by-Step Solution
Insight: The term E[(X−E[X])Z] is exactly the covariance Cov(X,Z) because E[Z]=0.
Exam route: Since Z∼N(0,1), E[Z]=0 and E[Z2]=1. From X=aZ+b, E[X]=b=1. Then X−E[X]=aZ. The variance condition gives E[(aZ)2]=a2=4, so a=±2. The covariance condition gives E[aZ2]=a=−2. Thus a=−2,b=1.
Learning route: We are given three expectations involving X and Z. First, we use the linearity of expectation on X=aZ+b. Since Z is standard normal, its mean is 0 and variance is 1, meaning E[Z]=0 and E[Z2]=1.
Step 1: Find b. E[X]=E[aZ+b]=aE[Z]+b=a(0)+b=b. We are given E[X]=1, so b=1.
Step 2: Simplify X−E[X]. Substituting b=1, we get X−E[X]=(aZ+1)−1=aZ.
Step 3: Use the variance condition. We are given E[(X−E[X])2]=4. Substituting X−E[X]=aZ, we get E[(aZ)2]=a2E[Z2]=a2(1)=a2. Thus, a2=4, which means a=2 or a=−2.
Step 4: Use the covariance condition. We are given E[(X−E[X])Z]=−2. Substituting X−E[X]=aZ, we get E[aZ2]=aE[Z2]=a(1)=a. Thus, a=−2.
Combining these, we get a=−2 and b=1. This matches the first option.
Question 4 · Programming, Data Structures and Algorithms · 2025MCQ
Consider a hash table of size 10 with indices {0,1,...,9}, with the hash function
h(x)=3x(mod10),
where linear probing is used to handle collisions. The hash table is initially empty and then the following sequence of keys is inserted into the hash table: 1,4,5,6,14,15. The indices where the keys 14 and 15 are stored are, respectively
A.
2 and 5
B.
2 and 6
C.
4 and 5
D.
4 and 6
Correct Answer:
D
Step-by-Step Solution
Key idea: This is a hash table tracing question, recognizable because it provides a specific hash function, collision resolution strategy, and a sequence of keys to insert.
Step 1: Understand the hash function and table size. The table has size 10 (indices 0 to 9). The hash function is h(x)=3x(mod10).
Step 2: Trace the insertion of each key sequentially using linear probing.
Insert 1: h(1)=3(1)(mod10)=3. Index 3 is empty. Place 1 at index 3.
Insert 4: h(4)=3(4)(mod10)=12(mod10)=2. Index 2 is empty. Place 4 at index 2.
Insert 5: h(5)=3(5)(mod10)=15(mod10)=5. Index 5 is empty. Place 5 at index 5.
Insert 6: h(6)=3(6)(mod10)=18(mod10)=8. Index 8 is empty. Place 6 at index 8.
Insert 14: h(14)=3(14)(mod10)=42(mod10)=2. Index 2 is occupied (by 4).
Probe 1: (2+1)(mod10)=3. Index 3 is occupied (by 1).
Probe 2: (3+1)(mod10)=4. Index 4 is empty. Place 14 at index 4.
Insert 15: h(15)=3(15)(mod10)=45(mod10)=5. Index 5 is occupied (by 5).
Probe 1: (5+1)(mod10)=6. Index 6 is empty. Place 15 at index 6.
Step 3: Identify the final indices. Key 14 is at index 4, and key 15 is at index 6.
Answer: D
Question 5 · Programming, Data Structures and Algorithms · 2025MCQ
Consider the following Python declarations of two lists.
A=[1,2,3]
B=[4,5,6]
Which one of the following statements results in A=[1,2,3,4,5,6]?
A.
A.extend(B)
B.
A.append(B)
C.
A.update(B)
D.
A.insert(B)
Correct Answer:
A
Step-by-Step Solution
Insight: The question tests the difference between adding an iterable as a single nested object versus flattening its elements into the existing list.
Exam route: Eliminate options that use non-existent list methods or wrong argument counts. Between the remaining two, recall that extend flattens while append nests.
Learning route:
A.extend(B): The extend method iterates over the argument B and adds each element (4, 5, 6) one by one to A. The final list is [1, 2, 3, 4, 5, 6]. This matches the requirement.
A.append(B): The append method adds the entire object B as a single element at the end of A. The final list becomes [1, 2, 3, [4, 5, 6]]. This does not match.
A.update(B): The update method is not defined for Python lists (it is used for sets and dictionaries). Calling this raises an AttributeError.
A.insert(B): The insert method requires exactly two arguments: an index and an element. Providing only one argument raises a TypeError.
Therefore, A.extend(B) is the only statement that produces the desired flat list.
Question 6 · Programming, Data Structures and Algorithms · 2025MCQ
For which of the following inputs does binary search take time O(logn) in the worst case?
A.
An array of n integers in any order
B.
A linked list of n integers in any order
C.
An array of n integers in increasing order
D.
A linked list of n integers in increasing order
Correct Answer:
C
Step-by-Step Solution
Insight: Binary search requires both sorted data (for elimination) and random access (for O(1) mid calculation).
Exam route: Check options for "sorted" and "array". Only "array in increasing order" satisfies both.
Learning route:
Binary search achieves O(logn) time complexity by halving the search space at each step.
This requires two strict preconditions:
The data must be sorted, so we can mathematically guarantee which half contains the target.
The data structure must support O(1) random access, so we can find the middle element in constant time.
Arrays provide contiguous memory allocation, allowing O(1) random access via index math.
Linked lists require O(n) traversal to find the middle node, collapsing the time complexity to O(nlogn) or worse.
Therefore, only a sorted array (increasing order) guarantees O(logn) worst-case time.
Question 7 · Linear Algebra · 2025MCQ
The number of additions and multiplications involved in performing Gaussian elimination on any n×n upper triangular matrix is of the order
A.
O(n)
B.
O(n2)
C.
O(n3)
D.
O(n4)
Correct Answer:
B
Step-by-Step Solution
Insight: An upper triangular matrix already has all the zeros that forward elimination would create, so the cubic phase collapses to zero work. The only cost left is the quadratic back-substitution phase.
Exam route:
Recognise the matrix structure: aij=0 for all i>j.
Forward elimination has nothing to eliminate below any pivot ⇒ cost =0.
The task "perform Gaussian elimination" means the complete solve (elimination + back substitution).
Back substitution on an n×n upper triangular system uses ∑i=1n(n−i)=2n(n−1) multiplications and the same number of additions.
Total additions + multiplications =n(n−1)=O(n2).
Learning route:
Gaussian elimination has two phases. Phase 1 (forward elimination) converts A→U by zeroing entries below each pivot. For a general dense n×n matrix this costs 32(n3−n) additions and multiplications, i.e. O(n3). Phase 2 (back substitution) solves Ux=c from the bottom row upward, costing n(n−1) additions and multiplications, i.e. O(n2).
When the input is already upper triangular, every entry below the diagonal is already zero. At pivot step k, there are no entries in column k below row k to remove, so no row updates are performed. Forward elimination contributes exactly $0$ operations.
The system still must be solved, so back substitution runs in full. Variable xi requires n−i multiplications and n−i additions. Summing over i=1,…,n gives 2n(n−1) of each, for a combined total of n(n−1), which is O(n2).
The common wrong path is to memorise "Gaussian elimination is O(n3)" and answer O(n3) without inspecting the matrix structure. That ignores the fact that the cubic cost comes entirely from the row updates that this matrix does not need.
Verification: For n=3, back substitution does 2+1+0=3 multiplications and $3$ additions, total 6=3(2), matching n(n−1). Growth is clearly quadratic, not cubic.
Question 8 · Linear Algebra · 2025MCQ
The sum of the elements in each row of A∈Rn×n is 1. If B=A3−2A2+A, which one of the following statements is correct (for x∈Rn)?
A.
The equation Bx=0 has no solution
B.
The equation Bx=0 has exactly two solutions
C.
The equation Bx=0 has infinitely many solutions
D.
The equation Bx=0 has a unique solution
Correct Answer:
C
Step-by-Step Solution
Key idea: The row sum condition directly gives an eigenvalue and its eigenvector, which can be evaluated in the matrix polynomial.
Step 1: The statement "sum of the elements in each row of A is $1$" means that if we multiply A by the all-ones column vector 1=[1,1,…,1]T, the result is 1. Thus, A1=1⋅1.
Step 2: This implies λ=1 is an eigenvalue of A, and 1 is a corresponding non-zero eigenvector.
Step 3: We are given B=A3−2A2+A. We can factor this polynomial as B=A(A2−2A+I)=A(A−I)2.
Step 4: Evaluate B1. Since (A−I)1=A1−1=1−1=0, we have (A−I)21=(A−I)0=0.
Step 5: Therefore, B1=A(A−I)21=A0=0.
Step 6: Since 1 is a non-zero vector and B1=0, the homogeneous system Bx=0 has a non-trivial solution. Any homogeneous system with a non-trivial solution has infinitely many solutions.
Answer: The equation Bx=0 has infinitely many solutions.
Question 9 · Linear Algebra · 2025MSQ
Which of the following statements is/are correct?
A.
Rn has a unique set of orthonormal basis vectors
B.
Rn does not have a unique set of orthonormal basis vectors
C.
Linearly independent vectors in Rn are orthonormal
D.
Orthonormal vectors Rn are linearly independent
Correct Answer:
["B","D"]
Step-by-Step Solution
Insight: Orthonormal bases are not unique (any rotation works), but orthonormality strictly guarantees linear independence.
Exam route: Evaluate each option. A is false because we can rotate the standard basis. B is true. C is false because independent vectors need not be orthogonal. D is true because orthonormal vectors are always independent.
Learning route:
An orthonormal basis for Rn requires vectors to be mutually orthogonal and unit length. The standard basis is one, but any rotation of it (e.g., in R2, using (cosθ,sinθ) and (−sinθ,cosθ)) is another. Thus, it is not unique (A is false, B is true).
For C, consider vectors (1,0) and (1,1) in R2. They are linearly independent, but their dot product is 1=0, so they are not orthogonal. Thus, independent vectors are not necessarily orthonormal.
For D, let v1,…,vk be orthonormal. Suppose ∑civi=0. Taking the dot product with vj gives cj(vj⋅vj)=0⟹cj=0. Thus, they are linearly independent.
Question 10 · Machine Learning · 2025MCQ
Consider designing a linear classifier
y=sign(f(x;w,b)),f(x;w,b)=wTx+b
on a dataset D={(x1,y1),(x2,y2),...,(xN,yN)}, xi∈Rd, yi∈{+1,−1}, i=1,2,...,N. Recall that the sign function outputs +1 if the argument is positive, and −1 if the argument is non-positive. The parameters w and b are updated as per the following training algorithm:
wnew=wold+ynxn,bnew=bold+yn
whenever sign(f(xn;wold,bold))=yn. In other words, whenever the classifier wrongly predicts a sample (xn,yn) from the dataset, wold gets updated to wnew, and likewise bold gets updated to bnew. Consider the case (xn,+1), f(xn;wold,bold)<0. Then
A.
f(xn;wnew,bnew)>f(xn;wold,bold)
B.
f(xn;wnew,bnew)<f(xn;wold,bold)
C.
f(xn;wnew,bnew)=f(xn;wold,bold)
D.
ynf(xn;wold,bold)>1
Correct Answer:
A
Step-by-Step Solution
Insight: The perceptron update adds ynxn to w and yn to b. Evaluating the new score on the same misclassified point adds ∥xn∥2+1 to the old score, strictly increasing it.
Exam route: fnew=(wold+xn)Txn+(bold+1)=fold+∥xn∥2+1. Since ∥xn∥2≥0, fnew>fold.
Learning route:
Step 1: We are given yn=+1 and f(xn;wold,bold)<0. This is a misclassification, so an update occurs.
Step 2: The update rules are wnew=wold+ynxn=wold+xn and bnew=bold+yn=bold+1.
Step 3: Evaluate the new score on the same point xn:
f(xn;wnew,bnew)=wnewTxn+bnew
Step 4: Substitute the updated parameters:
f(xn;wnew,bnew)=(wold+xn)Txn+(bold+1)
=woldTxn+xnTxn+bold+1
=(woldTxn+bold)+∥xn∥2+1
=f(xn;wold,bold)+∥xn∥2+1
Step 5: Since ∥xn∥2≥0, we have ∥xn∥2+1≥1>0. Therefore, f(xn;wnew,bnew)>f(xn;wold,bold). (Option A is correct).
Step 6: Check Option D. We are given f(xn;wold,bold)<0 and yn=+1. Their product is negative, so it cannot be >1. (Option D is false).
Answer: A
Question 11 · Machine Learning · 2025MSQ
Let C1 and C2 be two sets of objects. Let D(x,y) be a measure of dissimilarity between two objects x and y. Consider the following definitions of dissimilarity between C1 and C2.
DIS-1(C1,C2)=x∈C1,y∈C2maxD(x,y)DIS-2(C1,C2)=x∈C1,y∈C2minD(x,y)
Which of the following statements is/are correct?
A.
Single Linkage Clustering uses DIS-1
B.
Single Linkage Clustering uses DIS-2
C.
Complete Linkage Clustering uses DIS-2
D.
Complete Linkage Clustering uses DIS-1
Correct Answer:
["B","D"]
Step-by-Step Solution
Insight: Linkage criteria define how the distance between two sets of points is aggregated from the pairwise distances of their elements.
Exam route: Single linkage looks for the closest pair (minimum), while complete linkage looks for the farthest pair (maximum) to ensure all points are tightly bound.
Learning route:
Step 1: Analyze DIS-1. The formula maxx∈C1,y∈C2D(x,y) finds the maximum distance between any point in C1 and any point in C2. This is the definition of Complete Linkage, which requires all inter-cluster pairs to be within a certain distance, producing compact clusters.
Step 2: Analyze DIS-2. The formula minx∈C1,y∈C2D(x,y) finds the minimum distance between any point in C1 and any point in C2. This is the definition of Single Linkage, which merges clusters as soon as a single pair of points is close, often leading to the chaining effect.
Step 3: Match with the options. Single Linkage uses DIS-2 (Option B). Complete Linkage uses DIS-1 (Option D).
Question 12 · Machine Learning · 2025NAT
Given data {(−1,1),(2,−5),(3,5)} of the form (x,y), we fit a model y=wx using linear least-squares regression. The optimal value of w is
(Round off to three decimal places)
Correct Answer:
0.286
Step-by-Step Solution
Insight: For a linear model without a bias term (y=wx), the optimal weight is the ratio of the sum of xiyi to the sum of xi2.
Exam route: Sum of xy=−1+(−10)+15=4. Sum of x2=1+4+9=14. w=4/14=2/7≈0.286.
Learning route:
Identify the model: y=wx. Notice there is no bias term (w0).
Recall the scalar normal equation for no-bias least squares: w∗=∑xi2∑xiyi.
Compute the numerator ∑xiyi: (−1)(1)+(2)(−5)+(3)(5)=−1−10+15=4.
Compute the denominator ∑xi2: (−1)2+(2)2+(3)2=1+4+9=14.
Calculate w∗=144=72.
Convert to decimal and round to three decimal places: 2÷7≈0.2857...→0.286.
Question 13 · Database Management and Warehousing · 2025MCQ
If a relational decomposition is not dependency-preserving, which one of the following relational operators will be executed more frequently in order to maintain the dependencies?
A.
Selection
B.
Projection
C.
Join
D.
Set union
Correct Answer:
C
Step-by-Step Solution
Insight: A rule that no single fragment can see must be re-checked by bringing the fragments back together — that repeated recombination is the price of losing dependency preservation.
Exam route: Not preserved means some FD has its attributes split across fragments, so it cannot be validated inside one table. The DBMS must reconstruct the original tuples on every risky update, which is the join. Option C.
Learning route:
Step 1 — what dependency preservation means. After decomposing R into R1,R2,…,Rn, with Fi the dependencies that hold in Ri, the decomposition preserves dependencies when (F1∪F2∪⋯∪Fn)+=F+. In plain words: every original business rule can be checked by looking at the small tables individually.
Step 2 — what actually breaks when it fails. Some original rule X→Y has attributes spread over two or more fragments, so no single fragment contains all of X∪Y. A constraint checker that scans one table at a time simply cannot see the rule.
Step 3 — what the system must then do. To test the rule it has to line up rows of the fragments on their common attributes and evaluate the rule on the combined result. That reconstruction has to happen whenever an update could violate the rule, so it runs repeatedly and is computationally expensive — precisely the cost decomposition was meant to remove.
Step 4 — why the other operators cannot do the job. Selection filters rows within one table; it cannot reach attributes living in another table. Projection removes columns, and in fact it is the operator that creates the fragments — it cannot reassemble anything. Set union stacks rows of two relations that must already share a schema, and fragments of a decomposition generally do not. None of the three can bring attributes from different tables into one working relation.
Second pass from the trade-off table: a 3NF decomposition is always lossless and always dependency-preserving, whereas a BCNF decomposition is always lossless but may sacrifice preservation. The textbook cost quoted for that sacrifice is exactly this repeated recombination of fragments at update time. Same conclusion: option C.
The tempting wrong path: picking Projection, because projection is the operator associated with decomposition in every worked example. Following that thought gives option B, and it breaks at one line — projection produces the fragments, it never re-tests a rule whose attributes sit in two different fragments.
Generalisation: "preservation" is a statement about where a rule can be checked; if checking needs attributes from two tables, those tables must first be brought back together.
Verification: if the decomposition had been dependency-preserving, every rule would be checkable inside a single fragment and no recombination would ever be needed, so the frequency of the recombining operator would be zero. The question is built entirely on that contrast, and only one operator performs recombination. Answer: C.
Question 14 · Database Management and Warehousing · 2025MCQ
Consider the following three relations:
Car (model, year, serial, color)
Make (maker, model)
Own (owner, serial)
A tuple in 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; (owner, serial) together form key for Own. (⋈ denotes natural join)
πowner(Own⋈(σcolor=‘‘red′′(Car⋈(σmaker=‘‘ABC′′Make))))
Which one of the following options describes what the above expression computes?
A.
All owners of a red car, a car made by ABC, or a red car made by ABC
B.
All owners of more than one car, where at least one car is red and made by ABC
C.
All owners of a red car made by ABC
D.
All red cars made by ABC
Correct Answer:
C
Step-by-Step Solution
Insight: The expression nests joins and selections from inside out. Each operation restricts the data further, culminating in owners of cars that are both red and made by ABC.
Exam route: Trace from the innermost selection outward, identifying what each step filters or joins.
Learning route:
Step 1: σmaker="ABC"Make → models made by ABC.
Step 2: Car⋈(result) → cars of those models (joined on model).
Step 3: σcolor="red"(result) → red cars among those (further filtered).
Step 4: Own⋈(result) → ownership records for those cars (joined on serial).
Step 5: πowner(result) → owner names.
Interpretation: The expression finds all owners who own a car that is both red and made by ABC.
Why others fail:
Option A suggests a union (red OR ABC OR both), but the joins act as intersection (AND).
Option B adds a condition about "more than one car", which is not present.
Option D omits the Own join and owner projection, so it would return cars, not owners.
Verification: If a car is red and made by ABC, and an owner owns it, that owner appears in the result. This matches option C.
Question 15 · Database Management and Warehousing · 2025NAT
On a relation named Loan of a bank:
Loan
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
the following SQL query is executed.
SELECT L1.loan number
FROM Loan L1
WHERE L1.amount > (SELECT MAX (L2.amount)
FROM Loan L2
WHERE L2.branch name = ’SR Nagar’);
The number of rows returned by the query is (Answer in integer)
Correct Answer:
3.00
Step-by-Step Solution
Insight: The inner subquery is non-correlated (it does not reference L1), so it evaluates exactly once to a single scalar value.
Exam route: Compute MAX(amount) for branch_name = 'SR Nagar' first, then count outer rows with amount strictly greater than that value.
Learning route:
Step 1: Identify the inner query. It selects MAX(L2.amount) FROM Loan L2 WHERE L2.branch_name = 'SR Nagar'. Since L2 does not reference L1, this is a non-correlated subquery and runs once.
Step 2: Filter Loan for branch_name = 'SR Nagar'. The matching rows are:
L15: 40000
L22: 25000
L19: 65000
Step 3: MAX(40000, 25000, 65000) = 65000.
Step 4: The outer query becomes: SELECT loan_number FROM Loan WHERE amount > 65000.
Verification: Plug 65000 back — only 90000, 80000, 70000 are strictly greater. Count is 3.
Question 16 · Calculus and Optimization · 2025MCQ
Let f(x)=2ex−e−x, x∈R. Let f(k)(a) denote the kth derivative of f evaluated at a. What is the value of f(10)(0)? (Note: ! denotes factorial)
A.
0
B.
1
C.
10!1
D.
10!2
Correct Answer:
A
Step-by-Step Solution
Insight: The function is the hyperbolic sine, sinh(x), whose derivatives cycle every two steps.
Exam route: Recognize f(x)=sinh(x). The n-th derivative of sinh(x) is sinh(x) for even n and cosh(x) for odd n. Since 10 is even, f(10)(x)=sinh(x). Evaluate at x=0 to get sinh(0)=0.
Learning route:
Write f(x)=21ex−21e−x.
Differentiate 10 times using the rule dxndneax=aneax.
Consider two functions f:R→R and g:R→(1,∞). Both functions are differentiable at a point c. Which of the following functions is/are ALWAYS differentiable at c? The symbol ⋅ denotes product and the symbol ∘ denotes composition of functions.
A.
f±g
B.
f⋅g
C.
gf
D.
f∘g+g∘f
Correct Answer:
["A","B","C"]
Step-by-Step Solution
Insight: Algebraic operations (±,⋅,/) only require differentiability at the point c, but composition requires differentiability of the outer function at the inner function's value.
Exam route: Check if the outer function is guaranteed to be differentiable at the required point. For f∘g, f must be diff at g(c), which is not guaranteed if f is only diff at c.
Learning route:
We are given f and g are differentiable at c. This does not imply they are differentiable everywhere.
Option A (f±g): Sum/difference rule requires f,g diff at c. Always true.
Option B (f⋅g): Product rule requires f,g diff at c. Always true.
Option C (f/g): Quotient rule requires f,g diff at c and g(c)=0. Since g:R→(1,∞), g(c)>1=0. Always true.
Option D (f∘g+g∘f): Chain rule for f∘g requires f to be differentiable at g(c). Since f is only guaranteed to be differentiable at c, this fails if g(c)=c. Similarly, g∘f requires g to be diff at f(c), which fails if f(c)=c. Not always true.
Correct options are A, B, C.
Question 18 · Calculus and Optimization · 2025NAT
t→+∞limt2+t−t=
(Round off to one decimal place)
Correct Answer:
0.50
Step-by-Step Solution
Insight: This is an ∞−∞ indeterminate form. Rationalise by multiplying and dividing by the conjugate t2+t+t, or equivalently factor out t and use the binomial approximation.
Exam route: Rationalise → simplify → divide numerator and denominator by t → substitute t→∞.
Learning route:
This is an infinity-minus-infinity limit question, recognisable because both t2+t→∞ and t→∞, giving the indeterminate form ∞−∞.
Method 1 — Conjugate rationalisation (recommended for exams):
Step 1 — Multiply and divide by the conjugate:
t2+t−t=t2+t+t(t2+t−t)(t2+t+t)
Step 2 — Simplify the numerator using (a−b)(a+b)=a2−b2:
=t2+t+t(t2+t)−t2=t2+t+tt
Step 3 — Divide numerator and denominator by t (valid since t>0):
=1+t1+11
Step 4 — Take the limit as t→∞ (so 1/t→0):
L=1+0+11=21
Method 2 — Binomial expansion:
Factor t from the square root: t2+t=t1+1/t.
Using (1+u)1/2≈1+u/2 with u=1/t:
t(1+2t1)−t=t+21−t=21
Trap check: A common error is to conclude the limit is $0$ by arguing "both terms go to infinity, so they cancel." This ignores the sub-leading 1/2 term that survives.
Verification: At t=1000: 1000000+1000−1000=1001000−1000≈1000.4999−1000=0.4999≈0.5. Confirmed.
The answer is $0.5$ (rounded to one decimal place: $0.5$).
Question 19 · Quantitative Aptitude · 2025MCQ
A 4×4 digital image has pixel intensities (U) as shown in the figure. The number of pixels with U≤4 is:
A.
3
B.
8
C.
11
D.
9
Correct Answer:
C
Step-by-Step Solution
Key idea: This is a systematic counting question on a matrix, recognisable because it provides a grid of numerical values and asks for the count of cells satisfying a specific inequality condition.
Step 1: Identify the condition. We need to count cells where the pixel intensity U \leq 4.
Step 3: Sum the counts. Total = 4 + 3 + 2 + 2 = 11.
Answer: C
Question 20 · Quantitative Aptitude · 2025MCQ
A rectangle has a length L and a width W, where L>W. If the width, W, is increased by 10%, which one of the following statements is correct for all values of L and W?
A.
Perimeter increases by 10%.
B.
Length of the diagonals increases by 10%.
C.
Area increases by 10%.
D.
The rectangle becomes a square.
Correct Answer:
C
Step-by-Step Solution
Insight: Area is the product of length and width; a percentage change in only one dimension translates directly to the exact same percentage change in the area, regardless of the other dimension.
Exam route: Multiply the original area by the width multiplier (1.1) to get the new area. The factor is 1.1, meaning a 10% increase.
Learning route:
Identify the original dimensions: Length = L, Width = W. Original Area = L×W.
Identify the change: Width is increased by 10%, so the new width is 1.1W. Length remains L.
Calculate the new area: New Area=L×1.1W=1.1LW.
Calculate the percentage change in area:
LW1.1LW−LW×100%=0.1×100%=10%
Verify other options to be absolutely sure:
Perimeter: Old = 2L+2W, New = 2L+2.2W. Increase is 0.2W, which is not 10% of 2L+2W.
Diagonal: Old = L2+W2, New = L2+1.21W2. The increase is not a flat 10%.
Square: L>W, but 1.1W is not guaranteed to equal L.
The correct statement is that the area increases by 10%.
Question 21 · Quantitative Aptitude · 2025MCQ
If a real variable x satisfies 3x2=27×9x, then the value of (2x)22x2 is:
A.
2−1
B.
20
C.
23
D.
215
Correct Answer:
C
Step-by-Step Solution
Insight: Unify the bases to 3 to find a relation between x2 and x, then substitute this relation directly into the target expression without solving for x.
Exam route: Convert $27$ and 9x to base 3. Equate exponents to get x2−2x=3. Simplify the target expression to 2x2−2x and substitute 3.
Learning route:
Given 3x2=27×9x.
Express all terms with base 3: 27=33 and 9x=(32)x=32x.
So, 3x2=33×32x=33+2x.
Since the bases are equal, equate the exponents:
x2=3+2x⟹x2−2x=3.
Now look at the target expression: (2x)22x2.
Using exponent laws, (2x)2=22x.
So the expression becomes 22x2x2=2x2−2x.
Substitute x2−2x=3 into the exponent:
23=8.
The value is 23, which matches option C.
Question 22 · Verbal Aptitude · 2025MCQ
Courage : Bravery :: Yearning : __________
Select the most appropriate option to complete the analogy.
A.
Longing
B.
Yelling
C.
Yawning
D.
Glaring
Correct Answer:
A
Step-by-Step Solution
Insight: This is a synonymic analogy. The two words in the first pair share a nearly identical meaning, and the second pair must replicate this synonymic relationship.
Exam route: "Courage" and "Bravery" are synonyms denoting strength in facing danger. "Yearning" means a strong desire or longing. The synonym for "Yearning" among the options is "Longing".
Learning route:
Analyze Pair A: Courage : Bravery. Both are nouns representing the quality of being brave and facing fear. The relationship is direct synonymy.
Construct Bridge: Word A is a direct synonym for Word B.
Apply to Pair B: Yearning is a noun meaning an intense feeling of loss or lack, and a deep longing for something.
Evaluate options:
Longing: A yearning desire. This is a direct synonym.
Yelling: Shouting loudly. This is an unrelated physical action.
Yawning: Opening the mouth wide due to tiredness. This is an unrelated physical action.
Glaring: Staring fiercely. This is an unrelated physical action.
Conclusion: "Longing" is the only word that maintains the synonymic relationship, while the others are phonetic or random distractors.
Question 23 · Verbal Aptitude · 2025MCQ
We __________ tennis in the lawn when it suddenly started to rain.
Select the most appropriate option to complete the above sentence.
A.
have been playing
B.
had been playing
C.
would have been playing
D.
could be playing
Correct Answer:
B
Step-by-Step Solution
Insight: The sentence describes a past action that was ongoing up until another past event interrupted it.
Exam route: The interrupting event "started to rain" is in the simple past. The main action must be in a past tense that shows ongoing duration up to that point. Among the options, only "had been playing" (past perfect continuous) fits this past duration requirement.
Learning route:
Step 1: Anchor the time. The phrase "started to rain" places the entire sentence in the past.
Step 2: Identify the aspect. The action of playing tennis was ongoing for a duration before the rain started. This requires a continuous aspect in the past.
Step 3: Evaluate options. "have been playing" is present perfect continuous (wrong time). "would have been playing" is conditional (no conditional context). "could be playing" is present modal (wrong time). "had been playing" is past perfect continuous, correctly showing an action ongoing up to a past reference point.
Question 24 · Verbal Aptitude · 2025MCQ
Column-I has statements made by Shanthala; and, Column-II has responses given by Kanishk.
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.
Identify the option that has the correct match between Column-I and Column-II.
A.
P – 2; Q – 3; R – 1; S – 4
B.
P – 3; Q – 4; R – 1; S – 2
C.
P – 4; Q – 1; R – 2; S – 3
D.
P – 1; Q – 2; R – 4; S – 3
Correct Answer:
B
Step-by-Step Solution
Insight: This is a dialogue response matching question. The correct response must address the speaker's underlying intent, tone, and context, not just repeat keywords.
Exam route:
P ("house is in a mess") implies a need for cleaning/help. Match with 3 ("clear it up for you").
Q ("not happy with marks") implies a grievance needing escalation. Match with 4 ("take it up with your teacher").
R ("avoid talking about politics") sets a boundary. Match with 1 ("won't bring it up").
S ("don't know what this word means") implies a knowledge gap. Match with 2 ("easily look it up").
Result: P-3, Q-4, R-1, S-2.
Learning route:
Analyze Statement P: "This house is in a mess." Intent: Statement of a practical problem requiring action. Response 3 ("No problem, let me clear it up for you") directly offers a remedy.
Analyze Statement Q: "I am not happy with the marks given to me." Intent: Expression of dissatisfaction or grievance. Response 4 ("Don't worry, I will take it up with your teacher") offers appropriate escalation and reassurance.
Analyze Statement R: "Politics is a subject I avoid talking about." Intent: Setting a conversational boundary. Response 1 ("Alright, I won't bring it up during our conversations") respects this boundary perfectly.
Analyze Statement S: "I don't know what this word means." Intent: Admission of a knowledge gap. Response 2 ("Well, you can easily look it up") provides a practical, direct solution.
Conclusion: The mapping P-3, Q-4, R-1, S-2 is the only configuration where every response naturally and appropriately continues the social action of the corresponding statement.
Question 25 · Artificial Intelligence · 2025MSQ
Which of the following statements is/are correct in a Bayesian network?
A.
Variable elimination is an approximate inference algorithm
B.
Gibbs sampling is an exact inference algorithm
C.
Variable elimination is used to determine conditional probabilities
D.
Rejection sampling is an approximate inference algorithm
Correct Answer:
["C","D"]
Step-by-Step Solution
Insight: Variable elimination is an exact inference algorithm, while sampling methods like Gibbs and rejection sampling are approximate.
Exam route: Identify the nature of each algorithm. Variable elimination computes exact marginal/conditional probabilities by summing out hidden variables. Gibbs and rejection sampling are stochastic, hence approximate.
Learning route:
Step 1: Analyze Variable Elimination. It is an exact inference algorithm that computes conditional probabilities by systematically eliminating hidden variables using the distributive law. Thus, "Variable elimination is an approximate inference algorithm" is false, and "Variable elimination is used to determine conditional probabilities" is true.
Step 2: Analyze Gibbs Sampling. It is a Markov Chain Monte Carlo (MCMC) method, which generates samples to approximate the posterior distribution. Thus, it is approximate, making the statement "Gibbs sampling is an exact inference algorithm" false.
Step 3: Analyze Rejection Sampling. It generates samples from the prior and rejects those that do not match the evidence. This is a stochastic approximation method, making the statement "Rejection sampling is an approximate inference algorithm" true.
Question 26 · Artificial Intelligence · 2025MCQ
Consider game trees Tree-1 and Tree-2 as shown. The first level is a MAX agent and the second level is a MIN agent. The value in the square node is the output of the utility function.
For what ranges of x and y, the right child of node B and the right child of node E will be pruned by alpha-beta pruning algorithm?
A.
x∈[1,∞) and y∈(−∞,2]
B.
x∈(−∞,2] and y∈(−∞,5]
C.
x∈(−∞,2] and y∈[2,∞)
D.
x∈[1,∞) and y∈(−∞,5]
Correct Answer:
C
Step-by-Step Solution
Insight: Pruning occurs when α≥β. Track α and β carefully as they are passed down and updated at each node.
Exam route:
Tree 1: Root gets α=2 from the left child. At node B (MIN), the left child is x, so β becomes x. The right child is pruned if α≥β⟹2≥x⟹x∈(−∞,2].
Tree 2: Node D (MIN) returns min(5,y) to the root. The root updates α=min(5,y). At node E (MIN), the left child is 2, so β becomes 2. The right child is pruned if α≥β⟹min(5,y)≥2⟹y∈[2,∞).
Learning route:
Step 1: Analyze Tree 1. Root A (MAX) starts with α=−∞,β=∞. It evaluates the left child (value 2) and updates α=max(−∞,2)=2.
Step 2: Move to right child B (MIN). B inherits α=2,β=∞. B evaluates its left child (x) and updates β=min(∞,x)=x.
Step 3: For B's right child to be pruned, the condition α≥β must hold immediately after evaluating x. Thus, 2≥x, meaning x∈(−∞,2].
Step 4: Analyze Tree 2. Root C (MAX) starts with α=−∞,β=∞. It evaluates left child D (MIN). D evaluates its left child (5), so β=5. D evaluates its right child (y), so β=min(5,y). D returns min(5,y) to C.
Step 5: Root C updates α=max(−∞,min(5,y))=min(5,y).
Step 6: Move to right child E (MIN). E inherits α=min(5,y) and β=∞. E evaluates its left child (2) and updates β=min(∞,2)=2.
Step 7: For E's right child to be pruned, we need α≥β⟹min(5,y)≥2. Since 5≥2 is always true, this condition simplifies to y≥2, meaning y∈[2,∞).
Question 27 · Artificial Intelligence · 2025MCQ
The state graph shows the action cost along the edges and the heuristic function h associated with each state.
Suppose A∗ algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
A.
S,A,E,C,B,D,G
B.
S,E,A,C,B,D,G
C.
S,A,E,B,C,D,G
D.
S,A,B,E,C,D,G
Correct Answer:
C
Step-by-Step Solution
Insight: A* expansion order is strictly dictated by the f(n)=g(n)+h(n) value, with mandatory updates to g(n) if a cheaper path to an already discovered node is found.
Exam route: Calculate f for all generated nodes. S(f=6) → A(f=6), E(f=7). Pop A → B(f=8). Pop E → update B to f=5, add C(f=9). Pop B(f=5) → C is already f=9 (better). Pop C(f=9) → D(f=8). Pop D(f=8) → G(f=9). Pop G.
Learning route:
Step 1: Init: Open = {S(f=0+6=6)}.
Step 2: Pop S. Gen A(g=4, h=2, f=6), E(g=1, h=6, f=7). Open = {A(f=6), E(f=7)}.
Step 3: Pop A (lowest f). Gen B(g=4+2=6, h=2, f=8). Open = {E(f=7), B(f=8)}.
Step 4: Pop E (lowest f). Gen B(g=1+2=3, h=2, f=5). Since 5 < 8, update B's cost! Gen C(g=1+2=3, h=6, f=9). Open = {B(f=5), C(f=9)}.
Step 5: Pop B (lowest f). Gen C(g=3+2=5, h=6, f=11). Existing C has f=9, which is better, so ignore. Open = {C(f=9)}.
Step 6: Pop C. Gen D(g=3+3=6, h=2, f=8). Open = {D(f=8)}.
Step 7: Pop D. Gen G(g=6+3=9, h=0, f=9). Open = {G(f=9)}.
Step 8: Pop G. Goal reached.
Expansion sequence: S, A, E, B, C, D, G.
Answer: S, A, E, B, C, D, G.
Question 28 · Spatial Aptitude · 2025MCQ
In the given figure, the numbers associated with the rectangle, triangle, and ellipse are 1,2, and 3, respectively. Which one among the given options is the most appropriate combination of P,Q, and R ?
A.
P=6;Q=5;R=3
B.
P=5;Q=6;R=3
C.
P=3;Q=6;R=6
D.
P=5;Q=3;R=6
Correct Answer:
A
Step-by-Step Solution
Insight: This is a Venn diagram region identification problem. The numbers 1, 2, 3 represent the shapes (Rectangle, Triangle, Ellipse). The value for any point P, Q, R is the sum of the IDs of the shapes that strictly contain it.
Exam route: Test each point against the boundaries of the three shapes. Sum the IDs (1 for Rect, 2 for Tri, 3 for Ellipse) for the shapes containing the point. Match the resulting triplet (P, Q, R) to the options.
Learning route:
Identify the shape boundaries from the figure:
Rectangle (1): Bounded region roughly in the center-left.
Triangle (2): Large triangle encompassing the right side.
Ellipse (3): Oval shape overlapping the bottom-right.
Evaluate Point P:
P is located in the central region where all three shapes overlap.
It is inside the Rectangle (1), inside the Triangle (2), and inside the Ellipse (3).
Sum for P = 1+2+3=6.
Evaluate Point Q:
Q is located to the right of the Rectangle's right boundary.
It is outside the Rectangle (1).
It is clearly inside the Triangle (2) and inside the Ellipse (3).
Sum for Q = 2+3=5.
Evaluate Point R:
R is located in the lower intersection of the Rectangle and Triangle, but sits just below the lower boundary of the Ellipse.
It is inside the Rectangle (1) and inside the Triangle (2), but outside the Ellipse (3).
Sum for R = 1+2=3.
Match with Options:
We have established P=6, Q=5, and R=3.
Looking at the given options, only Option A (P=6;Q=5;R=3) matches this triplet perfectly.
Trap Analysis: The 'boundary illusion' trap occurs when students visually estimate a point's position without strictly checking the boundary lines. For example, a student might think R is inside the Ellipse because it is visually close to it, leading to R=1+2+3=6. This would incorrectly point to Option C or D. Always trace the exact boundary line (e.g., the bottom curve of the ellipse) to confirm inclusion/exclusion.
Verification: P is deeply inside all three (6). Q is clearly outside the left-most shape (Rectangle), so it cannot be 6. R is below the ellipse's bottom curve, so it cannot include 3. Only Option A satisfies all strict boundary tests.
Question 29 · Spatial Aptitude · 2025MCQ
A regular dodecagon (12-sided regular polygon) is inscribed in a circle of radius r cm as shown in the figure. The side of the dodecagon is d cm. All the triangles (numbered 1 to 12) in the figure are used to form squares of side r cm and each numbered triangle is used only once to form a square.
The number of squares that can be formed and the number of triangles required to form each square, respectively, are:
Note: The figure shown is representative.
A.
3; 4
B.
4; 3
C.
3; 3
D.
3; 2
Correct Answer:
A
Step-by-Step Solution
Insight: This is a geometric decomposition question disguised as a pattern puzzle. The fastest and most rigorous route is area conservation.
Exam route: Calculate the area of one central triangle, multiply by 12 to get the total available area, and divide by the area of the target square to find the number of squares. Then divide the total triangles by the number of squares to find the count per square.
Learning route:
Identify the properties of the given triangles. A regular dodecagon inscribed in a circle of radius r is divided into 12 congruent isosceles triangles by lines from the center to each vertex.
Each triangle has two sides equal to the radius r, and the included central angle is 12360∘=30∘.
Calculate the area of one such triangle using the sine formula for the area of a triangle:
Areatriangle=21×r×r×sin(30∘)=21r2(21)=4r2.
Calculate the total area of all 12 triangles available:
Total Area=12×4r2=3r2.
The problem states we must form squares of side r cm. The area of one such square is r2.
By the principle of area conservation (assuming no overlaps or gaps, which is standard for such assembly puzzles), the maximum number of complete squares we can form is:
Number of squares=Area of one squareTotal Area=r23r2=3.
Since all 12 triangles are used exactly once to form these 3 squares, the number of triangles required for each square is:
Triangles per square=312=4.
Therefore, 3 squares can be formed, each requiring 4 triangles.
Trap Analysis: A common mistake is to notice that 3×30∘=90∘ and assume that 3 triangles can be arranged around a central point to form the 90∘ corner of a square. If a student assumes 3 triangles make one square, they would calculate 12/3=4 squares. This leads to Option B (4; 3). However, this ignores area conservation: 3 triangles only have an area of 3×4r2=43r2, which is strictly less than the r2 required for a square of side r. The geometric arrangement of 4 triangles into a square of side r is possible through specific non-symmetric interlocking dissections, but the area argument uniquely and immediately identifies the correct counts without needing to visualize the complex tiling.
Verification: 3 squares×4 triangles/square=12 triangles. Total area = 3×r2=3r2. Matches perfectly.
Question 30 · Analytical Aptitude · 2025MCQ
Weight of a person can be expressed as a function of their age. The function usually varies from person to person. Suppose this function is identical for two brothers, and it monotonically increases till the age of 50 years and then it monotonically decreases. Let a1 and a2 (in years) denote the ages of the brothers and a1<a2.
Which one of the following statements is correct about their age on the day when they attain the same weight?
A.
a1<a2<50
B.
a1<50<a2
C.
50<a1<a2
D.
Either a1=50 or a2=50
Correct Answer:
B
Step-by-Step Solution
Key idea: This is a monotonicity-based logical deduction question, recognizable by the function's trend (increasing then decreasing) and the equality of outputs for two different inputs.
Step 1: Understand the function's behavior. The weight function W(a) monotonically increases for a≤50 and monotonically decreases for a>50. This creates a single peak at a=50.
Step 2: Analyze the condition W(a1)=W(a2) with a1<a2.
Step 3: Evaluate the positions of a1 and a2 relative to the peak.
If both a1<a2≤50, they lie on the monotonically increasing segment. For a strictly monotonic function, W(a1)<W(a2), so they cannot be equal.
If both 50≤a1<a2, they lie on the monotonically decreasing segment. Similarly, W(a1)>W(a2), so they cannot be equal.
Step 4: The only way for W(a1)=W(a2) with a1=a2 is if one age is on the increasing slope and the other is on the decreasing slope.
Step 5: Since a1<a2, it must be that a1<50 and a2>50.
Step 6: This matches the condition a1<50<a2.
Answer: B
Question 31 · Analytical Aptitude · 2025MCQ
Let p and q be any two propositions. Consider the following propositional statements. S1:p→q,S2:¬p∧q,S3:¬p∨q,S4:¬p∨¬q,
where ∧ denotes conjunction (AND operation), ∨ denotes disjunction (OR operation), and ¬ denotes negation (NOT operation). Which one of the following options is correct?
(Note: ≡ denotes logical equivalence)
A.
S1≡S3
B.
S2≡S3
C.
S2≡S4
D.
S1≡S4
Correct Answer:
A
Step-by-Step Solution
Insight: p→q is logically equivalent to ¬p∨q by material implication.
Exam route: Recall the material implication law p→q≡¬p∨q. Compare S1=p→q with S3=¬p∨q. They are identical in meaning.
Learning route:
Step 1: Write out each statement clearly.
S1:p→q
S2:¬p∧q
S3:¬p∨q
S4:¬p∨¬q
Step 2: Apply the material implication equivalence to S1.
p→q≡¬p∨q
Step 3: Compare the result with S3.
S1≡¬p∨q≡S3
Step 4: Verify with a truth table to be absolutely sure.
p | q | S1 | S3
T | T | T | T
T | F | F | F
F | T | T | T
F | F | T | T
The columns for S1 and S3 match exactly.
Answer: S1≡S3, which is option A.
Common trap: Students sometimes confuse ¬p∨q with ¬p∧q or ¬p∨¬q. Remember that implication becomes a disjunction (∨), not a conjunction (∧).