Why is double?buffered input sometimes required?

What will be an ideal response?


The simplest input mechanism is to read the current value of the input. This has many problems, for example, the input may be changing. By latching the input in a flip?flop (e.g., a D?type), the data can be instantaneously captured. Once the data has been captured, it is read. A problem occurs if a new input arrives before the last value has been read. In that case either the new value is lost or the previous captured but not read data is lost. Double?buffering provides a solution. As soon as a value is captured, it is transferred from the input latch to the reading latch (a second flip?flop). This means that the input latch is ready for a new value.

Computer Science & Information Technology

You might also like to view...

A widely used encryption algorithm is

a. PGP b. RSA c. CRC d. DTR

Computer Science & Information Technology

In the Paragraph dialog box, use the ________ box arrow to specify indent type

A) Paragraph B) Type C) Indent D) Special

Computer Science & Information Technology

Design a search that will find potential competitors of a company such as World’s Trend on the Web. Assume you are the customer.

What will be an ideal response?

Computer Science & Information Technology

If an invalid path is included with the constructor for a StreamWriter object, ____.

A. an InValidPathException is thrown B. a System exception occurs C. an IOException exception is thrown D. the program terminates

Computer Science & Information Technology