Sabtu, 08 Desember 2012

Binary number system

System binary or base two number system is a system of writing numbers using two symbols, namely 0 and 1. Modern binary number system was discovered by Gottfried Wilhelm Leibniz in the 17th century. This numbering system is the basis of all digital-based number system. Of the binary system, we can convert it to octal or hexadecimal number systems. This system also can be called by the term bit, or binary digit. Grouping the binary in the computer always amounted to 8, with the term 1 Byte / byte. In computer terms, 1 byte = 8 bits. These codes computer engineering, such as ASCII, the American Standard Code for Information Interchange using the system's coding 1 Byte.


20 = 1
21 = 2
22 = 4
23 = 8
24 = 16
25 = 32
26 = 64
etc.CalculationDecimal Binary (8 bits)0 0000 00001 0000 00012 0000 00103 0000 00114 0000 01005 0000 01016 0000 01107 0000 01118 0000 10009 0000 100110 0000 101011 0000 101112 0000 110013 0000 110114 0000 111015 0000 111116 0001 0000
Calculations in binary is similar to counting in other number systems. Starting with the first number, and the next number. In the decimal number system, calculations mnggunakan the numbers 0 through 9, while binary only uses the numbers 0 and 1.
example: convert decimal number into binary
decimal = 10.
based on the approach reference number 10 is 8 (23), then the reduction 10-8 = 2 (21). so it can be described as follows
10 = (1 x 23) + (0 x 22) + (1 x 21) + (0 x 20).
from the above calculation of the binary number 10 is 1010
can also be another way ie 10: 2 = 5 remainder 0 (0 will be the last digit in a binary number), 5 (results of the first division): 2 = 2 remainder 1 (1 will be the second to last digit in a binary number), 2 ( results of the second division): 2 = 1 remainder 0 (0 will be the third last digit in a binary number), 1 (third division results): 2 = 0 remainder 1 (1 will be the first number in binary) because the quotient is 0 or depleted, so the binary number 10 = 1010
or by way of a brief
10:2 = 5 (0),
5:2 = 2 (1),
2:2 = 1 (0),
1:2 = 0 (1) for the rest of the results are read from back to 1010

Tidak ada komentar:

Posting Komentar