25-02-2006
|
|
Gold User
|
|
تاريخ التّسجيل: Oct 2005
المشاركات: 315
|
|
Base 2 number system
Base 2 number system
This page will discuss the number system that computers use to recognize and process data, which is binary, or Base 2.
The binary system uses only two symbols, which are 0 and 1. The position of each digit from right to left in a binary number represents the base number 2 raised to a power or exponent. These place values are, from right to left, 20, 21, 22, 23, 24, 25, 26, and 27, or 1, 2, 4, 8, 16, 32, 64, and 128 respectively.
Here is an example:
101102 =
(1 x 2^4 = 16) + (0 x 2^3 = 0) + (1 x 2^2 = 4) + (1 x 2^1 = 2) + (0 x 2^0 = 0) = 22 (16 + 0 + 4 + 2 + 0)
This example shows that the binary number 10110 is equal to the decimal number 22.
__________________
لا تضلوا. لا زناة ولا عبدة اوثان ولا فاسقون ولا سارقون ولا طماعون ولا سيكرون يرثون ملكوت الله (1 كورنثوس 6: 9، 10)
|