Jamie takes part in a quiz competition. she is asked to name the total number of combinations that the bits 1 and 0 will have in a byte. what will be her answer?
A. 256 or 28 different combinations
B. 257 or 28 different combinations
c. 255 or 28 different combinations
D. 255 or 29 different combinations

Respuesta :

The answer is 

I hope this help

Answer: A. [tex]256[/tex] or [tex]2^8[/tex] different combinations

Explanation:

First of all, we have two possible digits or options to choose from, bits 1 and 0. From the question, we know that every combination should form a byte. So, we have to choose eight times (eight bits). For example, a combination could be [ 10001000 ]  another could be [ 00011000 ].

As you can see the order of the digits makes to change the combination. So, byte [ 10000000 ] is different than byte [ 00000001 ]. In the right math language order matter and this is called permutation.  We can say that a permutation is a combinations where order matter.

For a permutation like this, where we can repeat digits, it is possible to calculate the total of permutations by using the formula, [tex]n[/tex] × [tex]n[/tex] × [tex]... (r[/tex] [tex]times) = n^r[/tex]

Where:

[tex]n[/tex] is the number of digits or options to choose from

[tex]r[/tex] is the number of digits we choose to make a permutation

From the problem we get that:  

[tex]n=2[/tex] (bits 1 and 0)

[tex]r=8[/tex] (a permutation should form a byte)  

let's replace all values into the formula :

[tex]2[/tex] × [tex]2[/tex] × [tex]... (8[/tex] [tex]times) = 2^8 = 256[/tex]  

256 permutations (combinations where order matter)

We can conclude that the total number of combinations that the bits 1 and 0 will have in a byte are A. [tex]256[/tex] or [tex]2^8[/tex] different combinations

ACCESS MORE