1 Data Representation Flashcards
How and why do computers use binary?
Components that process data in a computer are made up of very small logic gates which cannot process analogue data.
Any denary values have to be converted into binary for the computer to process them.
Why is hexadecimal used as a beneficial method of data representation?
- Shorter way of representing binary
- easier to read, write and understand
- easier to debug and locate errors in data
How is text converted to binary?
2 main types of character sets can be used by a computer: ASCII and Unicode
ASCII can represent upto 256 characters.
Unicode can represent approximately 65,000. This means many more characerts can be developed in different alphabets and also symbols and emojis can be used.
How is sound converted to binary?
A sound wave is sampled for sound to be converted to binary, which is processed by a computer.
What is the sample rate?
the number of samples taken in a second
What is the sample resolution?
number of bits per sample
What is the impact of increasing sampling rate and sampling resolution?
Increase in accuracy of recording and file size increase.
How are images converted to binary?
An image is a series of pixels that are converted to binary, which is processed by the computer.
What is the image resolution?
the number of pixels in the image
What is the colour depth?
the number of bits used to represent each colour
What impact will increase the image resolution and colour depth have on file size and quality?
Quality will increase and so will file size.
Convert into bits:
bit
nibble
byte
KiB
MiB
GiB
TiB
PiB
EiB
bit- 1 bit
nibble- 4 bits
byte- 8 bits
KiB- 1024 bytes
MiB- 1024 KiB
GiB- 1024 MiB
TiB- 1024 GiB
PiB- 1024 TiB
EiB- 1024 PiB
How do you measure the file size of an image?
Resolution(height and width) X Colour Depth X Number of Images in file
How do you measure the file size of a sound file?
Length X Sample Rate X Sample Resolution
What are the benefits of file compression?
Compression exists to reduce the size of a file.
The benefits of this are:
* less bandwith required
* less storage space required
* shorter transmission time.