GATE 2026
65 questions
MCQ 33 · MSQ 14 · NAT 181-mark 30 · 2-mark 35
Questions 21–25 of 65
Let be a matrix, where , and .
Which of the following options is equal to ?
Which of the following options is equal to ?
Answer: (B)
Here is the usual rotation matrix for the angle . When rotation matrices are multiplied, their angles add. So is a rotation by . We get exactly when is a multiple of , because then the rotation is a full turn, or several full turns.
We need . Here is a multiple of , so . Then:
Answer: M
We need . Here is a multiple of , so . Then:
Answer: M
Consider a set . Let be another set which is a subspace of with dimension two.
Which of the following gives the area of ?
Which of the following gives the area of ?
Answer: (A)
The set is a solid ball with centre at the origin and radius .
The set is a subspace of dimension in . So it is a plane that goes through the origin.
Take a solid ball of radius with centre at the origin. Cut it with any plane through the centre. The result is always a flat D disk with the same radius . The plane passes through the centre, so the cut is a full "great circle" disk, whatever the direction of the plane.
Area of this disk:
Answer:
The set is a subspace of dimension in . So it is a plane that goes through the origin.
Take a solid ball of radius with centre at the origin. Cut it with any plane through the centre. The result is always a flat D disk with the same radius . The plane passes through the centre, so the cut is a full "great circle" disk, whatever the direction of the plane.
Area of this disk:
Answer:
In the following table, the Task column lists a few tasks related to machine learning. The Algorithm column lists a few algorithms.
Each entry "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
Which of the following options is/are the correct matching(s)?
Each entry "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
Which of the following options is/are the correct matching(s)?
One or more options are correct.
Answer: (B)
Match each algorithm with what it does:
- K-Medoid (A2) groups unlabeled points around medoids, so it is a clustering method: T1:A2.
- Naive Bayes (A4) uses Bayes' rule with labeled data to predict a class, so it is a classifier: T2:A4.
- Markov Chain Monte Carlo (A1) draws random samples from a distribution, so it is used for sampling: T3:A1.
- Linear Discriminant Analysis (A3) finds directions that best separate the classes, so it gives a lower-dimensional set of features: feature extraction, T4:A3.
This gives T1:A2, T2:A4, T3:A1, T4:A3, which is option (B). The other options each put a wrong algorithm against a task:
- (A) and (D) use Naive Bayes for clustering (T1:A4), but it is a supervised classifier.
- (A) and (C) use K-Medoid for feature extraction (T4:A2), but it only clusters.
- (C) uses LDA for clustering (T1:A3), and (D) uses K-Medoid for classification (T2:A2), but neither is meant for that.
Answer: (B)
- K-Medoid (A2) groups unlabeled points around medoids, so it is a clustering method: T1:A2.
- Naive Bayes (A4) uses Bayes' rule with labeled data to predict a class, so it is a classifier: T2:A4.
- Markov Chain Monte Carlo (A1) draws random samples from a distribution, so it is used for sampling: T3:A1.
- Linear Discriminant Analysis (A3) finds directions that best separate the classes, so it gives a lower-dimensional set of features: feature extraction, T4:A3.
This gives T1:A2, T2:A4, T3:A1, T4:A3, which is option (B). The other options each put a wrong algorithm against a task:
- (A) and (D) use Naive Bayes for clustering (T1:A4), but it is a supervised classifier.
- (A) and (C) use K-Medoid for feature extraction (T4:A2), but it only clusters.
- (C) uses LDA for clustering (T1:A3), and (D) uses K-Medoid for classification (T2:A2), but neither is meant for that.
Answer: (B)
Sentence is said to entail Sentence if whenever is TRUE, also must hold TRUE.
Which of the following statements is/are correct if entails ?
Which of the following statements is/are correct if entails ?
One or more options are correct.
Answer: (A), (B), (C)
If entails , then every time is true, has to be true too. So there is no case where holds and does not.
- : this is the logical implication for "whenever X is true, Y is true." It restates entailment correctly.
- is False: "X and not-Y never hold together" means the same as "X true implies Y true". It rules out the only way entailment could fail. Correct.
- "if X then Y": this is just the plain-words form of , so it is also correct.
- "if Y then X": this turns the direction around. Entailment does not work both ways. being true does not need to be true. Incorrect.
Answer: , is False and "if X then Y" are all correct restatements.
- : this is the logical implication for "whenever X is true, Y is true." It restates entailment correctly.
- is False: "X and not-Y never hold together" means the same as "X true implies Y true". It rules out the only way entailment could fail. Correct.
- "if X then Y": this is just the plain-words form of , so it is also correct.
- "if Y then X": this turns the direction around. Entailment does not work both ways. being true does not need to be true. Incorrect.
Answer: , is False and "if X then Y" are all correct restatements.
You are given the following Pre-order and In-order traversals of a Binary Tree with nodes .
Which of the following statements is/are true about the Binary Tree
Which of the following statements is/are true about the Binary Tree
One or more options are correct.
Answer: (A), (B)
Rebuild the tree. The first element of the pre-order is the root, so the root is P. In the in-order, the nodes before P () form the left subtree and the nodes after P () form the right subtree.
Left subtree: its pre-order part is , so its root is Q. In the in-order , S is left of Q and E is right of Q. So Q has left child S and right child E.
Right subtree: its pre-order part is , so its root is R. In the in-order , F is left of R and G is right of R. So R has left child F and right child G.
The tree is P with left child Q (children S, E) and right child R (children F, G).
(A) is true: P is the root.
(B) is true: post-order is left, right, root. Left subtree gives S, E, Q. Right subtree gives F, G, R. Then the root P. So the post-order is S E Q F G R P.
(C) is false: Q has two children, S and E.
(D) is false: the left subtree of R is just F. G is the right child of R.
Answer: (A), (B)
Left subtree: its pre-order part is , so its root is Q. In the in-order , S is left of Q and E is right of Q. So Q has left child S and right child E.
Right subtree: its pre-order part is , so its root is R. In the in-order , F is left of R and G is right of R. So R has left child F and right child G.
The tree is P with left child Q (children S, E) and right child R (children F, G).
(A) is true: P is the root.
(B) is true: post-order is left, right, root. Left subtree gives S, E, Q. Right subtree gives F, G, R. Then the root P. So the post-order is S E Q F G R P.
(C) is false: Q has two children, S and E.
(D) is false: the left subtree of R is just F. G is the right child of R.
Answer: (A), (B)