Digital Logic Flashcards
Which of these is a valid byte? Check all that apply.
- 11100
- 00000000
- 100220011
- 11011011
- 00000000
- 11011011
How many possible values can we have with 8 bits?
256
Bits use the binary system, which is also known as the base-2 numeral system. So 2^8 allows us 256 values from 0 to 255.
Why did UTF-8 replace the ASCII character-encoding standard?
UTF-8 can store more than one byte.
UTF-8 replaced the ASCII character-encoding standard because it can store a character in more than a single byte. This allowed us to represent a lot more character types, like emoji.
What is the highest decimal value we can represent with a byte?
256
The largest number you can represent with 8 bits is 11111111, or 255 in decimalnotation. Since 00000000 is the smallest, you can represent 256 things with a byte. (Remember, a bite is just a pattern.
The binary value of the ASCII letter “c” is 0110 0011. Using the handy chart that we learned in the lesson, convert this number to its decimal value. You’ll need to use some math for this question.
99.
The decimal value 99 is same as the binary value 0110 0011. So the numbers that are turned ON are 64, 32, 2, and 1 and added up together. In other words, 64 + 32 + 2 + 1 = 99.