GATE 2025
65 questions
MCQ 35 · MSQ 18 · NAT 121-mark 30 · 2-mark 35
Questions 21–25 of 65
It is given that for an exponentially distributed random variable with , where denotes the expectation of . What is the value of ?
( denotes natural logarithm)
( denotes natural logarithm)
Answer: (A)
Tail probability: (survival function of exponential).
Solve for λ:
(here we use )
Answer: ln2
Solve for λ:
(here we use )
Answer: ln2
Consider designing a linear classifier
on a dataset , . Recall that the sign function outputs +1 if the argument is positive, and −1 if the argument is non-positive. The parameters and are updated as per the following training algorithm:
whenever . In other words, whenever the classifier wrongly predicts a sample from the dataset, gets updated to , and likewise gets updated to . Consider the case , . Then
on a dataset , . Recall that the sign function outputs +1 if the argument is positive, and −1 if the argument is non-positive. The parameters and are updated as per the following training algorithm:
whenever . In other words, whenever the classifier wrongly predicts a sample from the dataset, gets updated to , and likewise gets updated to . Consider the case , . Then
Answer: (A)
The case is and , so the point is misclassified and the update is , .
Put the new parameters into :
Since , the added amount is at least . So rises for this point, and (A) is true. That rules out (B) and (C).
(D) is false: here , which is not above .
Answer: (A)
Put the new parameters into :
Since , the added amount is at least . So rises for this point, and (A) is true. That rules out (B) and (C).
(D) is false: here , which is not above .
Answer: (A)
Consider the following Python declarations of two lists:
Which one of the following statements results in ?
Which one of the following statements results in ?
Answer: (A)
puts every element of one by one at the end of . The result is exactly .
works differently. It puts the whole list in as one nested element. The result is , which is wrong.
A Python list has no method (that belongs to dictionaries and sets), so raises an
Answer: (A)
works differently. It puts the whole list in as one nested element. The result is , which is wrong.
A Python list has no method (that belongs to dictionaries and sets), so raises an
AttributeError. The method needs two arguments, an index and an element, so raises a TypeError.Answer: (A)
Consider two functions and . Both functions are differentiable at a point . Which of the following functions is/are ALWAYS differentiable at ? The symbol denotes product and the symbol denotes composition of functions.
One or more options are correct.
Answer: (A), (B), (C)
Both and are differentiable at .
(A) : the sum or difference of functions differentiable at is differentiable at . True.
(B) : the product rule applies at . True.
(C) : the quotient rule needs . Since takes values in , . True.
(D) The chain rule for at needs to be differentiable at , and for it needs to be differentiable at . We are told only that and are differentiable at , not at those other points. So this may fail.
Example: , (values in [2, 4], so inside ) and . Both are differentiable at , and . Then is not differentiable at , while is differentiable at . The sum is not differentiable at .
Answer: (A), (B), (C)
(A) : the sum or difference of functions differentiable at is differentiable at . True.
(B) : the product rule applies at . True.
(C) : the quotient rule needs . Since takes values in , . True.
(D) The chain rule for at needs to be differentiable at , and for it needs to be differentiable at . We are told only that and are differentiable at , not at those other points. So this may fail.
Example: , (values in [2, 4], so inside ) and . Both are differentiable at , and . Then is not differentiable at , while is differentiable at . The sum is not differentiable at .
Answer: (A), (B), (C)
Which of the following statements is/are correct?
One or more options are correct.
Answer: (B), (D)
Is the orthonormal basis unique? has infinitely many valid sets of orthonormal basis vectors (for example, any rotation of the standard basis gives another orthonormal basis). So "unique set" is false. "Does not have a unique set" is true.
Linear independence and orthonormality: Linearly independent vectors need not be orthonormal. For example, and are independent, but they are not orthogonal and not all of unit length. So this statement is false.
Orthonormal vectors are independent: Orthonormal vectors are always linearly independent. Suppose a linear combination of mutually orthogonal unit vectors equals zero. Taking the dot product with each basis vector forces every coefficient to be zero. This statement is true.
Answer: does not have a unique set of orthonormal basis vectors; and orthonormal vectors in are linearly independent.
Linear independence and orthonormality: Linearly independent vectors need not be orthonormal. For example, and are independent, but they are not orthogonal and not all of unit length. So this statement is false.
Orthonormal vectors are independent: Orthonormal vectors are always linearly independent. Suppose a linear combination of mutually orthogonal unit vectors equals zero. Taking the dot product with each basis vector forces every coefficient to be zero. This statement is true.
Answer: does not have a unique set of orthonormal basis vectors; and orthonormal vectors in are linearly independent.