MCQs
Total Questions : 36
| Page 3 of 4 pages
Answer: Option C. -> 2^(n-1)-1
Answer: Option D. -> None of these
Answer: Option B. -> O((n-1)/2)
Answer: Option D. -> n(n-1)
If you have N nodes, there are N - 1 directed edges than can lead from it (going to every other node). Therefore, the maximum number of edges is N * (N - 1).
Answer: Option C. -> 429
Answer: Option A. -> B+ Tree
Question 27.
In hashing load factor α is defined as n/m where n is the no. of
elements and m is the no. of slots. In a hash table in which collisions
are resolved by chaining, what is the expected time for an
unsuccessful search and a successful search under the assumption of
simple uniform hashing?
In hashing load factor α is defined as n/m where n is the no. of
elements and m is the no. of slots. In a hash table in which collisions
are resolved by chaining, what is the expected time for an
unsuccessful search and a successful search under the assumption of
simple uniform hashing?
Answer: Option D. -> Θ(1+α), Θ(1+α)
Answer: Option A. -> O(n)
Answer: Option C. -> in both directions
Answer: Option A. -> Bubble