It depends.
If you are using unsigned numbers, then the following assumption is made:
0b11 = 0b00000011,
in which case the answer is;
2^1 + 2^0 = 2 + 1 = 3
If you are using signed numbers, than a binary number in the form 0b11 would be interpreted as negative because the leading bit is equal to 1. For signed numbers, the '1' in the leading bit is extended, thus:
0b11 = 0b11111111
In order to interpret this number, negate the number by flipping the bits and adding 1:
0b11111111
0b00000000 (bits flipped)
0b00000001 (added one)
The positive representation of 0b11111111 is equal to 0b00000001, which is equal to 1, thus
0b11 = 0b11111111 = -1
Chat with our AI personalities
10000011 = 1*27 + 0*26 + 0*25 + 0*24 + 0*23 + 0*22 + 1*21 + 1*20
= 27 + 21 + 20 = 128 + 2 + 1 = 131
000000 is the lowest number in a 6 bit unsigned binary number (meaning the high order bit is not the sign bit). If it is a signed number then the lowest number would be represented by 100000 which is equivalent to -32 in decimal. Highest unsigned number in 6 bits is decimal 63. Highest signed number in 6 bits is decimal 31.
310 = 00112 510 = 01012 810 = 10002 1310 = 11012
There is no need for a combinatorial circuit to multiply a number by two. A binary number, left shifted one place, is twice the original binary number. The specific answer to the question is that you would connect the three input lines to the three high order output line of four output lines, and connect the low order bit of the four output lines to logic 0. If the three input lines were labelled A, B, and C, the output would be A, B, C, and 0.
Hello' would be 0100100001100101011011000110110001101111
To answer this question, we need to do a quick review of our numbering system. The standard numbers we know and love are usually called "base 10" numbers. Base 10 means that every tenth number adds a new significant digit. In the binary number system, numbers can be represented with a series of zeros and ones. For example: 0,1,2,3,4,5... (base 10 numbers) would be written as: 0,1,10,11,100... (binary numbers) Binary numbers are useful because they can be represented as 1 or 0, TRUE or FALSE or HIGH or LOW in computers (which have a harder time understanding base 10 in hardware). A bit can be thought of a single digit in a binary number.