Question

In: Statistics and Probability

Your I-phone has a numeric passcode to press to access it. This code consists of 4...

  1. Your I-phone has a numeric passcode to press to access it. This code consists of 4 numbers. If someone tries the codes and gets them incorrect, the phone will shut down after three incorrect attempts. What is the probability that a person who is just guessing the code will get it correct within three guesses (hint…how does this compare to the probability of not getting it right in three attempts)?

Solutions

Expert Solution

Problem statement: To find the probability that someone gets right passcode to un lock an iPhone within 3 attempts.

Given: Someone wants to unlock an iPhone with passcode by guessing it. It is also given that the phone shutdown after 3 wrong attempts and passcode accepts only numeric inputs.

Solution: Iphone getting blocked within 3 attempts means that iPhone getting unlocked in the first attempt or iPhone getting unlocked in the second attempt or iPhone getting unlocked in the third attempt.

So,

Probability of unlocking iPhone within 3 attempts = Probability (unlocking iPhone in first attempt)+Probability (unlocking iPhone in second attempt)+Probability (unlocking iPhone in third attempt)

Since in the question it is given that only numeric values are accepted and length of the passcode is 4, first we have computed the number of passcode possibilities that someone could enter.

Numeric values vary from 0 to 9. So there are 10 possibilities for each passcode digit entry. Since each of the digit entered in passcode is independent of other digits, each of the 4 values of the passcode have 10 possibilities.

So total number of passcode possibilities = 10*10*10*10=10000

Out of all the pass code combinations only 1 combination is the right passcode for the iPhone.

So probability of getting right passcode in first attempt= 1/10000=0.0001

If the entered passcode in the first attempt is wrong , someone trying to access the iPhone wouldn't use the same passcode second time.

So probability of getting right passcode in second attempt= (1/(10000-1))=0.00010001

If even the passcode entered during second attempt is wrong then during third attempt the person wouldn't use the passcode he tried during first two attempts

So probability of getting right passcode in third attempt= (1/(10000-2))=0.00010002

So the total probability that someone would be successful in unlocking my iPhone through a 4 digit passcode within first three attempts is

Probability (unlocking iPhone in first attempt)+Probability (unlocking iPhone in second attempt)+Probability (unlocking iPhone in third attempt)= 0.0001+0.00010001​​​​​​​+0.00010002​​​​​​​=0.00030003​​​ or 0.03%​​​​.


Related Solutions

Given a security code for door access consists of 4 alphanumeric characters, and the first character...
Given a security code for door access consists of 4 alphanumeric characters, and the first character has to be a letter. Determine the proportion of security code that: is a unique code                                                                                          begin with a vowel (a, e, i, o, u)                                                                  end with odd number (1, 3, 5, 7, 9) begin with a vowel and end with odd number                 
You have been using your phone and your school's Wi-Fi network to access hosts on the...
You have been using your phone and your school's Wi-Fi network to access hosts on the Internet. Suddenly, you cannot reach Internet hosts. Create a two-column table. a) In the first column, create a list of possible causes. b) In the second column, describe how you would test each one. (You may not be able to test them all.) Create a table list.
My Javascript code isn't working (when i press calculate button) - what's wrong with it ?...
My Javascript code isn't working (when i press calculate button) - what's wrong with it ? Car Rental Enter Number of Rental Days: Select Car Type: onclick= "priceofcar = 50;"/> Compact onclick= "priceofcar = 60;"/> Economy onclick= "priceofcar = 70;"/> Intermediate Select Loss Damage Waiver onclick= "damagewaiver='yes'"/> Yes onclick= "damagewaiver='no'"/> No damagewaiver = boxDays.value * 25;} else if (damagewaiver == No) { damagewaiver = 0; }/> Select Roadside Issues Coverage: onclick= "issuescoverage='yes'"/> Yes onclick= "issuescoverage='no'"/> No issuescoverage = boxDays.value *...
Suppose that the security code for a particular automobile’s locks consists of 4 bytes of data...
Suppose that the security code for a particular automobile’s locks consists of 4 bytes of data transmitted via a low power radio. A byte is either sent correctly or is distorted by interference. The car locks are only opened if all 4 bytes are received correctly. Let C be the event that a byte is received correctly and F be the event that the byte is distorted in transmission. Then CCCC would mean that all four bytes were received correctly...
Question 4: Your company has been approached to bid on a contract to sell 10 phone...
Question 4: Your company has been approached to bid on a contract to sell 10 phone booths each year for the next 5 years. Your initial equipment cost will be $5,000. You’ll depreciate this cost straight-line to zero over the next 5 years. You believe the equipment can be repurposed and salvaged for $2,000. You expect fixed costs each year to amount to $500 with variable costs equal to $1,000/booth. Initial NWC needs are $750 and are fully recovered at...
4.Translate the following C code to MIPS assembly code. Assume that the value of i is...
4.Translate the following C code to MIPS assembly code. Assume that the value of i is in register $t0, and $s0 holds the base address of the integer MemArray if (i > 10) MemArray[i] = 0; else MemArray[i] = -MemArray[i]; 6.Translate the following C code to MIPS assembly code. Use a minimum number of instructions. Assume that the values of a, b, i, and j are in registers $s0, $s1, $t0, and $t1, respectively. Also, assume that register $s2 holds...
* Show the output of the following BASH code: i=7 i=$((i-5)) if [ $i -eq 4...
* Show the output of the following BASH code: i=7 i=$((i-5)) if [ $i -eq 4 ] # -eq is == then         echo "Four" elif [ $i -eq 2 ] then         echo "Two" else         echo $i fi
4. A) The probability that a student from a certain university has a cell phone is...
4. A) The probability that a student from a certain university has a cell phone is 0.2. So, the probability that the tenth student randomly interviewed at this university is the fifth with Cell phones is: B) On a certain day, the second stage of the environmental contingency plan was implemented in the Mexico City. If there are 50 companies in the area that corresponds to a supervisor, of which 15 did not follow contingency guidelines, then the probability that...
Write a C++ code to ask the user to enter 4 values (whole numbers). Your code...
Write a C++ code to ask the user to enter 4 values (whole numbers). Your code should print the numbers in descending order.
solve using r, include code in your answer (a) Generate 25 variables, each of which consists...
solve using r, include code in your answer (a) Generate 25 variables, each of which consists of 25 random samples from a standard normal. Store these variables in a data frame – call it df.train – and randomly select one variable to be the response – rename it y. (The end result should be a data frame with 25 observations on 25 variables but with no relationships between any of the variables.)Now  Repeat the same steps  to create a test set called...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT