What is a byte, and how many distinct values can 1 byte represent?

Study for the End of Year 8 Computer Science Test. Prepare with flashcards and multiple choice questions, each with hints and explanations. Get ready for your exam!

Multiple Choice

What is a byte, and how many distinct values can 1 byte represent?

Explanation:
Eight bits make up a byte, and each bit can be 0 or 1. With eight bits, the number of possible patterns is 2^8, which equals 256. So one byte can represent 256 distinct values (commonly 0 to 255). The other options come from different bit lengths: four bits give 16 values, one bit gives 2 values, and sixteen bits give 65,536 values.

Eight bits make up a byte, and each bit can be 0 or 1. With eight bits, the number of possible patterns is 2^8, which equals 256. So one byte can represent 256 distinct values (commonly 0 to 255). The other options come from different bit lengths: four bits give 16 values, one bit gives 2 values, and sixteen bits give 65,536 values.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy