System binary or base two number system is a system of writing numbers using two symbols 0 and 1. Modern binary number system was invented 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 may be called by the term bit, or Binary Digit. Binary grouping in computer always amounted to 8, with the term 1 byte / bytes. In computer terms, 1 Byte = 8 bits. Codes of computer design, such as ASCII, American Standard Code for Information Interchange using the system's lawyer-code 1 Byte.
20 = 1
21 = 2
22 = 4
23 = 8
24 = 16
25 = 32
26 = 64
etc.
Calculation
Decimal Binary (8 bits)
0 0000 0000
1 0000 0001
2 0000 0010
3 0000 0011
4 0000 0100
5 0000 0101
6 0000 0110
7 0000 0111
8 0000 1000
9 0000 1001
10 0000 1010
11 0000 1011
12 0000 1100
13 0000 1101
14 0000 1110
15 0000 1111
16 0001 0000
Similar calculation in the binary number system by counting in the other. Beginning with the first number, and the next number. In the decimal number system, calculations mnggunakan numbers 0 to 9, while binary only uses the digits 0 and 1.
example: convert decimal number into binary
decimal = 10.
based on a close above reference number 10 is 8 (23), further reduction of 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 calculations of the binary number 10 is 1010
can also be another way which is 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 last two digits in binary), 2 ( results of the second division): 2 = 1 remainder 0 (0 will be the last three digits in binary), 1 (results of the third division): 2 = 0 remainder 1 (1 will be the first number in binary numbers) since the quotient is 0 or depleted, so the binary number of 10 = 1010
or in a brief
10:2 = 5 (0),
5:2 = 2 (1),
2:2 = 1 (0),
1:2 = 0 (1) The remainder is read from back to 1010
Source : wikipedia
0 comments
Post a Comment