GATE CSE · 2023 · CS
Question 34: Computer Organization and Architecture
Give it a try, then reveal the answer to check your work.
Question 34
CSNAT1 markNeeds review
A keyboard connected to a computer is used at a rate of 1 keystroke per second. The computer system polls the keyboard every 10 ms (milli seconds) to check for a keystroke and consumes 100
s (micro seconds) for each poll. If it is determined after polling that a key has been pressed, the system consumes an additional 200
s to process the keystroke. Let
denote the fraction of a second spent in polling and processing a keystroke.In an alternative implementation, the system uses interrupts instead of polling. An interrupt is raised for every keystroke. It takes a total of 1 ms for serving an interrupt and processing a keystroke. Let
denote the fraction of a second spent in serving the interrupt and processing a keystroke.The ratio
is ______. (Rounded off to one decimal place)Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerEXPLORE & PRACTISE
Paper and topic context
See where this question comes from and choose what to practise next.
2023CS
GATE CSE 2023 · Paper 1
Computer Science and Information Technology · Original paper archive
- Section
- Computer Science and Information Technology
- Question type
- Numerical answer (NAT)
- Marks
- 1 mark
Practise related topics
Explore more previous year questions using this question’s imported topic tags.
computer science
GATE CSE previous year questions
information technology
GATE CSE previous year questions
computing
GATE CSE previous year questions
computer organization and architecture
GATE CSE previous year questions
Comments
Ask a question, share your approach, or help someone understand.
Log in to view the discussion
You’re not logged in. Log in or create an account to see discussions and add comments.