tamaragwen@gmail.com | Dashboard | Help | Sign out Gwen's Sententia * Posting * Settings * Template * View Blog * Edit HTML * Pick New * Customize Design * AdSense Change the Blogger NavBar The Blogger NavBar is a navigation bar and toolbar with a form that allows people to search just your weblog using Google's SiteSearch and gives you the ability to check out what's happening on other recently published blogs with one click. This bar replaces the advertisements that used to be displayed at the top of some blogs. Gwen's Sententia: Q&A: I deleted a program and my computer now says it has less space than before. Why?
My Photo
Name: Gwen (Vass) Nicodemus
Location: Broomfield, Colorado, United States

I'm an abecedarian who happily lives with my husband, son, daughter, dog, cat, and two ferrets.

Saturday, August 30, 2008

Q&A: I deleted a program and my computer now says it has less space than before. Why?

Humans count by tens, 'cause we have ten fingers, but computers count by twos because they use on/off switches (binary). So we have a one's place, multiply by ten to get a ten's place, then by ten again to get a hundred's place etc.

1000 100 10 1
or
10^3 10^2 10^1 10^0

Computers count in binary, so they have a one's place, multiply by two to get a two's place, x2 = four's place, x2 = eight's place, etc.

2048 1024 512 256 128 64 32 16 8 4 2 1
or
2^11 2^10 2^9 2^8 2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0

The bottom line is that 1024 is a round number in binary, not 1000, so:

1K = 1024
1M = 1024*1024 = 1048576
1G = 1024*1024*1024 = 1073741824

So 4,262,293,504/1,073,741,824 = 3.97Gb

Another reason hard drives "lose" space is because marketers want them to sound as large as possible. A 40Gb drive should be 40*1024*1024*1024 = 42,949,672,960 bytes, but they're actually more like 40,000,000,000 bytes.

Also, there's some overhead on the disk for the computer to know where it stores files, the names of the files, etc, (the technical term is filesystem metadata) so you can't use the whole 40,000,000,000 bytes for storing files.

0 Comments:

Post a Comment

<< Home