How much storage do you need for storing text graphics of vi
     How much storage do you need for storing text, graphics, of video? Make assumptions; give an example of the size, and compute how many would fit in a 1 gig SD      
 
  
  Solution
In a 1 Giga Byte SD card, entire 1 Giga Byte might not be available for storage since system related files and recovery files will be present in the SD card. For calculations, I am assuming that entire 1 Giga Byte is available for storage.
1 Giga Byte = 1024 Mega Bytes = 1024 * 1024 Kilo Bytes = 1024* 1024 * 1024 Bytes
When dividing two entities, both should be in same units for easier calculation. Hence Giga Byte will be converted to Mega Bytes or Kilo Bytes as required.
| Contents | Format | Estimated Size | Computations | How Many on a 1 gig SD | 
| Book with 1000 pages | 800 Kilo Bytes | floor(1024 * 1024 / 800) | 1310 | |
| A picture | JPEG | 2 Mega Bytes | floor(1024/2) | 512 | 
| A piece of music | MP3 | 6 Mega Bytes | floor(1024/6) | 170 | 
| A piece of Audio/Video | MP4 | 15 Mega Bytes | floor(1024/15) | 68 | 

