Unit 1: Data Representation Flashcards
Convert 2A from hex to denary
16x2+10=42
How do you perform two’s complement in binary?
Reverse all 1s and 0s and then add 1.
Convert denary 14 to hexadecimal.
The scale is 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F, etc.
So therefore the answer is E
What is A32F in binary?
Each hex digit is used for one nibble (four bits)
Therefore A32F = 1010 0011 0010 1111
What is hex F27B in binary?
What is hex ABCD in binary?
What is hex F27B in binary?
1111 0010 0111 1011
What are the advantages of Hex?
It is easier for humans to understand as it is a shorter
representation of the binary
Hex values are also easier to remember and enter
People are less likely to make an error with fewer digits
What is an overflow error?
When the result of an addition is too large for the
number of bits the computer works with, there will be an overflow error
What is the effect of a binary shift to the right?
Division
What is the effect of a binary shift to the left?
Multiplication
What is sample rate in audio files?
Number taken of samples per second(measured in hz)
What is sample resolution?
The number of bits (audio bit depth) used to record
each sample
How do you calculate file size of audio files?(in bits)
File size (bits) = sample rate × resolution × duration
What is image resolution?
Image resolution is the number of pixels in the image
How do you increase the number of colours in an image?
More bits per pixel =
more colour combinations
1 bit = 2 Colours
2 bits = 4 Colours
3 bits = 8 Colours
4 bits = 16 Colours
Bit depth: How many bits per pixel
required for 256 colours?
2^8=256
8 bits per pixel