Correct Answer:
C. Verifying data integrity and enabling fast lookup
Correct answer: Verifying data integrity and enabling fast lookup.
Background: A hash function maps input data of any size to a fixed-size hash value, which is used to check that data has not changed (integrity) and to find data quickly in hash tables.
- Compressing large video files into MP4 format: is the job of a video codec, not a hash function.
- Increasing the clock speed of a microprocessor: is a hardware setting, unrelated to hashing.
- Converting analog audio signals into digital waves: is the job of an analog-to-digital converter, not a hash function.
Did you know? The same input always gives the same hash, so even a one-bit change produces a completely different hash value.
Memory trick: Hash = fingerprint — it checks the data and finds it fast.
Leave a Reply
You must be logged in to post a comment.