Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 1 Day Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Computer Science Posted 10 May 2017 My Price 4.00

Consider the above scheme for outputting data

For programmed I/O, Figure 7.5 indicates that the processor is stuck in a wait loop doing status checking of an I/O device. To increase efficiency, the I/O software could be written so that the processor periodically checks the status of the device. If the device is not ready, the processor can jump to other tasks. After some timed interval, the processor comes back to check status again.

a. Consider the above scheme for outputting data one character at a time to a printer that operates at 10 characters per second (cps). What will happen if its status is scanned every 200 ms?

b. Next consider a keyboard with a single character buffer. On average, characters are entered at a rate of 10 cps. However, the time interval between two consecutive key depressions can be as short as 60 ms.  At what frequency should the keyboard be scanned by the I/O program?

Answers

(8)
Status NEW Posted 10 May 2017 02:05 PM My Price 4.00

-----------

Attachments

file 1494427338-Answer.docx preview (242 words )
F-----------or -----------pro-----------gra-----------mme-----------d I-----------/O,----------- Fi-----------gur-----------e 7-----------.5 -----------ind-----------ica-----------tes----------- th-----------at -----------the----------- pr-----------oce-----------sso-----------r i-----------s s-----------tuc-----------k i-----------n a----------- wa-----------it -----------loo-----------p d-----------oin-----------g s-----------tat-----------us -----------che-----------cki-----------ng -----------of -----------an -----------I/O----------- de-----------vic-----------e. -----------To -----------inc-----------rea-----------se -----------eff-----------ici-----------enc-----------y, -----------the----------- I/-----------O s-----------oft-----------war-----------e c-----------oul-----------d b-----------e w-----------rit-----------ten----------- so----------- th-----------at -----------the----------- pr-----------oce-----------sso-----------r p-----------eri-----------odi-----------cal-----------ly -----------che-----------cks----------- th-----------e s-----------tat-----------us -----------of -----------the----------- de-----------vic-----------e. -----------If -----------the----------- de-----------vic-----------e i-----------s n-----------ot -----------rea-----------dy,----------- th-----------e p-----------roc-----------ess-----------or -----------can----------- ju-----------mp -----------to -----------oth-----------er -----------tas-----------ks.----------- Af-----------ter----------- so-----------me -----------tim-----------ed -----------int-----------erv-----------al,----------- th-----------e p-----------roc-----------ess-----------or -----------com-----------es -----------bac-----------k t-----------o c-----------hec-----------k s-----------tat-----------us -----------aga-----------in.----------- a-----------. C-----------ons-----------ide-----------r t-----------he -----------abo-----------ve -----------sch-----------eme----------- fo-----------r o-----------utp-----------utt-----------ing-----------
Not Rated(0)