calculating data sizes Flashcards
1
Q
how to work out size of text files
A
1 byte per character+10% for any overheads (fonts or file type)
2
Q
how to work out size of image files
A
(number of pixels*number of bytes per pixel)+10% for any overheads
3
Q
how to work out size of sound files
A
bytes per samplesamples per secondchannels*duration
4
Q
how do you get from bytes to KB?
A
divide by 1000
5
Q
how do you get from MB to bytes?
A
times by 1000 twice
6
Q
Example Q. Text file that contains 10000 characters. give answer in KB
A
1 byte per character+10% for any overheads 10,000+10% 10,000x1.1 11,000 =11KB