Skip to main content

The Writers | Binary Numbers | How to convert decimals into binary digits.

Binary Numbers

A binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols: typically "0" and "1". The base-2 numeral system is a positional notation with a radix of 2. Radix is basically another term for the base.

The decimal digits are 0,1,2,3,4,5,6,7,8,9.

Each digit is referred to as a bit.

If the total binary digit is 1 then it is called bit.
If the total binary digits are 4 then it is called nibble.
If the total binary digits are 8 then it is called byte.


Conversion of a decimal number into binary form :

  1. Let there be a number, say, 42. Now we know that binary digit places are the powers of 2

  1. Now,       26       25       24       23        22        21         20

                       64     32     16       8        4         2        1                

     
     3.   Now  42 < 64  so subtract 32 from 42 as 42 > 32.

     4.   42 - 32  = 10.

     5.   Now  10>8  so  10-8 = 2.

     6.   Now  2-2 = 0
    
     7.   Since 32, 8, 2, are the only numbers to be used so mark them as 1 and the rest as 0

     8.   So after marking them in the above table 
  
                                  
                    26      25      24       23       22        21       20


                    0       1       0       1        0        1        0


                      
        Therefore the binary digits of the number 42 will be 101010 


Comments

Popular posts from this blog

The Writers| The Secret of FORTNITE

The Secret of FORTNITE   What Is Fortnite Battle Royale? Fortnite Battle Royale is a competitive shooter between 100 players as they drop out of a moving plane, then fight to survive as the play space slowly shrinks to force people into combat. True to the battle royale formula, you need to find all of your weapons and equipment on the map — you don’t land with anything other than a pickaxe. While you could try attacking someone with your pick, it’s best used to harvest building materials from trees, cars and other free-standing objects so you can make your own walls, ramps and platforms.This is a carry-over from the base-defence game Fortnite Battle Royale sprang from, but this mechanic adds a new ingredient to the battle royale recipe that makes it stand apart. Where can You play Fortnite: Battle Royale? Fortnite: Battle Royale is currently free to download on PC, PS4, Xbox One, Nintendo Switch, iOS and Android. Where can I download Fortnite? Fortnit...

The Writers| 5 ways of becoming a millionaire thhrough Live Streaming

Live streaming apps are widely used nowadays since they help you broadcast live streams. You may also tune in with what other people are broadcasting in different parts of the world. With live streaming apps, you may connect with your friends, relatives and loved ones in real time. You can get updated of the things that they do or celebrate.                                                         TWITCH   Twitch is a live streaming platform but it targets the gaming community. This app lets you broadcast your game play and chat with other viewers & streamers anytime all over the world. It supports a wide variety of platforms including PlayStation 4, Xbox One and PC. Besides, it is also considered one of the best live streaming apps for Android and iPhone which is loved by gamers. STREAMUP Streamup offers a fun way of ...