Monday, February 28, 2011

Binary coding system:)

multiplication and division, performed on the binary numbers 
is called binary arithmetic
 
two most popular binary coding system are
ASCII-as key
EBCDIC- eb-see-dick
 
unicode is a family of 16-bit codes that support both ASCII and EBCDIC.
 
 The binary numeral system
The binary numeral system, or base-2 number system, represents numeric values using two symbols, 0 and 1. More specifically, the usual base-2 system is a positional notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers
 
ASCII
American Standard Code for Information Interchange
widely used for microcomputers
EBCDIC
Extended Binary Coded Decimal Interchange Code
primarly used for large computers
 Unicode
used for international language like chinese and Japanese.
 
  Fraction in binary
Fraction Decimal Binary Fractional Approx.
1/1 1 or 0.999... 1 or 0.111... 1/1 or 1/2+1/4+1/8...
1/2 0.5 or 0.4999... 0.1 or 0.0111... 1/2 or 1/4+1/8+1/16...
1/3 0.333... 0.010101... 1/4+1/16+1/64...
1/4 0.25 or 0.24999... 0.01 or 0.00111... 1/4 or 1/8+1/16+1/32...
1/5 0.2 or 0.1999... 0.00110011... 1/8+1/16+1/128...
1/6 0.1666... 0.0010101... 1/8+1/32+1/128...
1/7 0.142857142857... 0.001001... 1/8+1/64+1/512...
1/8 0.125 or 0.124999... 0.001 or 0.000111... 1/8 or 1/16+1/32+1/64...
1/9 0.111... 0.000111000111... 1/16+1/32+1/64...
1/10 0.1 or 0.0999... 0.000110011... 1/16+1/32+1/256...
1/11 0.090909... 0.00010111010001011101... 1/16+1/64+1/128...
1/12 0.08333... 0.00010101... 1/16+1/64+1/256...
1/13 0.076923076923... 0.000100111011000100111011... 1/16+1/128+1/256...
1/14 0.0714285714285... 0.0001001001... 1/16+1/128+1/1024...
1/15 0.0666... 0.00010001... 1/16+1/256...
1/16 0.0625 or 0.0624999... 0.0001 or 0.0000111... 1/16 or 1/32+1/64+1/128..                                                                            

No comments:

Post a Comment