Time left:

[All Quizzes] → [Introduction to Algorithms] → [Special Topics]


1. ► Which of the following problem does not have exponential complexity

A.
B.

2. ► Dijkstra’s algorithm makes greedy choice

A.
B.

3. ► For overlapping optimal substructure, dynamic programming gives optimal solution

A.
B.

4. ► Dynamic programming makes use of previously calculated solution

A.
B.

5. ► Greedy algorithm doesn’t guarantee global optimal

A.
B.

6. ► Dynamic programming also follows divide and conquer approach

A.
B.

7. ► Dynamic programming works in the top down manner

A.
B.

8. ► Fibonacci series can be calculated efficiently with dynamic programming

A.
B.

9. ► Heuristics are based on proper mathematical proofs

A.
B.

10. ► Greedy algorithms always select local best possible solution

A.
B.

11. ► Only mobility based heuristic can be applied in list scheduling

A.
B.

12. ► Rabin-Karp algorithm relies on hash function to convert strings to numbers

A.
B.

13. ► Average case complexity of Rabin-Karp is O(nm)

A.
B.

14. ► Rabin-Karp algorithm reuses previously calculated hash values

A.
B.

15. ► Heuristic solutions can provide reasonable solutions quite fast

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy