Unsigned binary
An unsigned binary number is simply a binary number that can only represent non-negative values (i.e., zero and positive integers).
We can say that all bits are used to represent the magnitude of the number.
Range of values
In an unsigned 3-bit binary number, for example, the possible values are:
- 000 (0 in decimal)
- 001 (1 in decimal)
- 010 (2 in decimal)
- 011 (3 in decimal)
- 100 (4 in decimal)
- 101 (5 in decimal)
- 110 (6 in decimal)
- 111 (7 in decimal)
We can see that an unsigned 3-bit binary number can represent values from 0 to
7. We can calculate the maximum value of an unsigned binary number with
For example, for an unsigned 5-bit binary number, the maximum value is
flashcards
| Question | Answer |
|---|---|
| What is an unsigned binary number? | It is a binary number that can only represent non-negative values (zero and positive integers), where all bits are used to represent the magnitude of the number. |
| What are the possible values of an unsigned 3-bit binary number? | 000 (0), 001 (1), 010 (2), 011 (3), 100 (4), 101 (5), 110 (6), 111 (7). |
| How do you calculate the maximum value of an unsigned binary number with | The maximum value is |
| What is the maximum value for an unsigned 5-bit binary number? |