Question

In: Statistics and Probability

Given a security code for door access consists of 4 alphanumeric characters, and the first character...

  1. 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:
    1. is a unique code                                                                                         
    2. begin with a vowel (a, e, i, o, u)                                                                 
    3. end with odd number (1, 3, 5, 7, 9)
    4. begin with a vowel and end with odd number                 

Solutions

Expert Solution

a. Proportion of security code that: is a unique code

Security code :

First character has to be a letter : Number of possibilities : 26(Case not considered)

Second character : Alphanumeric : Number of possibilities : 26(letters) + 10 numeric digits = 36

Third character : Alphanumeric : Number of possibilities : 26(letters) +10 numeric digits = 36

Fourth character: Alphanumeric : Number of possibilities : 26(letters) + 10 numeric digits = 36

Total number of possibilities = 26 x 36 x 36 x 36 = 1213056

Unique code : 1

Proportion of security code that: is a unique code = 1/1213056

b. begin with a vowel (a, e, i, o, u)

First character has to be a vowel (a,e,i,o,u) : Number of possibilities :5(Case not considered)

Second character : Alphanumeric : Number of possibilities : 26(letters) + 10 numeric digits = 36

Third character : Alphanumeric : Number of possibilities : 26(letters) + 10 numeric digits = 36

Fourth character: Alphanumeric : Number of possibilities : 26(letters) + 10 numeric digits = 36

Total number of possible security codes that begin with a vowel (a, e, i, o, u) = 5*36*36*36 = 233280

Total number of possibilities = 1213056

Proportion of security code that begin with a vowel (a, e, i, o, u)= 233280/1213056 = 0.1923

c. end with odd number (1,3,5,7,9)

First character has to be a letter Number of possibilities :26(Case not considered)

Second character : Alphanumeric : Number of possibilities : 26(letters) +10 numeric digits = 36

Third character : Alphanumeric : Number of possibilities : 26(letters) +10 numeric digits = 36

Fourth character: odd number (1,3,5,7,9) : Number of possibilities : 5

Total number of possible security codes that end with odd number (1,3,5,7,9) = 26*36*36*5 = 168480

Total number of possibilities = 1213056

Proportion of security code end with odd number (1,3,5,7,9) = 168480/1213056 = 0.1389

d. begin with a vowel and end with odd number     

First character has to be a vowel (a,e,i,o,u) : Number of possibilities :5(Case not considered)

Second character : Alphanumeric : Number of possibilities : 26(letters) +10 numeric digits = 36

Third character : Alphanumeric : Number of possibilities : 26(letters) +10 numeric digits = 36

Fourth character: odd number (1,3,5,7,9) : Number of possibilities : 5

Total number of possible security codes begin with a vowel and end with odd number = 5 * 36 * 36 * 5 = 32400

Total number of possibilities = 1213056

Proportion of security code begin with a vowel and end with odd number= 32400/1213056 = 0.0267


Related Solutions

Your I-phone has a numeric passcode to press to access it. This code consists of 4...
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)?
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...
Write a java code that first discards as many whitespace characters as necessary until the first...
Write a java code that first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interprets them as a numerical value. The string can contain additional characters after those that form the integral number, which are ignored and have no effect on the behavior of this function. If the first sequence of non-whitespace...
Write a java code that first discards as many whitespace characters as necessary until the first...
Write a java code that first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interprets them as a numerical value. The string can contain additional characters after those that form the integral number, which are ignored and have no effect on the behavior of this function. If the first sequence of non-whitespace...
Phython: Given a string x, write a program to check if its first character is the...
Phython: Given a string x, write a program to check if its first character is the same as its last character. If yes, the code should output "True"
the curb weight of a 4-door sedan vehicle is given as 1050kg for unladen conditions. if...
the curb weight of a 4-door sedan vehicle is given as 1050kg for unladen conditions. if the weight on the front axle is 60 kg and wheelbase is 2.75m, calculate the fore/aft position of the center of gravity. if this vehicle starts to accelerate with 2m/s^2 from zero initial speed on a 6% grade road (moving uphill), calculate the load distribution on the axles. assume that the height of the center of gravity is 0.5m
Given C++ Stack Code, Modify the code to work like a Queue.(First in First out) Stack...
Given C++ Stack Code, Modify the code to work like a Queue.(First in First out) Stack #ifndef STACK_H #define STACK_H #include "Node.h" template class Stack { private: Node* top; public: // Constructor Stack() { top = nullptr; } void push(Object ab) { if (top != nullptr) { Node* newNode = new Node(ab, *top); top = newNode; } else { Node* newNode = new Node(ab); top = newNode; } } Object pop() { if (top != nullptr) { Node *returnVal =...
Using python: Given a string x, write a program to check if its first character is...
Using python: Given a string x, write a program to check if its first character is the same as its last character. If yes, the code should output "True"
I need this code to be written in Python: Given a dataset, D, which consists of...
I need this code to be written in Python: Given a dataset, D, which consists of (x,y) pairs, and a list of cluster assignments, C, write a function centroids(D, C) that computes the new (x,y) centroid for each cluster. Your function should return a list of the new cluster centroids, with each centroid represented as a list of x, y: def centroid(D, C):
Computer Security Bell-LaPadula Model Given the access rights as follows: Nada can read and write to...
Computer Security Bell-LaPadula Model Given the access rights as follows: Nada can read and write to file A, can append to file B, and can write to file C. Maha can read file A, can write to file B, and cannot access file C. Write the access control matrix M that specifies the described set of access rights for subjects Nada and Maha to objects file A, file B and file C. Then the subject’s security levels are LNada= Confidential...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT