Logic circuits
How many bits are in one byte?
- A8 bits
- B4 bits
- C16 bits
Show answer and explanation
Answer: A. 8 bits
A byte is 8 bits and can represent 256 values (0–255)—one ASCII character or one color channel of a pixel (0–255 intensity). Four bits form a nibble (half a byte), matching one hex digit. Byte size originally varied by machine, with 6- and 9-bit examples, so "octet" is used, for example in networking standards, when exactly 8 bits is meant.
- A. Correct. 1 byte = 8 bits.
- B. Four bits are called a nibble, half a byte.
- C. 16 bits are two bytes.