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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 14:30
Including a space in the file name causes problems on all operating systems?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
question
Computers and Technology, 24.06.2019 06:00
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Selective is defined as paying attention to messages that are consistent with one’s attitudes and beliefs and ignoring messages that are inconsistent.
Answers: 1
You know the right answer?
We are using a special keyboard that allows for both polling and interrupts, and would like to deter...
Questions
question
Mathematics, 05.03.2021 02:20
Questions on the website: 13722367