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
Sergio [31]
3 years ago
13

Question 4. Use simulate_several_key_strikes 1000 times, each time simulating the monkey striking 11 keys. Compute the proportio

n of times the monkey types "datascience", calling that proportion datascience_proportion. This is an estimate for the true probability that a monkey types "datascience".
Computers and Technology
1 answer:
Arisa [49]3 years ago
4 0

Answer:

Chech the explanation

Explanation:

<em>In [16]:</em>

<em />

# Your answer to this question might be written on more than a line.

datascience_trials = make_array()

for  i  in np.arange(1000):

            datascience_trials = np.append(datascience_trials, simulate_several_key_strikes(1))

datascience_proportion = np.count_nonzero(datascience_trials == 'datascience')/1000

datascience_proportion

<em>Out [16]:</em>

0.0

<em>In [17]:</em>

_ = ok.grade('q2_4')

````````````````````````````````````````````````````````````````````````````````````````````````````````

#Running tests

You might be interested in
A brief communication used in businesses is called a _____.
Bad White [126]

Answer:

C. Memo

Explanation:

Hope this helps :)

6 0
3 years ago
Read 2 more answers
What is the difference between Save and Save As?
allochka39001 [22]
If you just save it, it just saves it as it is, but if you save as you can give it a specific name and that's about it
5 0
4 years ago
Read 2 more answers
The str method of the Bank class returns a string containing the accounts in random order. Design and implement a change that ca
Anna007 [38]

Answer:

using namespace std;

// function to print string in sorted order

void sortString(string &str)

{

  sort(str.begin(), str.end());

  cout << str;

}

// Driver program to test above function

int main()  

{

   string s = "pleaseordertheaccounts";

   sortString(s);

   return 0;

}

Explanation:

<em>It can also work like:</em>

using namespace std;

int main()

{

       char str[5][20], t[20];

       int i, j;

       cout<<"\n Enter Any Five Names : \n\n";

       for(i=0; i<5; i++)

       {

               cout<<" ";

               cin>>str[i];

       }

       for(i=1; i<5; i++)

       {

               for(j=1; j<5; j++)

               {

                       if(strcmp(str[j-1], str[j])>0)

                       {

                               strcpy(t, str[j-1]);

                               strcpy(str[j-1], str[j]);

                               strcpy(str[j], t);

                       }

               }

       }

       cout<<"\n Names Sorted in Alphabetical Order : \n\n";

       for(i=0; i<5; i++)

       {

               cout<<" ";

               cout<<str[i]<<"\n";

       }

       return 0;

}

8 0
4 years ago
Explain how Deep Packet Inspection works (DPI). How is this technology beneficial to Perimeter Security? Lastly, describe a scen
Lera25 [3.4K]

Answer:

Answered below

Explanation:

Deep packet inspection is a kind of data processing that thoroughly inspects data sent over a computer network and acts on it by rerouting, logging or blocking it. Uses of DPI include;

To ensure that data is in the correct format, internet censorship, to check for malicious code, and also eavesdropping.

DPI uses port mirroring and optical splitter to acquire packets for inspection. It combines the functionality of an intrusion detection system and intrusion prevention system with a traditional stateful firewall.

DPI is therefore helpful in perimeter security by keeping unauthorized users out and at the same time protecting authorized users from attack. Privacy concerns have been raised over the inspection of content layers of internet protocols such as in the case of censorship and government regulations and control.

7 0
4 years ago
The most direct way for Jonathan to gain on-the-job experience and earn money while attending school is to apply for:
Ann [662]

A work-study program would be the best way for

Jonathan because he will earn from working, get an actual learning experience and

be able to pay for his schooling. Learning is not limited within the walls of

the school but can be gained outside too.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Read the description of Mike’s work, and identify his profession. Mike’s job is to record sounds in a studio. He studies a video
    14·2 answers
  • Identify four basic data manipulations performed on a relational database using sql
    7·1 answer
  • Calcule o resultado em cada caso atividade de matemática poder me ajudar<br><br>​
    12·1 answer
  • The NIST SP 800-100 Information Security Handbook provides technical guidance for the establishment and implementation of an inf
    12·1 answer
  • Please tell fast plzzzzzzzz​
    11·2 answers
  • Choose the words that make the following sentence true.<br> Primary memory is
    5·1 answer
  • While in class you were introduced to the varieties
    7·1 answer
  • In which situation would saving a Word document as a PDF be most useful?
    9·2 answers
  • Question 1 (1 point)
    9·2 answers
  • It's in Python, everything sort of explained in the image below,
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!