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
AlexFokin [52]
3 years ago
8

In the following cell, we've loaded the text of Pride and Prejudice by Jane Austen, split it into individual words, and stored t

hese words in an array p_and_p_words. Using a for loop, assign longer_than_five to the number of words in the novel that are more than 5 letters long. Hint: You can find the number of letters in a word with the len function.
Computers and Technology
1 answer:
Sever21 [200]3 years ago
7 0

Answer:

Explanation:

Since the array is not provided, I created a Python function that takes in the array and loops through it counting all of the words that are longer than 5. Then it returns the variable longer_than_five. To test this function I created an array of words based on the synapse of Pride and Prejudice. The output can be seen in the attached picture below.

def countWords(p_and_p_words):

   longer_than_five = 0

   for word in p_and_p_words:

       if len(word) > 5:

           longer_than_five += 1

   return longer_than_five

You might be interested in
Which of the following is a geolocation service on an Internet browser?
seropon [69]
It may be D) because it is actually a simplified version of Google maps.
7 0
3 years ago
Read 2 more answers
Unscramble the words <br><br> A: ESUOM RETUPOC <br><br> B: KSID EVIRD
Mrrafil [7]
A. Mouse coputer
B. Disk drive
5 0
3 years ago
Read 2 more answers
Consider a demand-paging system with the following time-measured utilizations: CPU utilization 20% Paging disk 97.7% Other I/O d
Zarrin [17]

Answer:

see explaination please

Explanation:

a. Install a faster CPU. Answer:NO

Optional: a faster CPU reduces the CPU utilizationfurther since the CPU will spend more time waiting for a process toenter in the ready queue.

b. Install a bigger paging disk. Answer:NO

Optional: the size of the paging disk does not affect theamount of memory that is needed to reduce the pagefaults.

c. Increase the degree of multiprogramming Answer:NO

Since each process would have fewer frames available andthe page fault rate would increase

d. Decrease the degree of multiprogramming.Answer: YES

Optional: by suspending some of the processes, the otherprocesses will have more frames in order to bring their pages inthem, hence reducing the page faults.

e. Install more main memory. Answer:Likely

Optional: more pages can remain resident and do notrequire paging to or from the disks.

f. Install a faster hard disk or multiplecontrollers with multiple hard disks. Answer:Likely

(Optional)

g. Add prepaging to the page-fetchalgorithms.Answer: Likely

(Optional.)

h. Increase the page size. Answer:NO

Since each process would have fewer frames available and the page fault rate would increase

5 0
3 years ago
Henry is troubleshooting a network connection and wants to see if he can connect to the server on his network. Which Microsoft c
Lemur [1.5K]

Answer:

The command to use to check if he can connect to the server is the ping command.

Explanation:

The ping command is a network testing command to verify that one computer can reach or communicate with another computer on the network.

In Microsoft, the ping command is used in the command prompt window.

The ping command sends an Internet Control Message Protocol or ICMP Echo request or packets to another computer on the network and waits for a reply. The reply either informs you of the time it took to communicate with the other computer or inform you that there was no response.

4 0
3 years ago
How is a high-level programming language interpreted?
balu736 [363]

Answer:

Once a program is compiled, the chore of language translation is over with and therefore executing the program only requires execution time, not additional translation time. To execute an interpreted program, every instruction is translated first and then executed; this must be done every time the program is run.

Explanation:

8 0
2 years ago
Other questions:
  • Assume that we would like to expand the MIPS register file to 128 and keep the size of all other fields as in the original MPIS
    7·2 answers
  • Select all that apply. Two physical things you can do to demonstrate you are paying attention to a speaker are _____ and _____.
    7·2 answers
  • Which of the following SQL statements will display all customers who have not recently placed an order? a. SELECT customer# FROM
    15·1 answer
  • If you see ##### in a cell, you should
    10·1 answer
  • As Juan sat in his biology lab, his instructor was droning on about the techniques of vivisection. Juan kept thinking about the
    5·1 answer
  • Ricardo twists his ankle at work but does not immediately realize that he is injured because his ankle is not sore or swollen, a
    5·1 answer
  • Write and test a Python program to find and print the largest number in a set of real (floating point) numbers. The program shou
    5·1 answer
  • Which screen should be open to customize or personalize a desktop background?
    15·2 answers
  • Hey, wanna pair our account on Brainly so we can share the perks? https://brainly.com/invite/8db681239ab5027e03b097bcded13755?ut
    15·2 answers
  • In 1980, IBM's cheapest computer was more affordable than Apple's.<br><br><br> True<br><br> False
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!