GATE 2026
65 questions
MCQ 33 · MSQ 14 · NAT 181-mark 30 · 2-mark 35
Questions 11–15 of 65
For a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from to .
Which of the following options is true about the angle between the first and the tenth principal components?
Which of the following options is true about the angle between the first and the tenth principal components?
Answer: (B)
PCA gives principal components that are mutually orthogonal (uncorrelated) directions. Each new component is picked to hold the remaining variance, along a direction at right angles to all the earlier ones.
So the st and the th principal components (and any two different components from the same PCA) are always orthogonal. The angle between them is , however many dimensions are kept or dropped.
Answer: θ=90°
So the st and the th principal components (and any two different components from the same PCA) are always orthogonal. The angle between them is , however many dimensions are kept or dropped.
Answer: θ=90°
Consider that you are training a classifier for a -class classification problem. Each input is represented as a -dimensional vector. There are samples, out of which first will be used for testing. Let (LOOCV) be used for selection of the classifier model before testing.
Which of the following options is the correct number of validation splits that will be generated?
Which of the following options is the correct number of validation splits that will be generated?
Answer: (C)
Leave-One-Out Cross-Validation (LOOCV) makes one validation split for each training example. In every split, exactly one sample is kept out for validation and the model trains on all the others.
The classifier model is chosen before testing, so LOOCV uses only the samples that are not reserved for testing. There are samples in total. The first are reserved for testing, so this leaves samples for model selection with LOOCV.
LOOCV on samples gives exactly validation splits (one for each sample).
Answer: 900
The classifier model is chosen before testing, so LOOCV uses only the samples that are not reserved for testing. There are samples in total. The first are reserved for testing, so this leaves samples for model selection with LOOCV.
LOOCV on samples gives exactly validation splits (one for each sample).
Answer: 900
Which of the following algorithms is NOT an example of uninformed search?
Answer: (C)
Uninformed (blind) search algorithms look through the search space with no problem-specific knowledge. They only use the structure of the graph or tree. They do not use any heuristic guess of how near a state is to the goal. BFS, DFS and Depth-limited Search are all standard examples of uninformed search. They explore only by the shape of the search tree.
A* Search is different. It uses a heuristic function , which estimates the remaining cost to the goal. It adds this to the path cost so far, , to guide the search. So it is an informed search algorithm, not an uninformed one.
Answer: A* Search
A* Search is different. It uses a heuristic function , which estimates the remaining cost to the goal. It adds this to the path cost so far, , to guide the search. So it is an informed search algorithm, not an uninformed one.
Answer: A* Search
Which of the following statements is NOT true?
(The names of the predicates are intuitive.)
(The names of the predicates are intuitive.)
Answer: (C)
Let us look at each statement one by one:
- "Classmate is symmetric" (): this is true, going by the usual meaning of "classmate."
- "Everyone likes ice cream" written with a double negative (): this is a valid equivalence, because a universal statement can be written with a negated existential. So it is true.
- "Each king is a person" written as : this is WRONG. The AND () wrongly says that everything in the domain is a king and a person. The correct form needs an implication: . Using AND in place of implication is a common mistake when translating into FOL.
- "All humans are mortal" with implication (): this is the standard correct form, so it is true.
Answer: "Each king is a person" is equivalent to ∀x IsKing(x)∧IsPerson(x) (this statement is NOT true).
- "Classmate is symmetric" (): this is true, going by the usual meaning of "classmate."
- "Everyone likes ice cream" written with a double negative (): this is a valid equivalence, because a universal statement can be written with a negated existential. So it is true.
- "Each king is a person" written as : this is WRONG. The AND () wrongly says that everything in the domain is a king and a person. The correct form needs an implication: . Using AND in place of implication is a common mistake when translating into FOL.
- "All humans are mortal" with implication (): this is the standard correct form, so it is true.
Answer: "Each king is a person" is equivalent to ∀x IsKing(x)∧IsPerson(x) (this statement is NOT true).
Consider that the quick sort algorithm is used to sort an array of distinct randomly ordered elements. In every call, the pivot is chosen as the first element of the current subarray.
Let denote the expected time to sort the array. Assume that the time to partition is linear in the size of the current subarray.
Which of the following recurrence relations correctly represents in this scenario?
Let denote the expected time to sort the array. Assume that the time to partition is linear in the size of the current subarray.
Which of the following recurrence relations correctly represents in this scenario?
Answer: (D)
The pivot is the first element and the input is randomly ordered, so the pivot is equally likely to have any rank in the current subarray of size .
If the pivot lands at position , the left part has size and the right part has size . Each has probability . Partitioning costs . Averaging over all splits gives the expected-case recurrence:
The other options each fix one split:
- (A) is the worst case, where the pivot is always an extreme element.
- (B) is a split in a fixed 1:3 ratio at every step. Here the split sizes vary over all values, so it is not the average.
- (C) is the ideal case, where the pivot is always the median.
Answer: (D)
If the pivot lands at position , the left part has size and the right part has size . Each has probability . Partitioning costs . Averaging over all splits gives the expected-case recurrence:
The other options each fix one split:
- (A) is the worst case, where the pivot is always an extreme element.
- (B) is a split in a fixed 1:3 ratio at every step. Here the split sizes vary over all values, so it is not the average.
- (C) is the ideal case, where the pivot is always the median.
Answer: (D)