input/ output by mohit sehgal. what is input/output of a computer? connection with machine every...
TRANSCRIPT
![Page 1: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/1.jpg)
Input/ OutputBy Mohit Sehgal
![Page 2: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/2.jpg)
What is Input/Output of a Computer?
• Connection with Machine
• Every machine has I/O (Like a function)
• In computing, input/output, or I/O, refers to the communication between an information processing system (such as a computer), and the outside world possibly a human, or another information processing system.
![Page 3: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/3.jpg)
KeyboardUses an arrangement of buttons or keys,
to act as mechanical levers or electronic switches.
![Page 4: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/4.jpg)
MousePointing device that functions by
detecting two-dimensional motion relative to its supporting surface
![Page 5: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/5.jpg)
Types of I/O
•Interrupt I/O
•Programmed I/O
•DMA I/O (Direct Memory Access)
![Page 6: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/6.jpg)
Interrupt I/O
In computing, an interrupt is an asynchronous signal indicating the need for attention or a synchronous event in software indicating the need for a change in execution.
![Page 7: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/7.jpg)
Interrupt I/O
• CPU does not need to wait
• I/O Module interrupts when it is ready
![Page 8: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/8.jpg)
Programmed I/O
Method of transferring data between the CPU and a peripheral such as a network adapter or an ATA storage device
Happens when software running on the CPU uses instructions that access I/O address space
![Page 9: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/9.jpg)
Programmed I/O
CPU has control over the I/O
Downfall:
Uses a lot of CPU time
![Page 10: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/10.jpg)
Direct Memory Access I/ORefers to data transfers initiated by a
device to access system memoryAllows certain hardware subsystems
within the computer to access system memory for reading and/or writing independently of the central processing unit
![Page 11: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/11.jpg)
DMA I/ODMA controller takes over from CPU for I/O
DMA takes the load from the CPU
![Page 12: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/12.jpg)
Input/ Output ProcessCPU checks I/O module device statusI/O then returns its statusCPU requests data transfer if I/O is readyI/O module gets data from deviceTransfers it to CPUOutput
![Page 13: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/13.jpg)
![Page 14: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/14.jpg)
Input Output I/O are getting more advancedNow I/O are doing the entire transferThis takes the strain off of CPU
![Page 15: Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649e7a5503460f94b7adf0/html5/thumbnails/15.jpg)
Future of I/O