MCQs
Total Questions : 97
| Page 9 of 10 pages
Question 81. After several defeats in wars, Robert Bruce went in exile and wanted to commit suicide. Just before committing suicide, he came across a spider attempting tirelessly to have its net. Time and again, the spider failed but that did not deter it to refrain from making attempts. Such attempts by the spider made Bruce curious. Thus, Bruce started observing the near-impossible goal of the spider to have the net. Ultimately, the spider succeeded in having its net despite several failures. Such act of the spider encouraged Bruce not to commit suicide. And then, Bruce went back again and won many a battle, and the rest is history. Which one of the following assertions is best supported by the above information?
Answer: Option D. -> No adversity justifies giving up hope.
-NA-
Answer: Option B. -> 8
-NA-
Answer: Option D. -> 77/90
-NA-
Answer: Option B. -> O(n)
-NA-
Answer: Option B. -> n - 1
-NA-
Answer: Option A. -> {Ñ”}
-NA-
Answer: Option C. -> P-3, Q-1, R-4, S-2
-NA-
Question 88. A scheduling algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (the lowest priority). The scheduler re-evaluates the process priorities every T time units and decides the next process to schedule. Which one of the following is TRUE if the processes have no I/O operations and all arrive at time zero?
Answer: Option B. -> This algorithm is equivalent to the round-robin algorithm.
-NA-
Question 89. Which of the following statements is/are FALSE? 1. For every non-deterministic Turing machine, there exists an equivalent deterministic
Turing machine. 2. Turing recognizable languages are closed under union and complementation. 3. Turing decidable languages are closed under intersection and complementation. 4. Turing recognizable languages are closed under union and intersection.
Turing machine. 2. Turing recognizable languages are closed under union and complementation. 3. Turing decidable languages are closed under intersection and complementation. 4. Turing recognizable languages are closed under union and intersection.
Answer: Option C. -> 2 only
-NA-
Question 90. Which of the following statements are TRUE? 1. The problem of determining whether there exists a cycle in an undirected graph is in P. 2. The problem of determining whether there exists a cycle in an undirected graph is in NP. 3. If a problem A is NP-Complete, there exists a non-deterministic polynomial time algorithm to solve A.
Answer: Option A. -> 1, 2 and 3
-NA-