Time left:

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


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

A.
B.

2. ► String matching is quite common in scripting languages

A.
B.

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

A.
B.

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

A.
B.

5. ► Heuristic solutions can provide reasonable solutions quite fast

A.
B.

6. ► Dynamic programming works in the top down manner

A.
B.

7. ► Dijkstra’s algorithm makes greedy choice

A.
B.

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

A.
B.

9. ► Brute force string matching relies on char by char comparison

A.
B.

10. ► Dynamic programming makes use of previously calculated solution

A.
B.

11. ► Dynamic programming also follows divide and conquer approach

A.
B.

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

A.
B.

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

A.
B.

14. ► Graph coloring can be used to solve processor register allocation in compilers

A.
B.

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

A.
B.


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