Exactly! When you think about binary representations of numbers, all you have is ones and zeroes: 0 = 0 1 = 1 10 = 2 11 = 3 100 = 4 101 = 5 and so on. It seems a little complicated at first, but do some reading and you will start to understand and appreciate computers a lot more!
------------------ Brian Hoff Sun Certified Programmer for the Java� 2 Platform
Shabbir Binary means two. The number system we have for mathematics is built around the powers of 10 that is why it is called decimal system. For instance, the number 386 is more precisely written as: 3*10*10+ 8*10+6 Representing numbers this way is easy for us because we have ten fingers. But a computer only has two buttons, namely, On and off. "On" is represented by 1 and "Off" is represented by 0. These are called binary numbers. In other words binary means two. Let's take an example of how 5 will be represented in binary numbers. Each digit in a binary system is called a BIT. Below is the representation in eight bits (eight bits equal one byte. The memory size of a byte is from -128 to 127. That is why I have taken the numbers from 1 to 128) for the decimal number 5. 128 64 32 16 8 4 2 1 0 0 0 0 0 1 0 1 The number of occupied bits i.e. 4 and 1 add up to make 5 (101). In a similar fashion you can change other decimal numbers to binary numbers. For further reading u may visit the "cat and mouse game with bit" in the campfire. SK