GATE 2018
65 questions
MCQ 41 · NAT 241-mark 30 · 2-mark 35
Questions 26–30 of 65
The value of correct to three decimal places (assuming that = 3.14 ) is ________.
Answer: 0.27 to 0.3
Put . Then , so .
Limits: at , . At , .
With in radians, . So the integral is .
Answer: 0.289Consider a matrix Note that denotes the transpose of v. The largest eigenvalue of A is _____.
Answer: 3
Vector u:
Vector v transposed:
Matrix A:
Put in the vectors:
Multiply to get:
Characteristic equation:
Expand the determinant:
Simplify:
Eigenvalues:
So the largest eigenvalue is .
Answer: 3
Vector v transposed:
Matrix A:
Put in the vectors:
Multiply to get:
Characteristic equation:
Expand the determinant:
Simplify:
Eigenvalues:
So the largest eigenvalue is .
Answer: 3
The chromatic number of the following graph is _______.
Answer: 3
Vertices a, b and c form a triangle, so we need at least 3 colours.
One valid 3-colouring is: a = 1, b = 2, c = 3, e = 2, d = 1, f = 3. Every edge joins two vertices with different colours.
Answer: 3
One valid 3-colouring is: a = 1, b = 2, c = 3, e = 2, d = 1, f = 3. Every edge joins two vertices with different colours.
Answer: 3
Let G be a finite group on 84 elements. The size of a largest possible proper subgroup of G is ________.
Answer: 42
By Lagrange's theorem, the order of a subgroup divides 84. A proper subgroup has order less than 84, so its order is at most the largest proper divisor of 84, which is . So no proper subgroup is larger than 42.
A subgroup of order 42 can exist. In the cyclic group , the elements form a subgroup of order 42 and index 2. So the largest possible size is 42.
Answer: 42
A subgroup of order 42 can exist. In the cyclic group , the elements form a subgroup of order 42 and index 2. So the largest possible size is 42.
Answer: 42
The postorder traversal of a binary tree is 8,9,6,7,4,5,2,3,1. The inorder traversal of the same tree is 8,6,9,4,7,2,5,1,3. The height of a tree is the length of the longest path from the root to any leaf. The height of the binary tree above is ______.
Answer: 4
The last item in postorder is 1 so the root is 1. In inorder, the left part is {8, 6, 9, 4, 7, 2, 5} and the right part is {3}.
- Left subtree: root is 2, with left {8, 6, 9, 4, 7} and right {5}.
- For {8, 6, 9, 4, 7}: root is 4, left is {8, 6, 9} (root 6, children 8 and 9), right is {7}.
Longest path: 1 2 4 6 8, which is 4 edges.
Answer: 4
- Left subtree: root is 2, with left {8, 6, 9, 4, 7} and right {5}.
- For {8, 6, 9, 4, 7}: root is 4, left is {8, 6, 9} (root 6, children 8 and 9), right is {7}.
Longest path: 1 2 4 6 8, which is 4 edges.
Answer: 4