Time left:

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


1. ► String matching is quite common in scripting languages

A.
B.

2. ► Greedy algorithm doesn’t guarantee global optimal

A.
B.

3. ► Dijkstra’s algorithm makes greedy choice

A.
B.

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

A.
B.

5. ► Dynamic programming also follows divide and conquer approach

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

10. ► Dynamic programming makes use of previously calculated solution

A.
B.

11. ► Approximation algorithms provide bounds on the quality of the solution mathematically

A.
B.

12. ► Heuristics are based on proper mathematical proofs

A.
B.

13. ► Heuristic solutions can provide reasonable solutions quite fast

A.
B.

14. ► Dynamic programming works in the top down manner

A.
B.

15. ► Greedy algorithm works in bottom up manner

A.
B.


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