Wednesday, November 30, 2016

CSP Unit 2- Stage 1 #2

Question: Shakespeare's complete works have approximately 3.5 million characters. Which is bigger in file size:Shakespeare's complete works stored in plain ASCII text or a 4 minute song on mp3? how much bigger? Why?

Answer: If Shakespeare's complete work has approximately 3.5 million characters then it must have 3.5 million bytes. If a minute of a song on mp3 equals 720KB which equals 720000 bytes then 720000 times 4 is 2,880,000 bites. Therefore, Shakespeare's complete work would be bigger in file size. Shakespeare's work would have 6,200,000 more bytes than the 4 minute mp3 song.

No comments:

Post a Comment