π» 1. Representation of Text
π Key Ideaβ
- Computers cannot understand letters directly
- Text must be converted into binary (0s and 1s)
π Each character (letter, number, symbol) is stored as a binary code
π€ Character Setsβ
Definitionβ
A character set is a system that assigns a unique binary code to each character.
ASCII (American Standard Code for Information Interchange)β
Featuresβ
- Uses 7 bits (standard) β 128 characters
- Extended ASCII uses 8 bits β 256 characters
- Includes:
- Letters (AβZ, aβz)
- Numbers (0β9)
- Basic symbols
Exampleβ
| Character | ASCII (Decimal) | Binary |
|---|---|---|
| A | 65 | 01000001 |
| a | 97 | 01100001 |
Unicodeβ
Featuresβ
- Uses more bits (typically 16 bits or more)
- Can represent millions of characters
- Includes:
- All languages (e.g. Chinese, Arabic)
- Symbols
- Emojis π
ASCII vs Unicodeβ
| Feature | ASCII | Unicode |
|---|---|---|
| Bits used | 7 or 8 | 16+ |
| Characters | Limited | Very large set |
| Languages | Mostly English | Global |
Why Unicode is Neededβ
- ASCII is too limited for global communication
- Unicode allows:
- Multilingual text
- Special symbols
- Emojis
π Exam Tip:
Always say:
- βUnicode allows a much wider range of charactersβ
- βUses more bits per character than ASCIIβ
π 2. Representation of Sound
π Key Ideaβ
- Sound is an analogue wave
- Computers store sound as digital data
π Conversion process = Sampling
π΅ Samplingβ
Definitionβ
Taking measurements of a sound wave at regular intervals and converting them into binary.
Sample Rateβ
Definitionβ
- Number of samples taken per second
- Measured in Hertz (Hz)
Exampleβ
- 44,100 Hz (CD quality)
Effectβ
- Higher sample rate β more accurate sound
- Higher file size
Sample Resolution (Bit Depth)β
Definitionβ
- Number of bits used per sample
Exampleβ
- 8-bit, 16-bit, 24-bit
Effectβ
- Higher resolution β more precise amplitude values
- Better sound quality
- Larger file size
Summary of Effectsβ
| Factor | Increase β Effect |
|---|---|
| Sample Rate | Better quality, larger file |
| Sample Resolution | Better quality, larger file |
Example Explanation (Exam Style)β
A higher sample rate means more data points are captured per second, resulting in a more accurate representation of the original sound wave.
π Exam Tips
- Use terms like:
- βanalogue to digital conversionβ
- βsamples per secondβ
- βaccuracy of waveformβ
- Always link quality AND file size
πΌοΈ 3. Representation of Images
π Key Ideaβ
- Images are made of pixels (picture elements)
- Each pixel is stored as binary data
Resolutionβ
Definitionβ
- Number of pixels in an image
Exampleβ
- 1920 Γ 1080 = Full HD
Effectβ
- Higher resolution β more detail
- Larger file size
Colour Depthβ
Definitionβ
- Number of bits used per pixel
Determines:β
- Number of possible colours
Examplesβ
| Bits per pixel | Colours |
|---|---|
| 1 bit | 2 colours |
| 8 bits | 256 colours |
| 24 bits | 16.7 million colours |
Effects of Colour Depthβ
- Higher colour depth β
- More realistic images
- Smoother colour transitions
- Larger file size
Summary of Effectsβ
| Factor | Increase β Effect |
|---|---|
| Resolution | More detail, larger file |
| Colour Depth | More colours, larger file |
Example Explanation (Exam Style)β
Increasing the resolution increases the number of pixels, which improves image detail but also increases the file size.
π Exam Tips
- Always mention:
- βpixelsβ
- βbinary representationβ
- Link quality + file size
π§ Key Definitions
- Pixel: Smallest unit of an image
- Resolution: Number of pixels
- Colour Depth: Bits per pixel
- Sample Rate: Samples per second
- Sample Resolution: Bits per sample
- Character Set: Mapping of characters to binary
β οΈ Common Exam Mistakes
β Confusing:
- Sample rate vs sample resolution
- Resolution vs colour depth
β Forgetting:
- To mention file size increases
- That sound is analogue originally
- That text uses character sets
π High-Value Exam Answers
Why does increasing sample rate improve sound quality?β
- More samples per second
- More accurate waveform representation
Why does higher resolution improve images?β
- More pixels β more detail
Why is Unicode better than ASCII?β
- Supports more characters
- Includes multiple languages and symbols
π₯ Final Quick Summary
- Text β Character sets (ASCII, Unicode)
- Sound β Sampling (rate + resolution)
- Images β Pixels (resolution + colour depth)
- Increasing quality β always increases file size