GATE 2024
64 questions
MCQ 36 · MSQ 12 · NAT 161-mark 29 · 2-mark 35
Questions 21–25 of 64
If is non-singular and , then ( ) must satisfy which ONE of the following equations?
Note: denotes the set of real numbers.
Answer: (A)
Method 1: set the derivative to zero.
By the quotient rule:
So . Divide by :
Since is non-singular, multiply by :
At : .
Method 2: Lagrange multiplier.
The ratio does not change if is scaled, so maximise subject to .
So . Here is an eigenvector of , and is its eigenvalue (the largest one, since is the maximum).
The other options do not follow: (B) has and on the wrong sides, (C) multiplies in the wrong order and does not use , and (D) has no scatter matrices at all.
Answer: (A)
Which ONE of the following expressions is always an admissible heuristic?
Answer: (D)
Both and are admissible, so and .
A. can be as large as . For example, if , the sum is . So it is not always admissible.
B. can be as large as , which is more than when . So it is not always admissible.
C. grows when is small. For example, and a small such as 0.5 (allowed when ) give . So it is not always admissible.
D. Both values lie between 0 and , so their difference is never more than the larger of the two: . So never overestimates and is always admissible.
Answer: (D)
Which ONE of the following statements is FALSE?
Answer: (C)
Two variables are conditionally independent given if every path between them is blocked by .
- (A) is a chain through . Given it is blocked, so . True.
- (B) is a chain through , blocked by . True.
- (D) has as a common parent. Given it is blocked. True.
- (C) has as a collider. and are independent when is not known, but once is given, the path opens and they become dependent. So (C) is false.
Answer: (C)
Which ONE of the following choices of (m) and (n) makes the above statement valid?
Answer: (C)
The two values it keeps along the current path are:
- is the highest value found so far for the MAX player. MAX wants a large value, so it keeps the best (largest) choice. starts at and can only go up.
- is the lowest value found so far for the MIN player. MIN wants a small value, so it keeps the best (smallest) choice. starts at and can only go down.
A branch is pruned as soon as , because the other player would never let play reach it.
So (m) = highest and (n) = lowest. Options B and D are wrong because MAX never keeps its lowest value, and options A and B are wrong because MIN never keeps its highest value.
Answer: (C)
Defender(name, rating, side, goals)
Forward(name, rating, assists, goals)
Team(name, club, price)
Which ONE of the following relational algebra expressions checks that every name occurring in Team appears in either Defender or Forward, where denotes the empty set?
Answer: (C)
Checking each option -
is the set difference operator. It gives all tuples that are in set A but not in set B.
If the result is , then every element (tuple) of A is also present in B.
Option A
(Team) picks out the names from the Team table. - (i)
(Defender) (Forward) gives all the names that are in both the Defender and Forward tables. - (ii)
(i) (ii) gives only those names that are in the Team table but not in both the Defender and Forward tables.
If this is equal to , then we can say it checks that every name in the Team table is also in both the Defender and Forward tables.
Option B
This does the same kind of operation as Option A. The only difference is that it does (ii) (i).
(ii) (i) gives only those names that are in both the Defender and Forward tables but not in the Team table.
If this is equal to , then we can say it checks that every name in both the Defender and Forward tables is also in the Team table.
Option C
(Defender) (Forward) gives all the names that are in the Defender or the Forward table. - (iii)
(i) (iii) gives only those names that are in the Team table but not in the Defender or the Forward table.
If this is equal to , then we can say it checks that every name in the Team table is also in the Defender or the Forward table.
So C is the required answer.
The same method on Option D shows that it checks that all names in the Defender or Forward table are also in the Team table.