Computers |
|
| | #1 (permalink) |
| CECS Major | I am currently studying C++ and have finally gotten to a section where I have to learn BINARY. Anyway, I do not understand how the binary number systems work at all. If you have the time and skill please help me by trying to explain. Thanks to all who help, ::-Chase-:: |
| | |
| | #2 (permalink) |
| Memberbot | Once you get the hang of it, it's pretty easy. Lets look at decimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Notice how, when you got to 9, you couldnt count any higher in the 'ones' spot, so you carried it over to the 'tens' spot? The same goes for binary. Except with binary, you dont count up to 9 and then rollover, you count to 1. 0, 1, 10 Notice that when the lowest bit position couldnt get any higher than 1, so it rolled over into the next highest position. To continue: 0,1,10,11,100,101,110,111 It when every bit position gets filled with a 1, the next increment rolls over into the next highest bit position. When we count in decimal, we can put zeros in front of the number, because they dont count for anything. FOr example: 0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0008, 0009, 0010. The same goes for binary: 0000, 0001, 0010, 0011, 0100, 0101.... Hopefully that helps to get you started. Try looking on www.howstuffworks.com I think they have an article on binary. |
| | |
| | #4 (permalink) |
| Super Techie Join Date: Jan 2005
Posts: 295
| Binary is 2 to the power of 0 all the way up to whatever. So starting from the right, it is 2^0 and then it gains from there. So in order to know what value the 1 is representing you just need to figure out what power 2 is raised to at that spot.
__________________ \"Today\'s scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.\" Nikola Tesla |
| | |
| | #6 (permalink) |
| Newb Techie Join Date: Jul 2005
Posts: 48
| u can also write words in binary. one letter is 8 charecters long, the first three indicate if the letter is uppercase or lower case so 011=lowercase and 010=uppercase the other five charecters represent a number that is assoiated with a letter so A=1,B=2...Z=26 so on. it can be very usefull... try to find out what it means... ... . . . . . . . . . . .. . . 010001100101010=f-u(hahahaha)
__________________ ![]() Daisy, Daisy, give me your answer do. I\'m half crazy, all for the love of you |
| | |
| | #7 (permalink) |
| CECS Major | LOL! thanks (not sure what to call you but I will compromise) "Binary Man". I didn't know you could do that. After a couple of hours last night I finally managed to grasp Binary and the Hexidecimal system thanks to everyone's help and now I even know how to write letters. It may not sound big to you programming verterans, but it is definatly a big deal to a rookie. Thanks again- ::-Chase-:: |
| | |