Problem set 3 solutions


The number of bits used to produce a 1 second recording is: #channels * #samples per second * #bits per sample.  The number of seconds     that fit onto a storage device is: #bits in the storage device / #bits in 1 second recording. Since the problem asks for the number of hours, we'll divide the answer by 3600, which is the number of seconds in one hour.

CD Quality        

# bits in one second recording = 2*44100*16 = 1411200 bits.

# hours that fits in 8 Gbyte of storage = 8000000000/(1411200 * 3600) = 1.57 hour

Radio Quality :         

# bits in one second recording = 22050*8 = 176400 bits.

# hours that fits in 8 Gbyte of storage = 8000000000/(176400 * 3600) = 12.6 hour

 

 

 Errors occurred in the strings with an even number of 1s, since they were sent with odd parity .  

Those strings were 11011, 00000, 10001

Remember, zero is an even number!