Professional Documents
Culture Documents
Test Chap 1
Test Chap 1
_____________Lossy file compression is when a file size is permenataly reduced. This is done in JPEG and
MP3. In jepg images the amount of pixels in the image remains the same and the size is reduced by removing
features which cannot be noticed by human eyes. In MP3 sound outside of human hearing range are removed
to reduce the file size.
____________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
______________________________________________________________________________________[2]
2 a) Describe how music picked up by a microphone is turned into a digitised music file in a computer.
Analogue date cannot be stored in a computer. So the microphone has a analogue to digital converter which
converts the sound waves into a binary value which can be stored in the
computer._________________________________________________________________________________
________
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
______________________________________________________________________________________[2]
Files are compressed so the take up less space and they can be uploaded and downloaded faster.
Music quality is retained by removing the sound frequencies which are not in the human hearing range
_________________________________________________________________________________________
_________________________________________________________________________________________
1
_________________________________________________________________________________________
______________________________________________________________________________________[2]
__run length encoding is a way of loseless file compression, in which repeating data is stored. The first value is
the number of times the data is being repeated and the second value is the ASCII code of the data.
_______________________________________________________________________________________
_________________________________________________________________________________________
______________________________________________________________________________________[2]
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
______________________________________________________________________________________[4]
_________________________________________________________________________________________
Image clarity
File size
______________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
2
_________________________________________________________________________________________
______________________________________________________________________________________[6]
1 a) The following bytes represent binary integers using the two’s complement
form. State the equivalent denary values.
i) 0 1 0 0 1 1 1 1
____79___________________________________________________________________________________
__
______________________________________________________________________________________[1]
ii) 1 0 0 1 1 0 1 0
______154________________________________________________________________________________
___
______________________________________________________________________________________[1]
___11000101______________________________________________________________________________
________
______________________________________________________________________________________[1]
iv) Write the maximum possible range of numbers using the two’s
complement form of an 8-bit binary number.
___1_____________________________________________________________________________________
_
______________________________________________________________________________________[1]
_________________________________________________________________________________________
______________________________________________________________________________________[2]
ii) Write the denary number that is represented by the following BCD number.
3
9776
_________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
ii) Describe how sampling resolution will affect how accurate the
stored digitised sound will be. [2]
__if the sampling resolution is higher more bits will be sotred and clarity will be better
_______________________________________________________________________________________
________________________________________________________________________________________
______number of pixels in a
image___________________________________________________________________________________
________________________________________________________________________________________
ii) One of the images is 16 384 pixels wide and 512 pixels high.
The developer decides to save it as a 256-colour bit-map image.
Calculate the size of the image file in gibibytes. [3]
_16384*512=______________________________________________________________________________
__________
4
________________________________________________________________________________________
________________________________________________________________________________________
3 a) Write the denary numbers 60, 27 and −27 in 8-bit binary two’s
complement form. [3]
_______00111100__________________________________________________________________________
_00011011
11100101______
________________________________________________________________________________________
________________________________________________________________________________________
b
________________________________________________________________________________________
________________________________________________________________________________________
4. a) Convert the denary number 95 into binary coded decimal (BCD). [2]
____1001 0101
____________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
0 1 0 0 0 1 0 0=44
________________________________________________________________________________________
__23-44 = -21
______________________________________________________________________________________
5
________________________________________________________________________________________
________________________________________________________________________________________