subject

We are using a special keyboard that allows for both polling and interrupts, and would like to determine whether polling or interrupts is better. Through analysis, we have determined that we type at an average rate of 5 characters/second, but sometimes we end up typing two characters near-simultaneously, with only 10 microseconds between inputs. We have also determined that our system runs at a 100 MHz clock frequency our computer is really really slow), and our OS/program runs with Y=400, Z=9600. We want to ensure that all characters we type are successfully captured, assuming that at least 10 microseconds elapse between keystrokes. 2a. What is the maximum value of X that allows polling to work? integer
2b. If we decide to use polling with the maximum X we determined in 2a, what is the fraction of our clock cycles that we spend polling? number (stol-0.01, atol=1e-08)
2c. Over 100 seconds, what is the average number of cycles spent running interrupts, if we decide to use interrupts? integer
2d. If we decide to use interrupts, what is the fraction of our clock cycles that we spend handling interrupts? number (rtol=0.01, atol=14-08)

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:40, Serenitybella
When the pc version of the spreadsheet program became available, the ibm pc quickly became the top-selling personal computer?
Answers: 3
image
Computers and Technology, 22.06.2019 09:40, vanessacasillas452
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
image
Computers and Technology, 22.06.2019 16:10, katherineweightman
When copying and pasting text, the first step is move your cursor type the text select the copy command select the paste command
Answers: 2
image
Computers and Technology, 23.06.2019 11:00, swelch2010
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
You know the right answer?
We are using a special keyboard that allows for both polling and interrupts, and would like to deter...

Questions in other subjects:

Konu
Physics, 27.01.2021 18:00
Konu
Mathematics, 27.01.2021 18:00
Konu
Mathematics, 27.01.2021 18:00
Konu
Chemistry, 27.01.2021 18:00