63.7k views
3 votes
A lock has two buttons: a "0" button and a "1" button.To open a door you need to push the buttons according to a preset 8-bit sequence. How many sequences are there? Suppose you press an arbitrary 8-bit sequence; what is the probability that the door opens? If the first try does not succeed in opening the door, you try another number; what is the probability of success?

User Zhuoying
by
5.3k points

1 Answer

3 votes

Answer:

Explanation:

The problem relates to filling 8 vacant positions by either 0 or 1

each position can be filled by 2 ways so no of permutation

= 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2

= 256

b )

Probability of opening of lock in first arbitrary attempt

= 1 / 256

c ) If first fails , there are remaining 255 permutations , so

probability of opening the lock in second arbitrary attempt

= 1 / 255 .

User Nic Cottrell
by
4.7k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.