Question

In: Statistics and Probability

A person has to create a code. The code must contain exactly 6 letters. The first...

A person has to create a code. The code must contain exactly 6 letters. The first letter must be a vowel that is not an E or I. The second letter must be either a J, K, or L. The third letter must be a consonant that is not a G or R. The fourth letter must be a vowel that is not an I. The fifth letter must be a consonant. If repetition of letters are not allowed, how many different codes can the person make? (Note: a vowel is A, E, I, O, or U, and consonants are letters that are not vowels).

Solutions

Expert Solution

There are five vowels A,E,I,O,U and 21 consonants,

The first letter has 3 options (A,O,U) to choose since other vowels E or I cant be chosen.

The second letter has 3 options to chosen from J,K,or L .

The third letter has 21 - 2 =19 options to choose since G and R cant be used so we subtracted 2 consonants from 21.

Now there will be one consonant (either J,K or L) which will be used in second letter formation , since repetition is not allowed , we have finally 19 - 1 = 18 options to choose for third letter .

The fourth letter should be vowel , but w have used one vowel for first letter from A,O,U. so we have 5 -1 =4 options to choose, there is condition given that I cant be used , so finally we will have 4 -1 = 3 options from to choose for the fourth letter.

For second letter and fourth letter we have used 2 consonants, so we have 21 - 2 =19 consonants to choose for the fifth letter.

There is no mention of any conditions for 6th letter , since 5 letters have already been used we have 26 - 5 = 21 options for the 6th letter.

Number of different codes that can be formed = 3 X 3 X 18 X 3 X 19 X 21 = 193914


Related Solutions

A person has to create a code. The code must contain exactly 7 letters. The first...
A person has to create a code. The code must contain exactly 7 letters. The first letter must either a N, P, R, or T. The second letter must be a vowel that is not I, O, or U. The third letter must be a consonant that is not a D, F, H, or J. The fourth letter must be a vowel that is not an O or U. The fifth letter must be a consonant that is not a...
Create an ANOVA and regresion problem, must contain steps and answers.
Create an ANOVA and regresion problem, must contain steps and answers.
Each of the first 6 letters of the alphabet is printed on a separate card. The...
Each of the first 6 letters of the alphabet is printed on a separate card. The letter “a” is printed twice. What is the probability of drawing 4 cards and getting the letters f, a, d, a in that order? Same question if the order does not matter.
CODE IN C++ PLEASE Create a structure (object) named Person that has the following characteristics: •...
CODE IN C++ PLEASE Create a structure (object) named Person that has the following characteristics: • full name • age • family members full names represent by an array of size 10. Write a program that creates an array of Person of size 5. Populate the array of objects with the information given by user input according to the following specifications: • With input from the user i) Populate only 3 positions of the array of Person object. ii) Populate...
A secret pass code is made of 6 letters none of which are repeated. What is...
A secret pass code is made of 6 letters none of which are repeated. What is the probability that the code starts with B?
I need to create a code in C++ that first has a menu animation of game...
I need to create a code in C++ that first has a menu animation of game Pacman, a score label in the map, and a bar that have the lives of pacman in the map.
Use R code to do the following!!!! 1. Create a vector v1 that will contain integers...
Use R code to do the following!!!! 1. Create a vector v1 that will contain integers from -30 to 60. 2. Copy v1 into a vector v2 and add names 'odd' or 'even' based on the value. 3. Copy v1 into a vector v3 and if the number can be divided by 3, replace it by 'NA'. 4. Assign the mean of v3 to v4 ignoring the 'NA'.
For this assignment, you must follow directions exactly. Create a P5 project in Eclipse then write...
For this assignment, you must follow directions exactly. Create a P5 project in Eclipse then write a class P5 with a main method, and put all of the following code into the main method: Instantiate a single Scanner object to read console input. Declare doubles for the gross salary, interest income, and capital gains. Declare an integer for the number of exemptions. Declare doubles for the total income, adjusted income, federal tax, and state tax. Print the prompt shown below...
Objective: Create a webpage with a simple quiz. Instructions: The webpage must contain at least ten...
Objective: Create a webpage with a simple quiz. Instructions: The webpage must contain at least ten simple questions as a quiz. The user must be able to answer the questions in the input boxes and finally click on a Submit button to get a final score. The questions must be such a way that some answer formats must cover all the following types: A number A string An expression (e.g. 2+3) If the user does not answer a question and...
Here, we will create a structure that resembles a university’s profile. The structure must contain 5...
Here, we will create a structure that resembles a university’s profile. The structure must contain 5 members: - One member for number of undergraduate students - One member for number of graduate students - One member for number of classrooms - One member for the name of the university (an array) - One member for the term (fall, summer or spring; also an array) Once you define a structure with these members (don’t forget to give your arrays a default...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT