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 22:00
Your task this week is to write a very simple spam classifier in python. it will classify messages as either spam (unwanted) or ham (wanted). the program will have a set of spam_words, words that are known to appear in spam messages. that set is included in the template file spam.pypreview the document. you will also define a spam threshold which reflects the allowed percentage of spam words in the message. you'll compute a 'spam indicator', which is the ratio of spam words to the total number of unique words in the message. if the spam indicator exceeds the spam threshold, the message is classified as spam. otherwise it is classified as ham. we'll assume that the spam threshold is a constant and has a value of 0.10. your program will prompt the user for a message and then will print the corresponding spam indicator with two decimal digits and the corresponding classification (spam or ham). the program will be case insensitive. the spam words are detected whether they are in lower case or upper case or mixed case. each word, spam or not, is counted once (even if it appears multiple times in the message.) the program will remove punctuation from the message before identifying the words and computing the spam indicator. for example '! ' must be identified as the spam word 'now'.
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
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
History, 27.07.2021 08:10
question
Mathematics, 27.07.2021 08:10
question
English, 27.07.2021 08:10
Questions on the website: 13722361