Mapa mental
Data Representation

Conteúdo do mapa
Data Representation
Images as Binary
- Bitmap Images
- Most images are bitmaps which means they are are stored as a series of pixels.
- Colour Depth
- Increasing the colour depth improves the quality of the image but increases the file size.
- 24-bit colour depth (8 bits for red, green and blue)
- Possible colours = 2 to the power of number of bits
- The number of bits used for each pixel.
- Increasing the colour depth improves the quality of the image but increases the file size.
- Pixels
- Resolution
- The DENSITY of pixels in an image (how many pixels there are in a given area). Measured in DPI (dots per inch).
- Higher resolution means more pixels in a certain area and so the better quality of image. E.g. 60x60=3600 pixels in an inch vs 90x90=8100.
- Increasing the resolution means there are more bits in the image which increases the file size.
- Metadata
- Information stored in an image file that helps the computer to recreate the image including file format, height, width, colour depth and resolution.
- Bitmap Images
Characters as Binary
- Character Set
- Character set is a collection of characters that a computer recognises from their binary representation.
- Standard Character Sets
- ASCII
- 7-bit binary code / 128 different characters
- Extra bit (0) is added to the start of each character to fit into 1 byte
- American Standard Code for Information Interchange
- Didn't have capacity for all the alphanumeric characters we need.
- 7-bit binary code / 128 different characters
- Extended ASCII
- Unicode
- Uses 16-bit and 32-bit binary codes
- Covers all major languages and every possible character that might be written
- Base 2 to the power of 32 = 4.3 billion
- ASCII
- Character Set
Binary
- Overflow is when you have too more bits that the CPU was expecting
- This loss of data means there is a loss of accuracy in the binary number
- Binary Shifts
- Multiply (Left)
- Divide (Right)
- Computers can only understand 1s and 0s (On or Off) - all data must be converted to binary to be processed
- Can lead to overflow
- 256 denary numbers can be represented using 1 byte (ranging from 0 to 255)
- Base 2 (0 or 1)
- Overflow is when you have too more bits that the CPU was expecting
Hexadecimal
- Advantages
- Much shorter than binary
- Easier for programmers to work with
- Less likely to make mistakes
- Easy to convert binary to hexadecimal and visa versa
- A number system that uses 16 different symbols (Base 16) ranging from 0 to F
- Each hex character represents a nibble in binary
- Computers don't use hex - it's only for humans
- Advantages
Sound as Binary
- Sampling interval
- The gaps between each of the points where the analogue recording is sampled
- Sample Rate
- It's usually measured in kilohertz (kHz) (e.g. 44,100 samples per second - 44.1 kHz)
- Increasing sample rate means sampled sound will more closely match the original. Also increases the bit rate and therefore the file size.
- Sample Size
- Bits available for each sample
- Bit Rate
- The number of bits used per second of audio (bit rate = sampling frequency x sample size)
- Sampling interval
Imagens e arquivos do mapa
Informações
- Descrição
- Mapa Mental sobre Data Representation, criado por Daniel Smith em 12-12-2016.
- Criado por
- Daniel Smith
- Visualizações
- 5
- Avaliação
Mais sobre Binary, Decimal and Hexadecimal


