Data representation Flashcards
Order the following in descending size;
Byte, Petabyte, Megabyte, Gigabyte, Nibble, Terabyte, Kilobyte, Bit
Bit (1 or 0)
Nibble (4)
Byte(8)
Kilobyte(1000B)
Megabyte(1000kB)
Gigabyte(1000MB)
Terabyte(1000GB)
Petabyte(1000TB)
Convert 73 to binary
1001001
Convert 110110 to denary
54
Convert 37 to hexadecimal
25
Convert 4F to denary
79
Convert 100111 to hexadecimal
27
convert 3C to binary
111100
2-place shift 1101100 to the right and explain the effect
11011, divided by 4
How many characters do ASCII and Unicode represent and what are their differences
ASCII - 2^7 (128), extended ASCII 2^8 (256)
Only some foreign language characters and symbols
Unicode - 2^16(65536)
Includes Chinese, Arabic, Japanese, Greek characters and more
How do you calculate colour depth
log ₂(N of colours)
State the effect on file size of changing a 4 x 4 pixel from 2 colours to 256
-Each pixel was previously 1 bit, now is 8 (byte)
-The file size would now increase to 16bytes
What is resolution
The density of pixels in the same sized area, measures in PPI. A higher PPI will mean smoother edges and improve overall quality
What is metadata and state 3 examples
Data about data, eg type of image, image dimensions or colour depty
How do computers convert real-world analogue signals, such as sound, to a digital representation
Sound is received by a microphone, then converted by a ADC (Analogue-to-Digital Converter), The ADC samples the amplitude at regular intervals which are then rounded and stored in binary.
How do you calculate the size (in bits) of an image file
Colour depth x image height x image width