Department of Computing
Week 12
Objectives : to learn more about secondary storage and text algorithms. Reference Carrano Chapter 14.
- * Trace through the Brute Force pattern matching algorithm with text = "pattern matching algorithm" and pattern = "text".
- * State the number of comparisons required.
- * Trace through the Boyer-Moore pattern matching algorithm with text = "pattern matching algorithm" and pattern = "text".
- * State the number of comparisons required
- * Hand step through Huffman's algorithm to construct a Huffman encoding tree which is optimal for the single text
"structures"
- Carrano self-test exercises chapter 14 1,2,3,4
- Carrano Chap 14 exercise 5
- Carrano Chap 14 exercise 6
- Carrano Chap 14 exercise 3
All enquiries to Ros Ballantyne