Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1. The clock frequency of the CPU is 100 MHz. A keyboard is connected to the computer. In average, 10 keys are pressed in

image text in transcribed

Task 1. The clock frequency of the CPU is 100 MHz. A keyboard is connected to the computer. In average, 10 keys are pressed in a second. Theoretically, two key presses can follow each other in 50 ms, key presses closer than this can not be distinguished by the keyboard. 500 clock cycles are necessary to obtain the status of the keyboard. The interrupt processing needs additional 100 clock cycles (a) How many times do we need to poll the keyboard to not to miss any events? (b) What is the (relative) load of the CPU devoted to the keyboard when the key press events are handled by polling? c) What is the (relative) load of the CPU devoted to the keyboard when the key press events are handled by interrupts

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions

Question

3. What strategies might you use?

Answered: 1 week ago