3) Data Representation (Binary, Hex, Images, Sound)

▶ Play Slideshow
📖 Theory – 3) Data Representation (Binary, Hex, Images, Sound)

I. Binary Number System
• Base‑2: uses 0 and 1.
• Converting binary to decimal and vice versa.
• Binary addition and shifts.

II. Hexadecimal
• Base‑16: uses 0‑9 and A‑F.
• Why computers use hex: compact representation.
• Converting between binary, hex, and decimal.

III. Characters
• ASCII: 7‑bit code, 128 characters.
• Unicode: 16‑bit, covers all languages.

IV. Images
• Pixel, resolution, colour depth.
• Bitmap vs Vector images.

V. Sound
• Sampling: taking regular samples of sound wave.
• Sample rate and bit depth.

VI. Compression
• Lossy (JPEG, MP3) and Lossless (PNG, FLAC).

🏆 Level 1

⭐ 0 points

🔥 0 day streak
📚 0 answered 📝 0 labs

📝 Practice Questions (20)

Select the correct answer, then click "Submit" to see the result. If you get it wrong, an AI hint will be generated.

Question 1: Give an example of Sampling.

Question 2: Why is Sample rate important in computer science?

Question 3: Give an example of Lossy compression.

Question 4: Give an example of Sample rate.

Question 5: Explain ASCII.

Question 6: How does Lossless compression work?

Question 7: How does Colour depth work?

Question 8: Explain Decimal.

Question 9: What is Binary addition?

Question 10: Why is Hexadecimal important in computer science?

Question 11: Why is Character set important in computer science?

Question 12: Give an example of Bit depth.

Question 13: What is Colour depth?

Question 14: Define Bit shift.

Question 15: What is Image file size?

Question 16: Define Vector image.

Question 17: Give an example of Pixel.

Question 18: How does Character set work?

Question 19: How does Bit depth work?

Question 20: What is Binary?

Module score: 0/0