xxxxx Digital Electronics Tutorial 1: The Number System Here's a quick look at the contents of this tutorial.The general idea is to introduce you to the different number systems: Binary, Octal etc. and how to convert those numbers to/from the decimal number system.
How do you convert a binary to decimal?Lets do this by considering an example
>Convert 11010 to decimal.
1) First write the binary number as
1 1 0 1 0
2) now below every digit write the weight of that position as
1 1 0 1 0
4 3 2 1 0
2 222 2
3) rewrite them in the expanded form as
1 1 0 1 0
16 8 4 2 1
4) then multiply the corresponding values and add the resulting terms
1*16 + 1*8 + 0*4 + 1*2 + 0*1
= 16 + 8 + 0 + 2 + 0
= 26 How to convert a decimal number into binary form?To convert a decimal number to binary, keep dividing the number by 2 until the quotient
reaches 0 and note all the remainders obtained after every division.
For example
>Convert 73 to binary..
quotient
remainder
73/2 = 36
1
36/2 = 18
0
18/2 = 9
0
9/2 = 4
1
4/2 = 2
0
2/2 = 1
0
1/2 = 0
1
Note: write the remainders in reverse order i.e. from bottom to top. So the binary equivalent of 73 is 1001001.
Similarly, you will also learn about important conversions between octal, hexadecimal, binary and decimal numbers with examples.Complete Tutorial with Solved Examples : (Part  I) Here's a list of all the tutorials we currently have in this area  Introductory Digital Electronic Circuits and Boolean logic
 Tutorials in Basic Digital Electronics: At a glance
