Write script that reads several lines of text from keyboard


Problem:

Question 1: write a script that reads several lines of text from the keyboard and prints a table indicating the number of one-letter words, two letter words, three letter words, etc apearing in the text For example, the phrase.

Whether 'tis nobler in the mind to suffer

Question 2: Suppose that a main memory with 20 bit addresses is built using 16 banks and 2 chips each bank of RAM chips with 16 bit addresses. If low-order interleaving is used, which bank or module would address 33 in decimal be located? Assume that the first bank is Bank 0.

Could someone help to explain the answer of these questions.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write script that reads several lines of text from keyboard
Reference No:- TGS0891693

Expected delivery within 24 Hours