Data representation Flashcards
Character set
Character sets are collections of characters that a computer recognises from their binary representation
AscII
Each ASCII character is given a 7-bit binary code -
Advantages:
Simple and efficient for basic text (128 characters).
Widely adopted and easy to use.
Requires less memory/storage space.
Disadvantages:
Limited character set (only English characters).
Inadequate for international and modern applications.
Lacks support for special characters and symbols.
Unicode
Unicode tries to cover every possible letter that might be written.
Advantages:
Extensive character set (supports all languages and symbols).
Essential for global communication and modern technology.
Consistent encoding across different platforms and systems.
Disadvantages:
More complex and requires more storage space.
Implementation can be more resource-intensive.
Larger file sizes compared to ASCII.
Colour depth
The colour depth is the number of bits used for each pixel
Image resolution
image resolution is the number of pixels in the image.
Metadata
Information stored in an image file which helps the computer recreate the image on screen from the binary data in each pixel.
stores
the type of file
file size
height
Data compression
Data compression is when we make file sizes smaller, while trying to make the compressed file as true to the original as possible.
Compressing data files uses
Smaller files take up less storage space on a device.
Streaming and downloading files from the Internet is quicker as they take up less bandwidth.
Lossy compression
Lossy compression works by permanently removing data from the file
-this limits the number of bits the file needs and so reduces its size.
Lossless compression
Lossless compression makes the file smaller by temporarily removing data to store the file and then restores it to its original state when it’s opened.
Advantages of lossy
Greatly reduced file size, meaning
more files can be stored.
Lossy files take up less bandwidth
Disadvantages of lossy
Lossy compression loses data-the file can’t be turned back into the original.
Lossless advantages
Data is only removed temporarily so there is no reduction in quality -the compressed file should look or sound like the original.
Lossless files can be decompressed
-turned back into the original.
Disadvantages of lossless
Only a slight reduction in file size, so lossless files still take up quite a bit of space on your device
Sound
Sound is Sampled and stored Digitally .
Sound is recorded by a microphone as an analogue signal.