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.
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...
Using Python in vs code: The distribution of letters in a document has a distinctive and...
Using Python in vs code: The distribution of letters in a document has a distinctive and predictable shape, as shown in the following figure. This distribution could be effective information to break a cipher. Write a program that reads an input file, and outputs the count or frequency of all 26 letters to an output file: count.dat. Case sensitivity is not considered, i.e., ‘a’ is treated as the same as ‘A’. Test file is “independence.txt”. In the output file, you...
Solve EXACTLY 6 questions out of 10. At least 2 questions MUST be quantitative! "X" =...
Solve EXACTLY 6 questions out of 10. At least 2 questions MUST be quantitative! "X" = 7, "Y" = 4: QUANTITATIVE – You work for Lynn, Inc. Your boss has asked you to complete a forecast for February and March using two forecasting methods and then to evaluate the two methods to identify the “best” method. You decide to try a weighted moving average of the last two months using weights of 60% (previous month) and 40% (2 months prior)....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT