3.1 Digital and Analog Systems, Number Systems
3.1 Digital and Analog Systems, Number Systems
3.1 Digital and Analog Systems, Number Systems
Digital Design
Shortcut Method for Converting a Binary Number to its Equivalent Octal Number
Method
Step 1: Divide the digits into groups of three starting from the right
Step 2: Convert each group of three binary digits to one octal digit using the method of binary to
decimal conversion
Shortcut Method for Converting an Octal Number to Its Equivalent Binary Number
Method
Step 1: Convert each octal digit to a 3 digit binary number (the octal digits may be treated as
decimal for this conversion)
Step 2: Combine all the resulting binary groups (of 3 digits each) into a single binary number
Shortcut Method for Converting a Binary Number to its Equivalent Hexadecimal Number\
Method
Step 1: Divide the binary digits into groups of four starting from the right
Step 2: Combine each group of four binary digits to one hexadecimal digit
Shortcut Method for Converting a Hexadecimal Number to its Equivalent Binary Number
Method
Step 1: Convert the decimal equivalent of each hexadecimal digit to a 4 digit binary number
Step 2: Combine all the resulting binary groups (of 4 digits each) in a single binary number
Fractional Numbers
Fractional numbers are formed same way as decimal number system
In general, a number in a number system with base b would be written as:
an ann-1... a0 . a-1 a-2 ... a-m
And would be interpreted to mean:
an x bn + an-1 x bn-1 + ... + a0 x b0 + a-1 x b-1 + a-2 x b-2 +... + a-m x b-m
The symbols an, an-1, ..., a-m in above representation should be one of the b symbols allowed in the
number system