1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Neporo4naja [7]
3 years ago
13

A computer system uses passwords that are six characters and each character is one of the 26 letters (a-z) or 10 integers (0-9).

Uppercase letters are not used. Let A denote the event that a password begins with a vowel (either a, e, i, o, u) and let B denote the event that a password ends with an even number (either 0, 2, 4, 6, or 8). Suppose a hacker selects a password at random. Determine the following probabilities. Round your answers to four decimal places (e.g. 98.7654).
Computers and Technology
1 answer:
lesantik [10]3 years ago
4 0

Question continuation

Determine the following probabilities:

a. P(A)

b. P(B)

c. P(A ∩ B)

d. P(A ∪ B)

Answer:

a. P(A) = 0.1389

b. P(B) = 0.1389

c. P(AnB) = 0.0193

d. P(AuB) = 0.2585

Explanation:

Given

Password length = 6

Letters (a-z) = 26

Integers (0-9) = 10

Total usable characters = 26 + 10 = 36

a. P(A) = Probability that a password begins with vowel (a,e,i,o,u)

Probability = Number of required outcomes/ Number of possible outcomes

Number of required outcomes = Number of vowels = 5

Number of possible outcomes = Total usable characters = 36

P(A) = 5/36

P(A) = 0.13888888888

P(A) = 0.1389

b. P(B) = Probability that the password ends with an even number (0,2,4,6,8)

Probability = Number of required outcomes/ Number of possible outcomes

Number of required outcomes = Number of even numbers = 5

Number of possible outcomes = Total usable characters = 36

P(B) = 5/36

P(B) = 0.13888888888

P(B) = 0.1389

c. P(AnB)

This means that the probability that a password starts with a vowel and ends with an even number

P(AnB) = P(A) and P(B)

P(AnB) = P(A) * P(B)

P(AnB) = 5/36 * 5/36

P(AnB) = 25/1296

P(AnB) = 0.01929012345

P(AnB) = 0.0193 ----_---- Approximately

d. P(AuB)

This means that the probability that a password either starts with a vowel or ends with an even number

P(AuB) = P(A) or P(B)

P(AuB) = P(A) + P(B) - P(AnB)

P(AuB) = 5/36 + 5/36 - 25/1296

P(AuB) = 335/1296

P(AuB) = 0.25848765432

P(AuB) = 0.2585 ----_---- Approximately

You might be interested in
Write the definition of a function typing_speed, that receives two parameters. The first is the number of words that a person ha
m_a_m_a [10]

Answer:

The function code and the formula for the above question is listed below:

Explanation:

Function:

float typing_speed(int Number_of_words, int Time_in_seconds)

{

float time= Time_in_seconds/60;

float speed= Number_of_words/time;

return speed;

}

Formula for this algorithm or program:

Number of words per minute= number of words/ Time(in minutes).

Function Explanation

  • The above function defined in the c-language code, which is used to return the typing speed for any user when he enters the number of words and the time in seconds.
  • The speed is calculated with the help of the above-defined formula.
  • The first statement of the code is used to change the time in a minute.
  • The second statement of the code is used to calculate the speed by the help of speed formula.
  • Then the third statement returns the value of the speed variable.

6 0
3 years ago
Frank lives in an area that experiences frequent thunderstorms. What precautionary measure should he adopt?
Sonja [21]

Answer:

I would go with A

Explanation:

6 0
3 years ago
A research study does not need to be well designed to be effective.<br> False<br> O True
Sedbober [7]
Answer:

true

Remember to drink water!!
7 0
3 years ago
Social engineering attacks can be carried out:______.
Alik [6]
The answer most likely B NOT SURE )
3 0
3 years ago
What type of computer should you consider purchasing if you want a portable system that is good for students and on-the-go profe
Gemiola [76]

Answer:

laptop

Explanation:

,.....................

6 0
2 years ago
Other questions:
  • 3. You are a network administrator responsible for all network platforms and services. The Teta Company currently has only one b
    13·2 answers
  • 1. Perform the following Binary Additions 101101 + 10100 *
    13·2 answers
  • What are indexes in a database?
    14·1 answer
  • How do you view a presentation as your audience would see it?
    14·2 answers
  • Given the following code: PreparedStatement ps = connection.prepareStatement("select firstName, mi, lastName from Student where
    13·1 answer
  • The process of auditing the source code for an application to verify that the proper security controls are present, that they wo
    14·1 answer
  • Rob is planning his housewarming party. He wants to design an invitation and personalize it for each invitee. He needs to create
    11·1 answer
  • FREE BRAINLIEST!!!
    14·2 answers
  • The ____ data source class that reduce your need for accessing individual Data Provider class when you are connecting to an Acce
    15·1 answer
  • Write a pseudocode to add the first 100 even numbers.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!