136k views
5 votes
How may bit strings are there of length 8

User Monsabre
by
4.2k points

2 Answers

4 votes

Answer:

there are 256 bits. there 256 values u can store in a byte

User NomNomNom
by
5.3k points
3 votes

Answer:


2^8=256 different strings

Step-by-step explanation:

A bit can either store a 1 or a 0, this gives you 2 different 1-bit strings (0, 1), 4 different 2-bit strings (00, 01, 10, 11), and in general,
2^n strings for an n-bit string. Why
2^n? Well, for every bit, we have 2 choices, either a 0 or a 1, which means we double the number of possible strings with every additional bit. So, in a string with a length of 8 bits, we'll have
2^8=256 possible choices for strings.

User Ninamarie
by
5.4k points