fundamentals of data representation Flashcards
what is 0011 1010 in hexadecimal?
3A
what is 1101 0011 in decimal?
211
what is fd in decimal?
253
what is 4b in binary?
01001011
what is 20 in binary?
0001 0100
what does a binary shift to the left do?
n shifts to the left multiplies the number by 2^n
what does a binary shift to the right do?
n shifts to the left divides the number by 2^n
how many bits is needed to represent a character in ascii?
seven
what are the advantages to unicode over ascii?
unicode allows more characters so is better for languages with special characters or longer alphabets
file size ( bytes ) =
image size x colour depth / 8
what is a pixel?
a single point in an image
colour depth =
bits / pixel
what happens to the image if the colour depth is improved?
the size of the file will increase
the quality of the file will increase
what is a sample of sound?
a measure of amplitude at one point in time
how can the quality of sound improve?
increase the sample rate - number of samples per second ( Hz )
increase the sample resolution - number of bits per sample