QUESTION IMAGE
Question
- (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
Brief Explanations
- 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).
- 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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- D. Text files
- D. Integer