字幕列表 影片播放 列印英文字幕 Hi, this is John and I'm going to show you an easy approach to Binary Conversion. Now before we roll into the conversion process I'm going to teach you some of the basics. What is Binary? Well, binary is a number system represented by two numbers, 0s and 1s and used by all computers. You'll see it in the forms of binary strings, such as this one right here. Now to do the conversion process, you have to understand the math behind it. If you have a good understanding of the powers of 2, you can pretty much do any binary conversion. 2 to the 0 equals 1, 2 to the 2 equals 4, and so on. And if you can memorize at least these, and make them second nature to you, you will be able to any conversion very quickly. Okay, let's look at the decimal to binary conversion. This conversion, I think, is one of more easier ones. The first you're going to want to do is draw out a conversion table. You start from the right and work left. 1, 2, 4, 16, 32, 64, 128 and notice how there are 8 numbers here. That's 8 bits. When you're speaking in computer terms, such as in subnetting. In an IP address we have 4 8-bit or 4 octets. In our first example we will look at how to convert 132. Now, follow along with me. 128 goes into 132, yes, so we will put a 1. 128, what other number here when combined with 128 equals 132? Well, that number is 4. And you fill the rest in with zeroes. And that is a decimal to binary conversion. Let's look at one more example, 14. Very easy one. Does 128, 64, 32, 16, none of these numbers go in it. Does 8? Yes. 8 plus 4 = 12, 8+4+2=14. Does 1? No. That would be 15. So far so good right? Now let's look at some Binary to Decimal Conversions. Same table, and if need to go further, go further, 256, 512 and so on. This is our first example. You just write it in there. Draw out your table and write it in. 0, 1, 0, 1, 1, 0, 1. This is so easy, you just add them up. 64 plus 16 = 80, plus 8, 88, plus 2, 90. That binary number equals 90 in decimal. Next number. Just write it in. 1, 1, 0, 1, 1. You add them up and what do you get? 27. It's as simple as that. Well, thanks for watching and don't forget if this was even a little bit helpful to you to rate my video, subscribe to my channel or leave me a comment, or come visit me at johndavidgrow.com. Again, thank you so much.