Question

In: Statistics and Probability

question : (buildings password) The building has an electronic lock ..the password fo it is in...

question :

(buildings password)

The building has an electronic lock ..the password fo it is in shape NNNNN, where N is one of the numbers 0,1,.....9. calculate the numbers of possible password when password creation is restricted by the following terms:

(a) no number must be repeated in the password

(b) there must be apair in the password , exactly two of the same number with all other numbers being different ..for examole(23783)

assuming that passwords are generated randomly from all possible passwords, calculate the probabilities of the following events:

(a)no number is repeated inthe password

(b) the password is a couple (as above)

Solutions

Expert Solution

a) The number of passwords possible here would be computed as:

_ _ _ _ _

As there are 10 digits in total, therefore the total number of passwords possible here would be given as the number of permutation of 10 digits taken 5 at a time. Therefore the number of passwords possible here are computed as:

= 10*9*8*7*6

= 30240

b) The number of passwords possible here such that exactly two of the same number with all other numbers being different is computed as:

= Number of ways to select 4 of the 10 digits * Number of ways to select one of those 4 digits that would be repeated * Number of permutations

______________________________________________________________________________________

Total number of possible passwords without any condition = 105 = 100000

a) Probability that a password is selected such that no number is repeated

= 30240 / 100000

= 0.3024

Therefore 0.3024 is the required probability here.

b) Probability that the password is a couple

= 50400 / 100000

= 0.5040

Therefore 0.5040 is the required probability here.


Related Solutions

Cary Construction Inc. is preparing to bid on a job building a new dorm fo the...
Cary Construction Inc. is preparing to bid on a job building a new dorm fo the local college. Cary expects that the job will require $850,000 of direct materials, $500,000 of direct labor, and $425,000 of overhead costs. Administrative and other expenses for the job are expected to be $2,000. On average last year, Cary Construction earned about $250,000 profit on a job this size and would like to increase the profit by 5 percent on new contracts. Cary normally...
Continent Construction Company is a building contractor specializing in small commercial buildings. The company has the...
Continent Construction Company is a building contractor specializing in small commercial buildings. The company has the opportunity to accept one of two jobs; it cannot accept both because they must be performed at the same time and Continent does not have the necessary labor force for both jobs. Indeed, it will be necessary to hire a new supervisor if either job is accepted. Furthermore, additional insurance will be required if either job is accepted. The revenue and costs associated with...
Rooney Construction Company is a building contractor specializing in small commercial buildings. The company has the...
Rooney Construction Company is a building contractor specializing in small commercial buildings. The company has the opportunity to accept one of two jobs; it cannot accept both because they must be performed at the same time and Rooney does not have the necessary labor force for both jobs. Indeed, it will be necessary to hire a new supervisor if either job is accepted. Furthermore, additional insurance will be required if either job is accepted. The revenue and costs associated with...
An organization has the following password policies: - password must be at least 16 characters long...
An organization has the following password policies: - password must be at least 16 characters long - three failed login attempts will lock the account for 5 minutes - password must have one uppercase letter, one lowercase letter, and one non alphanumeric symbol a database server was recently breached, and the incident Response Team suspect the passwords were compromised. Users with permission on the database server were forced to change their passwords for that server. Unauthorised and suspicious logins are...
Question 5 In one of the buildings that your company has installed a network, some of...
Question 5 In one of the buildings that your company has installed a network, some of the devices have stopped working completely. The devices do not even turn on. Your manager has requested that you investigate the possible causes of the damaged devices. Advise on what can be installed so that other devices can be protected. Explain two ways to achieve this.
A company has three buildings and the corresponding insurace: () building A is covered by a property Insurance of which maximum Indemnity is $10,000;
A company has three buildings and the corresponding insurace: () building A is covered by a property Insurance of which maximum Indemnity is $10,000; (l) building B is covered by a property insurance of which maximum indemnity is $5,000, and (1) building is covered by a valued policy of which sum insured is $10,000. Unfortunately, all three buldings were damanaged by a covered peril, and the value of each building decreases from $9116 to $1593. How much is the company...
You are a project manager at a construction company that specializes in building office buildings. You...
You are a project manager at a construction company that specializes in building office buildings. You were approached by a representative of a company that was interested in your company’s services. He told you that their company was growing and they decided to build a new office building to address their needs. Then he told you that they already started the process with another construction company. They signed a contract with the other construction company and they started the building...
JAVA / I KNOW THERE IS MORE THAN ONE QUESTION BUT THEY ARE SO EASY FO...
JAVA / I KNOW THERE IS MORE THAN ONE QUESTION BUT THEY ARE SO EASY FO YOU I NEED YOUR HELP PLEASE HELP ME. I WILL GIVE UPVOTE AND GOOD COMMENT THANK YOU SO MUCH !!! QUESTION 1 Consider the following program segment: int i = 2; int n = 18; while (i < n) {     if ((i % 2) == 0) i++; else n--; } System.out.println( i ); What is the value of n when the above program...
Landlord owns several leased buildings in the same block neardowntown. Landlord leases an entire building...
Landlord owns several leased buildings in the same block near downtown. Landlord leases an entire building to TC, for his restaurant “TC’s Café”. Among the standard terms negotiated in the lease are the following provisions:Tenant’s Duties: Tenant agrees to maintain a policy of hazard insurance sufficient to repair or replace the Property in event of damage resulting from flood, weather events, fire, or tenant use.Landlord’s Duties: Landlord agrees to keep the Property in good repair for Tenant’s use in.-Landlord hires...
Question: Required information [The following information applies to the questions displayed below.] Fo... Required information [The...
Question: Required information [The following information applies to the questions displayed below.] Fo... Required information [The following information applies to the questions displayed below.] For many years, Yelena Company manufactured a single product called a Mono-Relay. Then three years ago, the company automated a portion of its plant and at the same time introduced a second product called a Bi-Relay that has become increasingly popular. The Bi-Relay is a more complex product, requiring 1.00 hour of direct labor time per...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT