Data representation Flashcards
Use of the Hexadecimal System
- Colour codes in HTML
- Media Access Control (MAC) addresses
- Memory Dumps
- Display error codes
- IPv6
Why is Hexadecimal used?
- Easier to understand and write by user
- It takes up less space on user screen display
- Easier to debug
- Less likely to make a mistake
what is ASCII
ASCII is a character set which assigns a unique 7-bit binary code to each character
Why data input in computer needs to be binary?
- Computer consists of logic gates
- That processes only two values 0 (off) and 1 (on) only
text to binary
- computer uses a character set
- which is a collection of characters and the corresponding binary codes that represent them
(for the key pressed) - can be processed by computer
Limitations of ASCII
- number of characters it can represent is not enough
- it does not support characters from languages other than English
- so Unicode was developed
Unicode
- has different languages, emojis, symbols, greater range of characters than ASCII
- Unicode requires more bits per character than ASCII (Up to 32 bits)
- Can result in larger file sizes and slower processing times
converting sound (analogue) to binary (digital)
- process called sampling is used:
1) taking measurements of the sound wave at regular intervals
2) converting these measurements into binary data
sample rate def:
number of samples taken per second
units: Hz
What does accuracy of the recording and the file size depend on?
Sample rate
Sample resolution
what is bitmap image made up of
Series of pixels, which are small coloured dots arranged in a grid.
what is each pixel represented by?
a binary code, which is processed by the computer
Image resolution def:
number of pixels in the image
Higher image resolution does what
has more pixels
sharper and more detailed, more realistic
but also requires more storage space and file size
colour depth def:
number of bits used to represent each colour