Question

In: Computer Science

How do peripheral devices interact with the operating system to provide input and output? Discuss it...

How do peripheral devices interact with the operating system to provide input and output? Discuss it in
detail.

please do not copy and paste it from the internet.

Solutions

Expert Solution

Defenitions: To know the concept of the "How do peripheral devices interact with the operating system to provide input and output?" , we have to first know what is peripheral devices, how's it works and their protocols and what is Operating System.

Peripheral Devices:

  • A peripheral device, also sometimes called an auxiliary device.
  • Input output devices attached to the computer are called peripheral device.
  • There are three types of peripheral devices"
  1. input
  2. output
  3. input-output
  • peripheral may be Anolog Or Digital and serial or parallel.
  • A peripheral device is a device that is connected to a computer/ but is not part of the core computer architecture. The core elements of a computer are the central processing unit, power supply, motherboard and the computer case that contains those three components.
  • A peripheral device is any connected device, internal or external, that provides a computer with additional.
  • examples: monitor and printer.keyboard, magnetic tape etc.

Protocols:

  • Each peripheral is programmed with its own machine code. Each has its own rules that dictate how it transmits data values between the computer and the device. These rules make up a protocol for controlling and communicating with the device.

The OS uses programs called device drivers to manage connections with peripherals.

A device driver:

  • A device driver handles the translation of requests between a device and the computer
  • A device driver defines where a process must put outgoing data before it can be sent, and where incoming messages will be stored when they are received
  • A device driver wakes up the device when it is needed and put it back to sleep when it is not.

Operating system(OS):

An operating system is software that manages computer hardware and software. It supplies an interface for the user and important utilities for managing the computer.

How do peripheral devices interact with the operating system to provide input and output:

  • An OS have generic device drivers to enable it to connect to most common peripherals. Some peripherals, however, will have their own drivers that need to be installed before use.
  • Peripherals that use the same protocol may be controlled by the same driver. If a number of identical game controllers are plugged in, each device will store its data in a different place so they do not interfere with each other.

The input-output (I/O) organization of a computer is a function ,the size of computer and the devices connected to it.

Input-output interface:

  • its provides the method for transferring the information between internal storage and external input-output devices.
  • Peripherals connected to computer need special connection link for interfacing them with the CPU.
  • Computer system include special H/W CPU and Peripherals to supervise and synchronize all I/O transfer ,these component called interface units.


Related Solutions

describe the features of input and output devices and explain considerations for selecting the devices to...
describe the features of input and output devices and explain considerations for selecting the devices to meet individual needs My major is rehabilitation services. the class is assistuve technology. the book is assistive technology for people with disabilities
1. Discuss the autonomic nervous system and its parts. a.   How do the two parts interact...
1. Discuss the autonomic nervous system and its parts. a.   How do the two parts interact with one another? b.   What chemicals are involved with the two systems? 2. A new graduate nurse has come to the neurologic unit. It is her first day and she has full of questions. She comes to you and wants to know the classifications of level of consciousness (LOC) as it relates to assessing a client. She wants to know what the levels mean...
For the following system provide the input and output variables. Justify. *One Gadget in your home...
For the following system provide the input and output variables. Justify. *One Gadget in your home *An example of a socio-economic system *One system that you are using as a part of your work
x[n] is the input of a system and y[n] is the output of the system. The...
x[n] is the input of a system and y[n] is the output of the system. The relationship between the input and output is the following: y[n] = x[n]u[n+1] a) Is the system memoryless? Just yes or no is sufficient. b) Is this system causal? Just yes or no is sufficient. c) Is the system linear? Just yes or no is sufficient. d) Is the system time invariant? Justify. e) Is the system BIBO stable? Justify. f) Is the system invertible?...
In what ways do are legal system and are healthcare system interact?
In what ways do are legal system and are healthcare system interact?
How does the endocrine system interact with the nervous system?
How does the endocrine system interact with the nervous system?
How do interruptions and incessant input from your electronic devices impair your ability to listen to...
How do interruptions and incessant input from your electronic devices impair your ability to listen to yourself and to the thinking and reflection of others?
how does the endocrine interact with the digestive system?
how does the endocrine interact with the digestive system?
kindly provide the pros and con allong with their properties such as input impedence and output...
kindly provide the pros and con allong with their properties such as input impedence and output impedence , no derivations just knwoledge of the following op amps 1-inverting amplifier 2-non-inverting 3-summer amplifier 4-voltage follower 5-op amp difference amplifier 6-integrator op amp 7- differentiator op amp.
The operating system offers a graphical vs command line user interface to interact with an electronic...
The operating system offers a graphical vs command line user interface to interact with an electronic device. Compare the graphical user interface and the command line interface in terms of speed, remote access, resource utilization, multitasking, and control.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT