Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

24. (02.02 lc) where is lossless data compression commonly used? (5 poi…

Question

  1. (02.02 lc) where is lossless data compression commonly used? (5 points) banking files image files audio files text files 25. (02.05 lc) a programmer creates a program asking a user for their age. which variable type should the programmer use? (5 points) floating - point number string boolean integer

Explanation:

Brief Explanations
  1. Lossless compression retains all original data, which is critical for text files where even small data loss would corrupt content. Banking, image, and audio files often use lossy compression (or for banking, compression is less common as data integrity is handled via other safeguards, while text relies heavily on lossless methods).
  2. Age is a whole, non-fractional number, so the integer data type, which stores whole numbers, is the appropriate choice. Floating-point numbers handle decimals, strings handle text, and booleans only store true/false values, none of which fit age data.

Answer:

  1. D. Text files
  2. D. Integer