The document discusses input-output (I/O) modules in computers. It explains that I/O modules play a crucial role in allowing communication between a computer's central processing unit (CPU) and external devices. I/O modules connect devices to the computer's system bus and control the exchange of data between devices and main memory or the CPU. They help address issues like differing data formats and speeds between devices and the CPU. The document outlines various I/O techniques like programmed I/O, interrupt-driven I/O, and direct memory access (DMA) that use I/O modules to facilitate input and output.
Introduction to Object-Oriented Programming
Object-Oriented Programming (OOP) is a programming paradigm that organizes software design around data, or objects, rather than functions and logic. It is widely used for developing complex, scalable, and maintainable software systems. The core principles of OOP include encapsulation, abstraction, inheritance, and polymorphism.
Key Concepts of OOP
Encapsulation: This involves bundling data and methods that operate on that data within a single unit, called an object. It helps protect the internal state of an object from external interference23.
Abstraction: This principle focuses on exposing only necessary information while hiding complex details. It allows users to interact with objects without knowing their internal workings23.
Inheritance: This feature enables a new class (subclass) to inherit properties and behaviors from an existing class (superclass), promoting code reuse and hierarchical organization23.
Polymorphism: This allows objects of different classes to be treated as objects of a common superclass. It enables multiple behaviors to be implemented through a common interface23.
Object Technology and Programming Environment
Object Technology: This refers to the use of objects to model real-world entities in software development. It includes classes, objects, inheritance, polymorphism, and encapsulation7.
Programming Environment: OOP is typically supported in class-based languages like Java, Python, and C++. These environments provide tools for designing, developing, and testing object-oriented software
The document discusses input/output (I/O) organization in computers. It describes how the I/O subsystem provides communication between external devices and the central processing system. Common peripheral devices include monitors, keyboards, printers, and magnetic tapes. The document outlines different I/O techniques including programmed I/O, interrupt-driven I/O, and direct memory access. It also discusses I/O interfaces, addressing schemes, and how interrupts work to signal device completion.
Feza BUZLUCA, Bilgisayar Mimarisi Ders Notları, Bölüm 03, Giriş/Çıkış Organizasyonu, Asenkron yol (bellek) erişimi (IO Organization, Asynchronous bus (memory) access)
computer hardware,
Internal Hardware
Processor (CPU)
Motherboard
RAM
Hard Disk Drive
Sound Card
Video Card
Network Card
Power Supply
External Hardware
Monitor or LCD
Keyboard
Mouse
Printer
Scanner
USB Drive
Internal Hardware
Processor (CPU)
Motherboard
RAM
Hard Disk Drive
Sound Card
Video Card
Network Card
Power Supply
External Hardware
Monitor or LCD
Keyboard
Mouse
Printer
Scanner
USB Drive
The document discusses input/output (I/O) problems in computer systems and solutions to those problems. Some key issues addressed are the variety of peripheral devices with different data rates and formats, and the mismatch between peripheral and processor speeds. The document describes I/O modules that interface between the CPU/memory and peripherals. I/O modules handle control, buffering, error detection and allow different I/O techniques like programmed I/O, interrupt-driven I/O and direct memory access (DMA) to transfer data efficiently.
Modes of data transfer.computer architecture. pratikkadam78
This document presents a summary of three modes of data transfer - programmed I/O, interrupt-initiated I/O, and direct memory access (DMA). Programmed I/O uses CPU instructions to monitor data transfer between CPU registers and peripherals. Interrupt-initiated I/O uses interrupts to inform the CPU when devices are ready to transfer data. DMA allows devices to access memory directly using bus request/grant signals, leaving the CPU free to perform other tasks. The document compares the three modes and references additional online sources for information.
The document discusses input/output (I/O) modules in a computer system. I/O modules interface between peripheral devices and the system bus. They contain logic to communicate with different types of peripherals using various techniques, including programmed I/O, interrupt-driven I/O, and direct memory access (DMA). DMA allows large blocks of data to be transferred directly between memory and peripherals without using the processor's bandwidth, improving transfer speeds.
I/O ports allow connection between computers and peripheral devices like keyboards, mice and monitors. There are two main types of ports: serial ports which transmit data one bit at a time, and parallel ports which allow simultaneous transmission of multiple bits of data. Common ports include VGA, DVI, HDMI and USB. Device drivers act as an interface between the operating system and device controllers to allow communication between I/O devices and the CPU. There are three main I/O mechanisms: programmed I/O where the CPU directly controls I/O, interrupts where devices signal the CPU when ready, and DMA which allows hardware subsystems to access memory independently of the CPU.
1. Interrupts allow I/O devices to signal the processor when they need service. This avoids inefficient polling. When an interrupt occurs, the processor saves its state and executes an interrupt service routine before returning to the interrupted program.
2. Multiple devices can generate interrupts by having separate interrupt request lines or a prioritized daisy chain configuration. Interrupt vectors allow the processor to determine which device needs service.
3. Direct memory access (DMA) allows high-speed transfer of blocks of data between I/O devices and memory without processor involvement, improving throughput for large data transfers.
This document discusses different modes of data transfer between a central computer and input/output devices. It describes three main modes: programmed I/O, interrupt-initiated I/O, and direct memory access (DMA). Programmed I/O involves constant CPU monitoring of data transfers. Interrupt-initiated I/O uses interrupts to signal the CPU when a transfer is ready. DMA allows direct transfer between peripherals and memory without using the CPU. The document provides details on how each mode functions and when they may be used.
This document discusses input/output (I/O) organization in computers. It covers several topics:
- I/O devices can connect to the CPU via a single shared bus using memory-mapped I/O. This allows direct reading/writing of device registers via memory addresses.
- Interrupts allow I/O devices to signal the CPU when an event occurs, so it can pause its current task and service the device. Interrupt handling involves disabling interrupts, servicing the device, then re-enabling interrupts.
- Direct memory access (DMA) allows high-speed transfer of large blocks of data directly between I/O devices and memory without CPU involvement, improving performance over interrupt-driven
The document provides an overview of computer architecture and input/output techniques. It defines computer architecture as the set of instructions that describe a computer's organization and implementation. It discusses how I/O modules interface external devices like keyboards and printers to the CPU and memory. There are three main I/O techniques: programmed I/O where the CPU directly controls I/O, interrupt-driven I/O where devices interrupt the CPU when ready, and DMA where devices access memory independently of the CPU to improve efficiency. The document outlines the components and functioning of I/O modules and the various I/O commands used to control peripheral devices.
The document discusses input/output (I/O) organization in computer systems. It describes three common methods for synchronizing data transfers between processors and I/O devices: program-controlled I/O where the processor polls device status, interrupts where devices signal readiness to the processor, and direct memory access where devices transfer data directly to memory. Interrupts allow the processor to perform other tasks while waiting for I/O, and involve saving state before servicing requests. Processors provide interrupt enabling and disabling to control when requests can be accepted.
The document discusses input/output (I/O) organization in a computer system. It describes I/O interfaces that allow communication between internal storage and external devices. Data transfer can occur via programmed I/O, interrupt-initiated I/O, or direct memory access (DMA). DMA allows direct transfer between I/O devices and memory without CPU involvement by using a DMA controller. An I/O processor (IOP) is also described, which is a dedicated processor that handles I/O operations and transfers data between devices and memory.
The operating system acts as an intermediary between the user and computer hardware. Its primary goals are to execute user programs, coordinate access to physical resources like the CPU and memory, and make the computer system convenient to use. The operating system controls and coordinates hardware use among applications and users. It manages resources like CPU time and memory allocation to ensure efficient and fair use between processes. The operating system also protects the system through dual-mode operation separating user programs from kernel programs.
This document summarizes input/output structures and interrupts in a computer system. It describes peripheral devices, interfaces for communication between the CPU and peripherals, and different modes of data transfer including programmed I/O, interrupt-initiated I/O, and direct memory access. It also discusses I/O processors that handle input/output tasks, how interrupts work to signal the CPU when a device needs attention, different types of interrupts, and daisy chaining to determine interrupt priority when multiple devices request service simultaneously.
The document describes how input/output (I/O) devices communicate with the processor and memory. I/O devices are connected to the processor and memory via a shared bus. Each device has a unique address and uses address, data, and control lines on the bus. Interrupts allow I/O devices to signal the processor when they need attention, reducing wasted processor time. Multiple interrupt lines allow different devices to interrupt independently and ensure the correct interrupt service routine is executed.
How to Set warnings for invoicing specific customers in odooCeline George
Odoo 16 offers a powerful platform for managing sales documents and invoicing efficiently. One of its standout features is the ability to set warnings and block messages for specific customers during the invoicing process.
The document discusses input/output (I/O) problems in computer systems and solutions to those problems. Some key issues addressed are the variety of peripheral devices with different data rates and formats, and the mismatch between peripheral and processor speeds. The document describes I/O modules that interface between the CPU/memory and peripherals. I/O modules handle control, buffering, error detection and allow different I/O techniques like programmed I/O, interrupt-driven I/O and direct memory access (DMA) to transfer data efficiently.
Modes of data transfer.computer architecture. pratikkadam78
This document presents a summary of three modes of data transfer - programmed I/O, interrupt-initiated I/O, and direct memory access (DMA). Programmed I/O uses CPU instructions to monitor data transfer between CPU registers and peripherals. Interrupt-initiated I/O uses interrupts to inform the CPU when devices are ready to transfer data. DMA allows devices to access memory directly using bus request/grant signals, leaving the CPU free to perform other tasks. The document compares the three modes and references additional online sources for information.
The document discusses input/output (I/O) modules in a computer system. I/O modules interface between peripheral devices and the system bus. They contain logic to communicate with different types of peripherals using various techniques, including programmed I/O, interrupt-driven I/O, and direct memory access (DMA). DMA allows large blocks of data to be transferred directly between memory and peripherals without using the processor's bandwidth, improving transfer speeds.
I/O ports allow connection between computers and peripheral devices like keyboards, mice and monitors. There are two main types of ports: serial ports which transmit data one bit at a time, and parallel ports which allow simultaneous transmission of multiple bits of data. Common ports include VGA, DVI, HDMI and USB. Device drivers act as an interface between the operating system and device controllers to allow communication between I/O devices and the CPU. There are three main I/O mechanisms: programmed I/O where the CPU directly controls I/O, interrupts where devices signal the CPU when ready, and DMA which allows hardware subsystems to access memory independently of the CPU.
1. Interrupts allow I/O devices to signal the processor when they need service. This avoids inefficient polling. When an interrupt occurs, the processor saves its state and executes an interrupt service routine before returning to the interrupted program.
2. Multiple devices can generate interrupts by having separate interrupt request lines or a prioritized daisy chain configuration. Interrupt vectors allow the processor to determine which device needs service.
3. Direct memory access (DMA) allows high-speed transfer of blocks of data between I/O devices and memory without processor involvement, improving throughput for large data transfers.
This document discusses different modes of data transfer between a central computer and input/output devices. It describes three main modes: programmed I/O, interrupt-initiated I/O, and direct memory access (DMA). Programmed I/O involves constant CPU monitoring of data transfers. Interrupt-initiated I/O uses interrupts to signal the CPU when a transfer is ready. DMA allows direct transfer between peripherals and memory without using the CPU. The document provides details on how each mode functions and when they may be used.
This document discusses input/output (I/O) organization in computers. It covers several topics:
- I/O devices can connect to the CPU via a single shared bus using memory-mapped I/O. This allows direct reading/writing of device registers via memory addresses.
- Interrupts allow I/O devices to signal the CPU when an event occurs, so it can pause its current task and service the device. Interrupt handling involves disabling interrupts, servicing the device, then re-enabling interrupts.
- Direct memory access (DMA) allows high-speed transfer of large blocks of data directly between I/O devices and memory without CPU involvement, improving performance over interrupt-driven
The document provides an overview of computer architecture and input/output techniques. It defines computer architecture as the set of instructions that describe a computer's organization and implementation. It discusses how I/O modules interface external devices like keyboards and printers to the CPU and memory. There are three main I/O techniques: programmed I/O where the CPU directly controls I/O, interrupt-driven I/O where devices interrupt the CPU when ready, and DMA where devices access memory independently of the CPU to improve efficiency. The document outlines the components and functioning of I/O modules and the various I/O commands used to control peripheral devices.
The document discusses input/output (I/O) organization in computer systems. It describes three common methods for synchronizing data transfers between processors and I/O devices: program-controlled I/O where the processor polls device status, interrupts where devices signal readiness to the processor, and direct memory access where devices transfer data directly to memory. Interrupts allow the processor to perform other tasks while waiting for I/O, and involve saving state before servicing requests. Processors provide interrupt enabling and disabling to control when requests can be accepted.
The document discusses input/output (I/O) organization in a computer system. It describes I/O interfaces that allow communication between internal storage and external devices. Data transfer can occur via programmed I/O, interrupt-initiated I/O, or direct memory access (DMA). DMA allows direct transfer between I/O devices and memory without CPU involvement by using a DMA controller. An I/O processor (IOP) is also described, which is a dedicated processor that handles I/O operations and transfers data between devices and memory.
The operating system acts as an intermediary between the user and computer hardware. Its primary goals are to execute user programs, coordinate access to physical resources like the CPU and memory, and make the computer system convenient to use. The operating system controls and coordinates hardware use among applications and users. It manages resources like CPU time and memory allocation to ensure efficient and fair use between processes. The operating system also protects the system through dual-mode operation separating user programs from kernel programs.
This document summarizes input/output structures and interrupts in a computer system. It describes peripheral devices, interfaces for communication between the CPU and peripherals, and different modes of data transfer including programmed I/O, interrupt-initiated I/O, and direct memory access. It also discusses I/O processors that handle input/output tasks, how interrupts work to signal the CPU when a device needs attention, different types of interrupts, and daisy chaining to determine interrupt priority when multiple devices request service simultaneously.
The document describes how input/output (I/O) devices communicate with the processor and memory. I/O devices are connected to the processor and memory via a shared bus. Each device has a unique address and uses address, data, and control lines on the bus. Interrupts allow I/O devices to signal the processor when they need attention, reducing wasted processor time. Multiple interrupt lines allow different devices to interrupt independently and ensure the correct interrupt service routine is executed.
How to Set warnings for invoicing specific customers in odooCeline George
Odoo 16 offers a powerful platform for managing sales documents and invoicing efficiently. One of its standout features is the ability to set warnings and block messages for specific customers during the invoicing process.
Lecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptxArshad Shaikh
*Phylum Arthropoda* includes animals with jointed appendages, segmented bodies, and exoskeletons. It's divided into subphyla like Chelicerata (spiders), Crustacea (crabs), Hexapoda (insects), and Myriapoda (millipedes, centipedes). This phylum is one of the most diverse groups of animals.
This chapter provides an in-depth overview of the viscosity of macromolecules, an essential concept in biophysics and medical sciences, especially in understanding fluid behavior like blood flow in the human body.
Key concepts covered include:
✅ Definition and Types of Viscosity: Dynamic vs. Kinematic viscosity, cohesion, and adhesion.
⚙️ Methods of Measuring Viscosity:
Rotary Viscometer
Vibrational Viscometer
Falling Object Method
Capillary Viscometer
🌡️ Factors Affecting Viscosity: Temperature, composition, flow rate.
🩺 Clinical Relevance: Impact of blood viscosity in cardiovascular health.
🌊 Fluid Dynamics: Laminar vs. turbulent flow, Reynolds number.
🔬 Extension Techniques:
Chromatography (adsorption, partition, TLC, etc.)
Electrophoresis (protein/DNA separation)
Sedimentation and Centrifugation methods.
How to Create A Todo List In Todo of Odoo 18Celine George
In this slide, we’ll discuss on how to create a Todo List In Todo of Odoo 18. Odoo 18’s Todo module provides a simple yet powerful way to create and manage your to-do lists, ensuring that no task is overlooked.
What makes space feel generous, and how architecture address this generosity in terms of atmosphere, metrics, and the implications of its scale? This edition of #Untagged explores these and other questions in its presentation of the 2024 edition of the Master in Collective Housing. The Master of Architecture in Collective Housing, MCH, is a postgraduate full-time international professional program of advanced architecture design in collective housing presented by Universidad Politécnica of Madrid (UPM) and Swiss Federal Institute of Technology (ETH).
Yearbook MCH 2024. Master in Advanced Studies in Collective Housing UPM - ETH
Link your Lead Opportunities into Spreadsheet using odoo CRMCeline George
In Odoo 17 CRM, linking leads and opportunities to a spreadsheet can be done by exporting data or using Odoo’s built-in spreadsheet integration. To export, navigate to the CRM app, filter and select the relevant records, and then export the data in formats like CSV or XLSX, which can be opened in external spreadsheet tools such as Excel or Google Sheets.
Ancient Stone Sculptures of India: As a Source of Indian HistoryVirag Sontakke
This Presentation is prepared for Graduate Students. A presentation that provides basic information about the topic. Students should seek further information from the recommended books and articles. This presentation is only for students and purely for academic purposes. I took/copied the pictures/maps included in the presentation are from the internet. The presenter is thankful to them and herewith courtesy is given to all. This presentation is only for academic purposes.
The insect cuticle is a tough, external exoskeleton composed of chitin and proteins, providing protection and support. However, as insects grow, they need to shed this cuticle periodically through a process called moulting. During moulting, a new cuticle is prepared underneath, and the old one is shed, allowing the insect to grow, repair damaged cuticle, and change form. This process is crucial for insect development and growth, enabling them to transition from one stage to another, such as from larva to pupa or adult.
A measles outbreak originating in West Texas has been linked to confirmed cases in New Mexico, with additional cases reported in Oklahoma and Kansas. The current case count is 817 from Texas, New Mexico, Oklahoma, and Kansas. 97 individuals have required hospitalization, and 3 deaths, 2 children in Texas and one adult in New Mexico. These fatalities mark the first measles-related deaths in the United States since 2015 and the first pediatric measles death since 2003.
The YSPH Virtual Medical Operations Center Briefs (VMOC) were created as a service-learning project by faculty and graduate students at the Yale School of Public Health in response to the 2010 Haiti Earthquake. Each year, the VMOC Briefs are produced by students enrolled in Environmental Health Science Course 581 - Public Health Emergencies: Disaster Planning and Response. These briefs compile diverse information sources – including status reports, maps, news articles, and web content– into a single, easily digestible document that can be widely shared and used interactively. Key features of this report include:
- Comprehensive Overview: Provides situation updates, maps, relevant news, and web resources.
- Accessibility: Designed for easy reading, wide distribution, and interactive use.
- Collaboration: The “unlocked" format enables other responders to share, copy, and adapt seamlessly. The students learn by doing, quickly discovering how and where to find critical information and presenting it in an easily understood manner.
CURRENT CASE COUNT: 817 (As of 05/3/2025)
• Texas: 688 (+20)(62% of these cases are in Gaines County).
• New Mexico: 67 (+1 )(92.4% of the cases are from Eddy County)
• Oklahoma: 16 (+1)
• Kansas: 46 (32% of the cases are from Gray County)
HOSPITALIZATIONS: 97 (+2)
• Texas: 89 (+2) - This is 13.02% of all TX cases.
• New Mexico: 7 - This is 10.6% of all NM cases.
• Kansas: 1 - This is 2.7% of all KS cases.
DEATHS: 3
• Texas: 2 – This is 0.31% of all cases
• New Mexico: 1 – This is 1.54% of all cases
US NATIONAL CASE COUNT: 967 (Confirmed and suspected):
INTERNATIONAL SPREAD (As of 4/2/2025)
• Mexico – 865 (+58)
‒Chihuahua, Mexico: 844 (+58) cases, 3 hospitalizations, 1 fatality
• Canada: 1531 (+270) (This reflects Ontario's Outbreak, which began 11/24)
‒Ontario, Canada – 1243 (+223) cases, 84 hospitalizations.
• Europe: 6,814
In this concise presentation, Dr. G.S. Virdi (Former Chief Scientist, CSIR-CEERI, Pilani) introduces the Junction Field-Effect Transistor (JFET)—a cornerstone of modern analog electronics. You’ll discover:
Why JFETs? Learn how their high input impedance and low noise solve the drawbacks of bipolar transistors.
JFET vs. MOSFET: Understand the core differences between JFET and MOSFET devices.
Internal Structure: See how source, drain, gate, and the depletion region form a controllable semiconductor channel.
Real-World Applications: Explore where JFETs power amplifiers, sensors, and precision circuits.
Perfect for electronics students, hobbyists, and practicing engineers looking for a clear, practical guide to JFET technology.
How to Add Customer Note in Odoo 18 POS - Odoo SlidesCeline George
In this slide, we’ll discuss on how to add customer note in Odoo 18 POS module. Customer Notes in Odoo 18 POS allow you to add specific instructions or information related to individual order lines or the entire order.
How to Manage Purchase Alternatives in Odoo 18Celine George
Managing purchase alternatives is crucial for ensuring a smooth and cost-effective procurement process. Odoo 18 provides robust tools to handle alternative vendors and products, enabling businesses to maintain flexibility and mitigate supply chain disruptions.
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18Celine George
In this slide, we’ll discuss on how to clean your contacts using the Deduplication Menu in Odoo 18. Maintaining a clean and organized contact database is essential for effective business operations.
How to Configure Scheduled Actions in odoo 18Celine George
Scheduled actions in Odoo 18 automate tasks by running specific operations at set intervals. These background processes help streamline workflows, such as updating data, sending reminders, or performing routine tasks, ensuring smooth and efficient system operations.
Happy May and Happy Weekend, My Guest Students.
Weekends seem more popular for Workshop Class Days lol.
These Presentations are timeless. Tune in anytime, any weekend.
<<I am Adult EDU Vocational, Ordained, Certified and Experienced. Course genres are personal development for holistic health, healing, and self care. I am also skilled in Health Sciences. However; I am not coaching at this time.>>
A 5th FREE WORKSHOP/ Daily Living.
Our Sponsor / Learning On Alison:
Sponsor: Learning On Alison:
— We believe that empowering yourself shouldn’t just be rewarding, but also really simple (and free). That’s why your journey from clicking on a course you want to take to completing it and getting a certificate takes only 6 steps.
Hopefully Before Summer, We can add our courses to the teacher/creator section. It's all within project management and preps right now. So wish us luck.
Check our Website for more info: https://ldmchapels.weebly.com
Get started for Free.
Currency is Euro. Courses can be free unlimited. Only pay for your diploma. See Website for xtra assistance.
Make sure to convert your cash. Online Wallets do vary. I keep my transactions safe as possible. I do prefer PayPal Biz. (See Site for more info.)
Understanding Vibrations
If not experienced, it may seem weird understanding vibes? We start small and by accident. Usually, we learn about vibrations within social. Examples are: That bad vibe you felt. Also, that good feeling you had. These are common situations we often have naturally. We chit chat about it then let it go. However; those are called vibes using your instincts. Then, your senses are called your intuition. We all can develop the gift of intuition and using energy awareness.
Energy Healing
First, Energy healing is universal. This is also true for Reiki as an art and rehab resource. Within the Health Sciences, Rehab has changed dramatically. The term is now very flexible.
Reiki alone, expanded tremendously during the past 3 years. Distant healing is almost more popular than one-on-one sessions? It’s not a replacement by all means. However, its now easier access online vs local sessions. This does break limit barriers providing instant comfort.
Practice Poses
You can stand within mountain pose Tadasana to get started.
Also, you can start within a lotus Sitting Position to begin a session.
There’s no wrong or right way. Maybe if you are rushing, that’s incorrect lol. The key is being comfortable, calm, at peace. This begins any session.
Also using props like candles, incenses, even going outdoors for fresh air.
(See Presentation for all sections, THX)
Clearing Karma, Letting go.
Now, that you understand more about energies, vibrations, the practice fusions, let’s go deeper. I wanted to make sure you all were comfortable. These sessions are for all levels from beginner to review.
Again See the presentation slides, Thx.
Rock Art As a Source of Ancient Indian HistoryVirag Sontakke
This Presentation is prepared for Graduate Students. A presentation that provides basic information about the topic. Students should seek further information from the recommended books and articles. This presentation is only for students and purely for academic purposes. I took/copied the pictures/maps included in the presentation are from the internet. The presenter is thankful to them and herewith courtesy is given to all. This presentation is only for academic purposes.
Rock Art As a Source of Ancient Indian HistoryVirag Sontakke
Ad
UNIT 5 INPUT OUTPUT.pptx computer
1. 03/15/2025 1
Ms. Deepshikha Rai
Department of MCA
Computer Organization and Architecture (BMC
105)
Unit - 5
INPUT/OUTPUT
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College
2. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 2
Introduction to Input-Output Interface
Input-Output Interface: The method that is used to transfer information between internal storage
and external I/O devices is known as I/O interface
A peripheral device is that which provide input and output for the computer, it is also called Input-
Output devices. For Example: A keyboard and mouse provide Input to the computer are called input
devices while a monitor and printer that provide output to the computer are called output
devices.
Just like the external hard-drives, there is also availability of some peripheral devices which are
able to provide both input and output.
3. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 3
Input-Output Interface
The nature of peripheral devices is
electromagnetic and electro-mechanical.
The nature of the CPU is electronic. There
is a lot of difference in the mode of
operation of both peripheral devices and
CPU.
There is a special need of the additional
hardware to resolve the differences
between CPU and peripheral devices to
supervise and synchronize all input and
output devices.
4. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 4
Functions of Input-Output
Interface:
1. It is used to synchronize the operating speed of CPU with
respect to input-output devices.
2. It selects the input-output device which is appropriate for the
interpretation of the input-output device.
3. It is capable of providing signals like control and timing signals.
4. In this data buffering can be possible through data bus.
5. There are various error detectors.
6. It converts serial data into parallel data and vice-versa.
7. It also convert digital data into analog signal and vice-versa.
5. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 5
Input Output Ports
Ports: The connection point acts as an interface between the computer and external devices
like printers, modems, etc
There are two types of ports :
Internal Port: It connects the system’s motherboard to internal devices like hard disk, CD drive,
internal Bluetooth, etc.
External Port: It connects the system’s motherboard to external devices like a mouse, printer,
USB, etc.
6. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 6
Types of Computer Ports
There are different types
of ports available:
1. Serial port
2. Parallel port
3. USB port
4. PS/2 port
5. VGA port
6. Modem port
Sockets
Infrared Port
Game Port
Digital Video Interface(DVI) Port
Ethernet Port
7.FireWire Port
8. Sockets
9. Infrared Port
10. Game Port
11. Digital Video Interface(DVI) Port
12. Ethernet Port
8. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 8
Interrupts
An interrupt is a signal emitted by hardware or software when a process or an
event needs immediate attention.
It alerts the processor to a high-priority process requiring interruption of
the current working process.
In I/O devices, one of the bus control lines is dedicated for this purpose and is
called the Interrupt Service Routine (ISR).
When a device raises an interrupt at the process, the processor first
completes the execution of an instruction. Then it loads the Program
Counter (PC) with the address of the first instruction of the ISR. Before
loading the program counter with the address, the address of the
interrupted instruction is moved to a temporary location. Therefore, after
handling the interrupt, the processor can continue with the process.
9. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 9
Interrupts
While the processor is handling the interrupts,
it must inform the device that its request has
been recognized to stop sending the interrupt
request signal. Also, saving the registers so that
the interrupted process can be restored in the
future increases the delay between the time an
interrupt is received and the start of the
execution of the ISR. This is called Interrupt
Latency.
10. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 10
A single computer can perform only one computer instruction at a time. But,
because it can be interrupted, it can manage how programs or sets of
instructions will be performed.
This is known as multitasking. It allows the user to do many different things
simultaneously, and the computer turns to manage the programs that the user
starts. Of course, the computer operates at speeds that make it seem like all
user tasks are being performed simultaneously.
11. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 11
Types of Interrupt
Interrupt signals may be issued in response to hardware or software events.
These are classified as hardware interrupts or software interrupts,
respectively.
12. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 12
1. Hardware Interrupts
A hardware interrupt is a condition related to the state of the hardware that may be signaled by an
external hardware device, e.g., an interrupt request (IRQ) line on a PC, or detected by devices
embedded in processor logic to communicate that the device needs attention from the operating
system. For example, pressing a keyboard key or moving a mouse triggers hardware interrupts that
cause the processor to read the keystroke or mouse position.
13. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 13
2. Software Interrupts
The processor requests a software interrupt upon executing particular instructions or when
certain conditions are met. Every software interrupt signal is associated with a particular
interrupt handler.
A software interrupt may be intentionally caused by executing a special instruction that invokes
an interrupt when executed by design. Such instructions function similarly to subroutine calls
and are used for various purposes, such as requesting operating system services and interacting
with device drivers.
15. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 15
1. Polling
Polling is a method of controlling the access to a transmission medium
which is shared by a number of stations.
In polling, the first device encountered with the IRQ bit set is to be serviced
first, and appropriate ISR is called to service the same. It is easy to
implement, but a lot of time is wasted by interrogating the IRQ bit of all
devices.
2. Vectored Interrupts
In vectored interrupts, a device requesting an interrupt identifies itself
directly by sending a special code to the processor over the bus. This enables
the processor to identify the device that generated the interrupt. The special
code can be the starting address of the ISR or where the ISR is located in
memory and is called the interrupt vector.
16. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 16
3. Interrupt Nesting
In this method, the I/O device is organized in a priority structure. Therefore,
an interrupt request from a higher priority device is recognized, whereas a
lower priority device is not. The processor accepts interrupts only from
devices/processes having priority more than it.
Processors priority is encoded in a few bits of PS (Process Status register), and
it can be changed by program instructions that write into the PS. The
processor is in supervised mode only while executing OS routines, and it
switches to user mode before executing application programs.
17. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 17
Mode of data Transfer:
The binary information that is received from an external device is usually
stored in the memory unit.
The information that is transferred from the CPU to the external device is
originated from the memory unit.
CPU merely processes the information but the source and target is always the
memory unit.
Data transfer between CPU and the I/O devices may be done in different
modes.
18. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 18
Data transfer to and from the peripherals may be done in any of the three
possible ways
1. Programmed I/O.
2. Interrupt- initiated I/O.
3. Direct memory access( DMA).
19. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 19
1. Programmed I/O: It is due to the result of the I/O instructions that are
written in the computer program. Each data item transfer is initiated by an
instruction in the program. Usually the transfer is from a CPU register and
memory. In this case it requires constant monitoring by the CPU of the
peripheral devices.Example of Programmed I/O: In this case, the I/O device
does not have direct access to the memory unit. A transfer from I/O device to
memory requires the execution of several instructions by the CPU
20. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 20
2. Interrupt- initiated I/O: Since in the above case we saw the CPU is kept
busy unnecessarily. This situation can very well be avoided by using an
interrupt driven method for data transfer. By using interrupt facility and
special commands to inform the interface to issue an interrupt request signal
whenever data is available from any device. In the meantime the CPU can
proceed for any other program execution.
Note: Both the methods programmed I/O and Interrupt-driven I/O require the
active intervention of the
processor to transfer data between memory and the I/O module
21. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 21
Direct Memory Access(DMA)
DMA is a method that allows an I/O devices directly to or from
the main memory bypassing the CPU to speed up memory
operation.
The process is managed by Chip know as a DMA
controller(DMAC).
DMA Controller is a hardware device that allows I/O devices to
directly access memory with less participation of the processor.
DMA controller needs the same old circuits of an interface to
communicate with the CPU and Input/Output devices.
It gets 4 parameters.
1) Source Address
2) Destination Address
3) Byte Count
4) Read/Write
23. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 23
DMA:
Fig-1 below shows the block diagram of the DMA controller.
The unit communicates with the CPU through data bus and control lines. Through the use of the
address bus and allowing the DMA and RS register to select inputs, the register within the DMA is
chosen by the CPU.
RD and WR are two-way inputs. When BG (bus grant) input is 0, the CPU can communicate with DMA
registers. When BG (bus grant) input is 1, the CPU has relinquished the buses and DMA can
communicate directly with the memory.
The DMA controller has three registers as follows.
Address register – It contains the address to specify the desired location in memory.
Word count register – It contains the number of words to be transferred.
Control register – It specifies the transfer mode.
24. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 24
DMA:
Explanation :
The CPU initializes the DMA by sending the given information through the data bus.
The starting address of the memory block where the data is available (to read) or where
data are to be stored (to write).
It also sends word count which is the number of words in the memory block to be read or
write.
Control to define the mode of transfer such as read or write.
A control to begin the DMA transfer.
25. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 25
DMA:
Bus Request : It is used by the DMA controller
to request the CPU to relinquish the control of
the buses.
Bus Grant : It is activated by the CPU to
Inform the external DMA controller that the
buses are in high impedance state and the
requesting DMA can take control of the buses.
Once the DMA has taken the control of the
buses it transfers the data. This transfer can
take place in many ways.
26. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 26
Serial Communication
Serial communication is the process of sequentially transferring the
information/bits on the same channel. Due to this, the cost of wire
will be reduced, but it slows the transmission speed. Generally,
communication can be described as the process of interchanging
information between individuals in the form of audio, video, verbal
words, and written documents.
In serial communication, binary pulses are used to show the data.
Binary contains the two numbers 0 and 1. 0 is used to show the LOW
or 0 Volts, and 1 is used to show the HIGH or 5 Volts.
The serial communication can either be asynchronous or
synchronous.
27. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 27
1. Synchronous Communication
In synchronous communication, the frames or data will be constructed with the help of
combining the groups of bits. That frames will be continuously sent in time with a master
clock. It uses a synchronized clock frequency to operate the data of sender or receiver. In
synchronous communication, there is no need to use the gaps, start bits and stop bits.
28. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 28
2. Asynchronous Communication
In asynchronous communication, the groups of bits will be treated as an independent unit,
and these data bits will be sent at any point in time. In order to make synchronization
between sender and receiver, the stop bits and start bits are used between the data bytes.
These bits are useful to ensure that the data is correctly sent. The time taken by data bits
of sender and receiver is not constant, and the time between transmissions will be provided
by the gaps.
29. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 29
Serial Communication
On the basis of the data transfer rate and the
type of transmission mode, serial
communication will take many forms. The
transmission mode can be classified into
1. simplex
2. half-duplex
3. full-duplex
Each transmission mode contains the source,
also known as sender or transmitter, and
destination, also known as the receiver.
30. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 30
1. Simplex
In the simplex method, the data
transmission can be performed
only in one direction. At a time,
only one client (either sender or
receiver) can be active.
Example 1:
Printers and computers are one
more example of the simplex.
Computers always send data to the
printers, but printers are not able
to send the data to the computers
31. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 31
2. Half Duplex
In the half-duplex, the sender and
receiver can communicate in both
directions, but not at the same
time.
Example: Walkie-talkie is also a
classic example of half-duplex.
32. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 32
3. Full Duplex
In the full-duplex, the sender and the
receiver are able to send and receive at the
same time. The communication mode of full-
duplex is widely used in the world.
Example: Audio calling or Video calling is
also an example of full-duplex.
Telephone Network is a good example of
full-duplex mode
33. 03/15/2025
Ms. Deepshikha Rai Asst. Prof. IMS Engineering College 33
Parallel communication
Parallel communication is used to transmit a
huge amount of data signals simultaneously on
the different channels within the same radio path
or cable at a time.
It is used to comprise a huge amount of wired
channels in parallel. In parallel communication,
the data transfer between sender and receiver is
done with the help of multiple channels.
The data bus in the parallel devices is wider as
compared to the serial devices.