Can we use a string matching algorithm to create a data compression algorithm?

a. No
b. Yes
c. Maybe
d. Unknown


a. No
Data compression algorithms like Huffman have the unknown of finding the longest recurring strings within a string text. A string matching algorithm is matching a given pattern P in a string text T, but the pattern P is known before the process of matching within a string.

Computer Science & Information Technology

You might also like to view...

____________________ a user is a good way to ensure valid data, but it can be frustrating to a user if it continues indefinitely.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

When you sort records, you separate out the records that meet a certain criteria and include only those records in the merge. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The viewport __________________ lengths are relative to the size of the device viewport window used to display your web page.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The number of characters in a String can be determined by sending it the ____ message.

A. length() B. substring() C. valueOf() D. subSequence()

Computer Science & Information Technology