Professional Documents
Culture Documents
Answer: (D)
Explanation: 162 = 3 * 3 * 3 * 3 * 2
To make it a perfect cube, we need at least 2 * 2 * 3 * 3 which is 36.
Alternate Solution
Take the prime factor of 162:
162 = 2 * 81 = 2 * 9 * 9 = 2 * 3 * 3 * 3 * 3, now if we add minimum
two 2 and two 3, then it will be perfect cube of a number. Therefore, the
value of y will be = 2 * 2 * 3 * 3 = 4 * 9 = 36
Note that you can multiple 162 with values in given options, then take
cube root with the help of calculator for each option, the answer should
be an integer.
2. Rahul, Murali, Srinivas and Arul are seated around a square table.
Rahul is sitting to the left of Murali. Srinivas is sitting to the right
of Arul. Which of the following pairs are seated opposite each
other ?
(A) Rahul and Murali
(B) Srinivas and Arul
(C) Srinivas and Murali
(D) Srinivas and Rahul
Answer: (C)
Explanation: Assume, they are looking to the center of circular
table, then the possible arrangement is:
Answer: (D)
Answer: (C)
Explanation:
Therefore,
Average waiting time = ( 5 + 0 + 7 + 0 ) / 4 = 12 / 4 = 3
Explanation:
Alternate Solution
To compute FOLLOW(A) for all non terminals A, apply the following
rules until nothing can be added to any FOLLOW set:
Place $ in FOLLOW(S), where S is the start symbol and $ is the
input right end marker.
If there is a production A → αBβ, then everything in FIRST(β),
except for ∈, is placed in FOLLOW(B)
If there is a production A → αB, or a production A → αBβ where
FIRST(β) contains ∈ (i.e., b → ∈), then everything in FOLLOW(A)
is in FOLLOW(B).
Therefore, follow(Q) = First(RS) = ( w ) ∪ First(S) = { w } ∪ { y } = {
w,y }.
Note that here, first(S) is not ∈.
(A) 0
(B) -1
(C) 1
(D) Does not exist
Answer: (C)
Explanation: Given,
Answer: (C)
Answer: (A)