Pages

Saturday, October 26, 2013

Computer Coding Schemes

Computer Coding Schemes

  • BCD-Binary Coded Decimal
Short for Binary Coded Decimal, BCD also called as packet decimal and is numbers 0 through 9 which are converted to four-digit binary. Following  is a list of the decimal numbers 0 through 9 and the binary equivalents.
  • Decimal BCD
    0 0000
    1 0001
    2 0010
    3 0011
    4 0100
    5 0101
    6 0110
    7 0111
    8 1000
    9 1001
    Having Used this conversion, the number 25, for example, would have a BCD equivalent number of 0010 0101 or 00100101. However, in binary, 25 is represented as 11001.
     
  • EBCDIC-
  • ASCII-American Standards Code for Information Interchange
  • Unicode

C++ Part 10 type casting C+