Showing posts with label Number Systems. Show all posts
Showing posts with label Number Systems. Show all posts

25 November 2008

BCD Binary Decimal Codes

Binary decimal codes contains 0 to 9 numbers, that is human readable, unlike computer systems use binary number systems 0 and 1s.


































Decimal NumberBCD Digit
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001


BCD example

(215)10 = (0010 0001 0101)BCD



BCD Binary Decimal Codes tutorial

Octal Number System

Octal number system is base-8 system with 8 digits 0 to 7.

Example of a octal number: 147.2

Expanding numbers as a power series with base of 8.

Example of octal number:

(147.2)8 = 1x82 + 4x81 + 7x80 + 2x8-1 = 64 + 32 + 7 + 0.25 = (103.25)10


Octal number system tutorial.

Binary Number System

Binary number system is base-2 system with 2 digits 0 and 1.

Example of a binary number: 1101.1

Binary number can be expanding numbers as a power series with base of 2.

Example:

(1101.1)2 = 1x23 + 1x2 + 0x210 + 1x2-1 = (13.5)10

Binary number 1101.1 is equal to 13.5 in base-10 number system.

Also 1K (kilo) = 210
Also 1M (mega) = 220


Binary number system tutorial