Mapa mental
Component 02 - Data Representation

Conteúdo do mapa
Component 02 - Data Representation
Logic
- Logic gates
- NOT gate
- Not gates take a sinlge input and give a sinlge output
- The output is always the opposite value to the input. If thge input is 1, it outputs 1. if the input is 0, it outputs 1
- AND gate
- AND gates take two inputs and give one output
- If both inputs are 1, the ouput is 1 otherwise theoutput is 0
- OR gate
- OR gates take two inputs and give one output
- If one or more inputs are 1, then the ouput is 1, otherwise the ouput is 0
- NOT gate
- Logic gates
Units
- Bit (b)
- A single binary digit (1 or 0)
- Nibble
- 4 bits
- Byte (B)
- 8 bits
- Kilobyte (kB)
- 1000 bytes
- Megabyte (MB)
- 1000 kilobytes
- Gigabyte (GB)
- 1000 megabytes
- Terabyte (TB)
- 1000 gigabytes
- Petabye (PB)
- 100o terabytes
- Bit (b)
Binary numbers
- 10 = 1010
- 1 = 1
- 11 = 1011
- 12 = 1100
- 4 = 100
- 5 = 101
- 6 = 110
- 13 = 1101
- 8 = 1000
- 9 = 1001
- 14 = 1110
- 15 = 1111
- 0 = 0
- 7 = 111
- 2 = 10
- 3 = 11
Hexadecimal numbers
- 15 = F
- 14 = E
- 13 = D
- 12 = C
- 11 = B
- 10 = A
- 9 = 9
- 8 = 8
- 7 = 7
- 6 = 6
- 5 = 5
- 4 = 4
- 3 = 3
- 2 = 2
- 1 = 1
- 0 = 0
Storing images
- Total number of colours = 2n (where n = number of bits per pixel)
- The type of images you use most often are called bitmap images
- Mainly used for photos
- Bitmap images are made up of lots of tiny dots, called pixels
- The colour of each pixel is represented by a binary code
- The number of colours available in an image is related to the number of bits the code has
- You can make a greater range of shades and colours by increasing the number of bits for each pixel
- Devices need metadata to display the images
- Metadata is the information stored in an image file which helps the computer recreate the image on screen from binary data in each pixel
Storing sound
- Bit rate = Sampling frequency x sample size
- Sampling intervals are the gaps between each of the points where the analogue recording is sampled
- Sampling frequency (or sample rate) is how many samples you take in a second
- Usually measured in kilohertz (kHz)
- Sample size is the number of bits available for each sample (like colour depth but for sound sample)
- Bit rate is the number of bits used per second of audio
Compression
- Smaller files take up less storage space on adevice
- Streaming ad downloading files from the internet is quicker as they take up less bandwidth
- It allows web pages to load quickly in web browsers
- Lossy
- Pros
- Greatly reduced file size, meaning more files can be stored
- Commonly used - lots of software can read lossy files
- Cons
- Lossy compression loses data - the file can't be turned back into the original
- Lossy files are worse quality than the original .But, this loss in quality is normally unnoticeable
- MP3 (audio)
- JPEG (image)
- Pros
- Lossless
- TIFF (image
- Pros
- Data is only removed temporarily so there is no reduction in quality
- Lossless files can be decompressed
- Cons
- Only a slight reduction in file size, so lossless files still take up quite a bit of space on your devuce
- FLAC (audio)
Imagens e arquivos do mapa
Informações
- Descrição
- Mapa Mental sobre Component 02 - Data Representation, criado por Molly Moo em 16-05-2020.
- Criado por
- Molly Moo
- Visualizações
- 2
- Avaliação

