GATE 2003
107 questions
MCQ 1071-mark 107
Questions 36–40 of 107
Let G be an arbitrary graph with n nodes and k components. If a vertex is removed from G, the number of components in the resultant graph must necessarily lie between.
Answer: (C)
Let be the removed vertex, and let be the component that contains it.
Lower bound. The other components do not touch , so they stay as they are. So the count is at least . It is exactly when is an isolated vertex, because then disappears.
Upper bound. After removal only vertices are left, and every component has at least one vertex. So there can be at most components. This is reached when is the centre of a star: it is joined to all the other vertices, so removing it leaves isolated vertices.
So the number of components must lie between and , and both ends can occur. Option (A) is wrong because the count can drop to . Option (B) is wrong because the star with has and ends with 4 components, more than . Option (D) is wrong for the same reason as (A): its lower end is not forced.
Answer: (C)
Lower bound. The other components do not touch , so they stay as they are. So the count is at least . It is exactly when is an isolated vertex, because then disappears.
Upper bound. After removal only vertices are left, and every component has at least one vertex. So there can be at most components. This is reached when is the centre of a star: it is joined to all the other vertices, so removing it leaves isolated vertices.
So the number of components must lie between and , and both ends can occur. Option (A) is wrong because the count can drop to . Option (B) is wrong because the star with has and ends with 4 components, more than . Option (D) is wrong for the same reason as (A): its lower end is not forced.
Answer: (C)
Consider the set of all strings over the alphabet ={0,1}. with the
concatenation operator for strings
Answer: (A)
Concatenation on is closed, since joining two strings gives a string. It is associative. The empty string is an identity: for every .
The inverse is the problem. For a non-empty string and any string , the length of is , so . So no non-empty string has an inverse (only is its own inverse). Hence is not a group (it is only a monoid).
Option (B) is wrong because there is no group at all. Option (C) is wrong because is a right identity (and a left identity too). Option (D) is wrong because removing also removes the identity element, so the non-empty strings are closed and associative but are still not a group.
Answer: (A)
The inverse is the problem. For a non-empty string and any string , the length of is , so . So no non-empty string has an inverse (only is its own inverse). Hence is not a group (it is only a monoid).
Option (B) is wrong because there is no group at all. Option (C) is wrong because is a right identity (and a left identity too). Option (D) is wrong because removing also removes the identity element, so the non-empty strings are closed and associative but are still not a group.
Answer: (A)
n couples are invited to a party with the condition that every husband should be accompanied by his wife. However, a wife need not be accompanied by her husband. The number of different gatherings possible at the party is
Answer: (B)
Each couple can show up in these ways:
- Only the wife comes.
- The husband and the wife both come.
- Neither the husband nor the wife comes.
So every couple has choices, and for all the couples we get
Correct Answer:
Let A be a sequence of 8 distinct integers sorted in ascending order. How many distinct pairs of sequences, B and C are there such that
(i) each is sorted in ascending order,
(ii) B has 5 and C has 3 elements, and
(iii) the result of merging B and C gives A?
(i) each is sorted in ascending order,
(ii) B has 5 and C has 3 elements, and
(iii) the result of merging B and C gives A?
Answer: (C)
Once we decide which 3 elements of go to , everything else is fixed. The other 5 elements form . Both and must be sorted ascending, and the elements are distinct, so each of them has only one possible order, the same as in . Merging and then gives back .
Different choices of the 3 elements give different pairs , and every valid pair comes from one such choice. So the number of pairs equals the number of ways to choose 3 elements out of 8:
Choosing the 5 elements of first gives as well.
Answer: (C)
Different choices of the 3 elements give different pairs , and every valid pair comes from one such choice. So the number of pairs equals the number of ways to choose 3 elements out of 8:
Choosing the 5 elements of first gives as well.
Answer: (C)
Let P(E) denote the probability of the event E. Given P(A) = 1, P(B) = 1/2, the values of P(A|B) and P(B|A) respectively are
Answer: (D)
The event is a part of , so . A probability cannot be more than 1, so .
Use :
Now use the definition of conditional probability:
So and . Note that here, so the two events are independent. That is true whenever one of the events has probability 1.
Answer: (D)
Use :
Now use the definition of conditional probability:
So and . Note that here, so the two events are independent. That is true whenever one of the events has probability 1.
Answer: (D)