Time left:

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


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

A.
B.

2. ► String matching is quite common in scripting languages

A.
B.

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

A.
B.

4. ► Dynamic programming makes use of previously calculated solution

A.
B.

5. ► Greedy algorithms always select local best possible solution

A.
B.

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

A.
B.

7. ► Dynamic programming also follows divide and conquer approach

A.
B.

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

A.
B.

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

A.
B.

10. ► Heuristic solutions can provide reasonable solutions quite fast

A.
B.

11. ► Greedy choice can never give optimal result

A.
B.

12. ► Greedy algorithm doesn’t guarantee global optimal

A.
B.

13. ► Dynamic programming works in the top down manner

A.
B.

14. ► Greedy algorithm works in bottom up manner

A.
B.

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

A.
B.


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