When We Learn Most Types Of Computer Programming, We Will Touch Upon The Subject Of Binary Numbers. Although This Is A Simple Concept Once Explained, It Is Not Always Obvious How To Read Them. To Understand Binary Numbers, Let's First Look At Our Normal System Of Base 10 Numbers(Decimal Number System).
BINARY NUMERAL SYSTEM
Binary Describes A Numbering Scheme In Which There Are Only Two Possible Values For Each Digit: 0 And 1. The Term Also Refers To Any Digital Encoding/Decoding System In Which There Are Exactly Two Possible States.In Digital Data Memory, Storage, Processing, And Communications, The 0 And 1 Values Are Sometimes Called "Low" And "High," Respectively.
Binary Numbers Look Strange When They Are Written Out Directly.This Is Because The Digits' Weight Increases By Powers Of 2, Rather Than By Powers Of 10.In A Digital Numeral, The Digit Furthest To The Right Is The "Ones" Digit; The Next Digit To The Left Is The "Twos" Digit; Next Comes The "Fours" Digit, Then The "Eights" Digit, Then The "16s" Digit, Then The "32s" Digit, And So On.The Decimal Equivalent Of A Binary Number Can Be Found By Summing All The Digits.For Example, The Binary 10101 Is Equivalent To The Decimal 1 + 4 + 16 = 21.
NOTE:We Wanted To Send Decimal Number 5 Which Is 101 In Binary.
COUNTING IN BINARY
Binary works in the Each column represents a value, and when you have enough you move to the next column. The difference is that in our base 10 system we need to have 10 before we move to the next column. We can have any value 0-9, but once it goes above that, we add a column. In base two, you can only have 0 or 1 before moving on to the next column.
The number one is represented as 1 in both base ten and binary, so let's move on to the number two. In base ten this is represented as a 2, however in binary we can only have a 0 or a 1 before moving on to the next column. The number 2 is written as 10. This means 1 in the 2s column and 0 in the 1s column.
Let's take a look at the number three. Obviously in base ten it is written as 3. In base two (binary) it is written as 11. This means a 1 in the 2s column and a 1 in the 1s column. 2+1 = 3.
Each slot represents a value that is double the last value. The chart on this page helps to demonstrate this. The values of slots, starting on the right are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, etc.
Now that we know how binary works, reading it is simply a matter of doing some simple math. Let's try a few:
1001
Since we know the value's each of these slots represent, then we know this number represents 8 + 0 + 0 + 1. In base ten this would be the number 9.
11011
Again we can calculate what this is in base ten by adding the values of each slot. In this case it would be 16 + 8 + 0 + 2 + 1. This would be the number 27.
THE NUMBERS FROM DECIMAL 0 THROUGH 15 IN DECIMAL, BINARY, OCTAL, AND HEXADECIMAL FORM ARE LISTED BELOW.
CONCLUSION:
The Goal Of This Article Is To Give An Easy Way To Understand Useful Binary Concept And Binary Converter For Every Beginours Who Are Going To Study Networking!
This Article Written Author By: Premakumar Thevathasan. CCNA, CCNP, CCIP, MCSE, MCSA, MCSA - MSG, CIW Security Analyst, CompTIA Certified A+.
No comments:
Post a Comment