Thursday, August 11, 2016

Number Systems

Binary to Decimal Conversion

Conversion of binary to decimal (base-2 to base-10) numbers and back is an important concept to understand as the binary numbering system forms the basis for all computer and digital systems.

Examples:

101012 = 10101B = 1×24+0×23+1×22+0×21+1×2= 16+4+1= 21101112 = 10111B = 1×24+0×23+1×22+1×21+1×2= 16+4+2+1= 231000112 = 100011B = 1×25+0×24+0×23+0×22+1×21+1×20=32+2+1= 35

Summary


  • A “BIT” is the abbreviated term derived from BInary digiT
  • A Binary system has only two states, Logic “0” and Logic “1” giving a base of 2
  • A Decimal system uses 10 different digits, 0 to 9 giving it a base of 10
  • A Binary number is a weighted number who’s weighted value increases from right to left
  • The weight of a binary digit doubles from right to left
  • A decimal number can be converted to a binary number by using the sum-of-weights method or the repeated division-by-2 method
  • When we convert numbers from binary to decimal, or decimal to binary, subscripts are used to avoid errors





No comments:

Post a Comment