Unit 1 IOT Notes - 230310 - 110052
Unit 1 IOT Notes - 230310 - 110052
● Any computer can perform the four basic operations of Input, Processing,
Output, and Storage (IPOS). These operations constitute the IPOS cycle.
● The internal design or structure of a computer may differ from one system
to another though the basic operations remain the same.
● Figure provides a block diagram of a computer. The figure displays all the
functional units of a computer which carry out the basic computer
operations.
● The lines in the figure indicate the flow of instructions and data, while the
Control Unit and the Arithmetic/Logical Unit together direct the flow of
control in the central processing unit.
Input Unit
● Data and instructions are entered into the computer through the input
unit to get processed into information.
● Input devices like the keyboard, the mouse, or the microphone are used to
enter the data.
● The data is entered in various forms depending on the type of input
devices. For instance, a keyboard can be used to input characters,
numbers, and certain symbols; a mouse is a device that has an on-screen
pointer that enables the users to select items and choose options; a
microphone can be used if the user wishes to enter instructions by making
a voice entry.
● Regardless of the ways in which the input devices receive the inputs, the
input interfaces convert them into binary codes, i.e., 0s and 1s, as the
Processors
Some computers use more than one processor for processing in order to reduce
the load on a single processor.
Output Unit
● The output unit passes on the final results of computation to the users
through the output devices like the monitor, printer, etc.
● A monitor displays the final results of the processed data on the screen
while a printer can be used for obtaining the output in a printed format.
● These output devices link the computer with the users. The output
interfaces convert the binary code produced by the computer into the
human-readable form.
Storage Unit
● Before the actual processing takes place, the data and instructions that
enter the computer system have to be stored internally. Also, the final
1. Micro Computers:
The smallest among them are micro computers. They are small in physical size
(most of them are desktop system; however, notebook micro computers that can
fit into a briefcase are also available). They are economical in terms of costs and
are friendly in use. Personal computers (PCs) fall into this category.
These computers can be used for small data processing jobs of bigger
companies or serve as complete computer systems for small firms. PC can also
be connected with bigger computers and be used as an intelligent terminal to a
bigger computer. The details regarding their applications in business are
included in the last section of this topic.
2. Mini computers:
Mini computers are very popular among medium sized companies. Mini
computers offer facilities for faster processing of voluminous information. Mini
computers, of course, are bigger than microcomputers but smaller than most of
their elders called mainframes.
They cost somewhere between Rs. 5 to 15 lac depending upon the configuration.
However, these prices are only indicative and are subject to substantial changes
over time. The mini computers like VAX 8000 series from Digital Equipment
Corporation (DEC) and AS/400 series from IBM have been quite popular in
computer aided manufacturing, as well as departmental computers.
They have also been used extensively as gateways between mainframe networks
and as main servers for local area networks of microcomputers.
3. Mainframes:
Mainframes are bigger computers, capable of handling data processing needs of,
say, head office of a bank, or a big multinational company or may be a public
utility office. Mainframe computer systems have larger storage and the speed of
processing is also very high.
They also offer the advantage of wider choice with regard to up-gradation of the
system in future. They offer features such as parallel processing. The parallel
processing involves combining a large number of processors that break down an
application into many separate parts in order to enhance processing speed.
The speed of processing is expressed in terms of 10 to 100 millions of instructions
per second (MIPS), and cost somewhere between 1 to 5 million dollars depending
upon the configuration. IBM still holds almost 80 per cent of mainframe market
with its popular mainframe series IBM System 390.
The mainframe popularity has fallen due to emergence of micro computers and
popularity of client server technology. However, they still find niche markets in
large volume data processing requirements such as central database servers.
Super computers are on the higher end of mainframe computers. They offer
tremendous computing power and are being used primarily in scientific research
and forecasting. For example, Cray T3E-900 series of computers are packed with
computing powers that are incomparable to any big mainframe.
4. Supercomputers:
Supercomputers have a speed of between 100 to 900 MIPS. They are quite
expensive and cost somewhere around 10-30 million dollars depending upon the
configuration. The other competitors of Cray supercomputers are machines from
NEC of Japan.
The above differences are primarily on the basis of three basic factors, namely,
1. The primary storage capacity,
2. Speed of processing data, and
3. Ability to support different input, output and mass storage devices
such as printers, tape drives, etc.
These features are inter-dependent and faster computers will ordinarily have
large memory sizes and shall have facility to use a large number of sophisticated
input-output devices. The speed of a computer system depends, partly, on the
memory size, and the number and type of input-output devices connected to it.
The lines of demarcation between these categories of computers are very thin.
As may be noticed from Fig, there are common areas between two adjoining
rectangles. These areas represent the fact that the higher end of smaller
computer system may have the capacities equivalent to lower end of bigger
computer system.
The distinctions are changing and some of them are fast .dying out as a result of
advancements in hardware technologies. In each category, the buyer has many
configuration options. With increasing competition, sellers are falling on one
another trying to sell configurations as high as possible to push up their
revenues.
The innovations like parallel processing using cheaper PC platforms are cutting
into the mainframe market. Such parallel processing involves combining of
hundreds of processors that break down an application into many parts in order
to enhance the processing speed.
BUS INTERCONNECTION
BUS STRUCTURE
1. Data line
2.Address line
3.Control line
1. DATA LINE
● Number of line in the bus determine the data rate and overall the
system performance
2. ADDRESS LINE
● Used to designate the source or destination of the data on the data bus
● The width of the address bus determines the maximum possible
memory capacity of the system.
3. Control line
● Used to control the access to and the use of the data and address lines
● Since the data and the address line shared by all the components, there
must be a means of controlling their use
● Control signal transmit both commands and timing information
between the modules
● Typical control lines include
1. Memory write
2. Memory read
3. I/O write
4. I/O read
5. Clock
6. Reset
7. Bus request
8. Bus grant
9. Interrupt request
10. Interrupt ACK
11. Transfer ACK
Function of PCI :
● PCI slots are utilized to install sound cards, Ethernet and remote cards
and presently strong state drives utilizing NVMe innovation to supply
SSD drive speeds that are numerous times speedier than SATA SSD
speeds. PCI openings too permit discrete design cards to be included to
a computer as well.
● PCI openings (and their variations) permit you to include expansion
cards to a motherboard. The extension cards increment the machines
capabilities past what the motherboard may create alone, such as:
upgraded illustrations, extended sound, expanded USB and difficult
drive controller, and extra arrange interface options, to title a couple of.
Advantage of PCI :
Instruction Cycle
A program residing in the memory unit of a computer consists of a sequence
of instructions. These instructions are executed by the processor by going
through a cycle for each instruction.
In a basic computer, each instruction cycle consists of the following phases:
1. Fetch instruction from memory.
2. Decode the instruction.
3. Read the effective address from memory.
4. Execute the instruction.
Interrupts
Hardware Interrupts:
In a hardware interrupt, all the devices are connected to the Interrupt
Request Line. A single request line is used for all the n devices. To request an
interrupt, a device closes its associated switch. When a device requests an
interrupt, the value of INTR is the logical OR of the requests from individual
devices.
● Polling: In polling, the first device encountered with the IRQ bit set is
the device that is to be serviced first. 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.
● 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.
● 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 request from a lower priority device is
not. The processor accepts interrupts only from devices/processes
having priority.
Types of Interrupts:
Although interrupts have highest priority than other signals, there are many
type of interrupts but basic type of interrupts are