+ 4
Does the binary contain 2 digits?
Hi guys, please give me my answer. :-)
4 ответов
+ 10
Not to be too pedantic, but binary doesn't "contain 2 digits". Rather, a binary digit is based on two possible values. These values can be represented as {1, 0}; {on, off}; {true, false}; {yes, no}; {a, b}; {black, white}; {opened, closed} and so on and so forth.
A binary value can contain many digits to represent a value. This is similar to how decimal / base 10 values work. Each digit in base 10 can be anything from 0 to 9. The decimal value of 12 is two digits, a 1 and a 2.
Likewise, the binary equivalent of this value contains 4 digits: 1100.
+ 3
A binary has two vaules and is based off of base 2 instead of base 10 ( the regular everyday number ayatem)
+ 2
yes 0 and 1 with 8 of them you have a char(as far as i know)
+ 2
Yes, binary is just base 2. Normally we use base 10 (0-9), but we can use any base is convenient for our applications. In computer science base 2 happens to be convenient. So does base 16 (0-9, a-f) and 8 (0-7).