Lecture 1
Lecture 1
INTRODUCTION TO COMPUTER
NETWORKS
Books
References
Andrew S. Tanenbaum, Computer Network,
Prentice-Hall
Data Communication And Networking ,Forouzan
Doughlas E. Comer, Computer Networks and
Internet
http://www.cisco.com/public/support/tac/documenta
tion.html
http://home.iitk.ac.in/~navi/sidbinetworkcourse
Communications
• Communications
– The message (data and information) is
communicated via the signal
– The transmission medium “carries” the signal
Transmission
medium
Schematic
Data Communications
• Data communications
– A specialized subset of telecommunications
that refers to the electronic collection,
processing, and distribution of data -- typically
between computer system hardware devices
Computer Network
• Computer network…
– The communications media, devices, and
software needed to connect two or more
computer systems and/or devices
– Used to share hardware, programs, and
databases across the organization
– Fosters teamwork, innovative ideas, and new
business strategies
Terminology
• Analog Signal
– A continuous, curving signal
• Digital Signal
– A signal represented by bits
• Modems
– Devices that translate data from digital to
analog and analog to digital
Analog /Digital
• Almost everything in the world can be described or represented in one of two forms:
analog or digital.
• The principal feature of analog representations is that they are continuous. In
contrast, digital representations consist of values measured at discrete intervals.
• Describes any system based on discontinuous data or events.Computers are digital
machines because at their most basic level they can distinguish between just two
values, 0 and 1, or off and on. There is no simple way to represent all the values in
between,such as 0.25. All data that a computer processes must be encoded
digitally, as a series of zeroes and ones.
• Digital watches are called digital because they go from one value to the next
without displaying all intermediate values. Consequently,they can display only a
finite number of times of the day. In contrast, watches with hands are analog,
because the hands move continuously around the clock face. As the minute hand
goesaround, it not only touches the numbers 1 through 12, but also the infinite
number of points in between.
Analog /Digital
• Although digital representations are approximations of analog events,
they are useful because they are relatively easy to store and manipulate
electronically. The trick is in converting from analog to digital, and back
again.
• This is the principle behind compact discs (CDs). The music itself exists
in an analog form, as waves in the air, but these sounds are then
translated into a digital form that is encoded onto the disk When you play
a compact disc, the CD player reads the digital data,translates it back into
its original analog form, and sends it to the amplifier and eventually the
speakers.
• Internally, computers are digital because they consist of discrete units
called bits that are either on or off. But by combining many bits in complex
ways, computers simulate analog events. In one sense, this is what
computer science is all about.
How a Modem Works
• Modem
– Modulates a digital signal into an analog
signal for transmission via analog medium,
then demodulates the signal into digital for
receiving
Pretty picture
Modem
Parallel Serial
Synchronous Asynchronous
Serial and Parallel
Communication
• In telecommunication and computer science, serial
communication is the process of sending data one bit at a time,
sequentially, over a communication channel. This is in contrast to
parallel communication, where several bits are sent together, on a
link with several parallel channels.
• Serial communication is used for all long-distance communication
and most computer networks, where the cost of cable and
synchronization difficulties make parallel communication impractical.
• Serial computer buses are becoming more common even at shorter
distances, as improved signal integrity(entire) and transmission
speeds in newer serial technologies have begun outweigh the
parallel bus's advantage of simplicity.
Comparison with serial links
Before the development of high-speed serial technologies, the choice of parallel links
over serial links was driven by these factors:
• Speed: Superficially, the speed of a parallel data link is equal to the number of bits
sent at one time times the bit rate of each individual path; doubling the number of bits
sent at once doubles the data rate.So paraleel transmission is a speedy way of
transmitting data.
• Cable length: Crosstalk creates interference between the parallel lines, and the effect
worsens with the length of the communication link. This places an upper limit on the
length of a parallel data connection that is usually shorter than a serial connection.
• Parallel transmission is used for short distance communication.
• Parallel transmission is costly method of data transmission.
Modes of Serial
Communication:
• Two modes of operation:
– asynchronous: transmitter and receiver clocks are
independent
– synchronous: transmitter and receiver are
synchronized
• Asynchronous Transmission
• In asynchronous transmission, data is transmitted one byte at a
‘time’. This type of transmission is most commonly used by
microcomputers. The data is transmitted character-by-character as
the user types it on a keyboard.
• An asynchronous line that is idle (not being used) is identified with a
value 1, also known as ‘Mark’ state or stop state. This value is used
by the communication devices to find whether the line is idle or
disconnected. When a character (or byte) is about to be transmitted,
a start bit is sent. A start bit has a value of 0, also called a space
state or start state. Thus, when the line switches from a value of 1 to
a value of 0, the receiver is alerted that a character is coming.
Synchronous transmission
Synchronous Transmission
• http://www.scribd.com/doc/1983494/Basic
s-of-Communications
Data Transmission Modes
Pretty picture
Job 1
Incoming and
outgoing jobs
Job 2
Job 3
Main Front-end
system processor
Job 4
• There are three basic methods of multiplexing
channels.They are:
1. Time division Multiplexing
2. Frequency division Multiplexing
3. Space division Multiplexing
TDM
• The bit rate of a transmission medium always
exceeds the required rate of the digital
signal.This fact is utilized for time division
multiplexing.
• In TDM,the total time available in the channel is
divided between several users and each user of
the channel is alloted a time slot (a small time
interval) during which he may transmit a
message.
• The channel capacity is fully utilized in TDM by
interleaving a number of data streams belonging
to different users into one data stream.
• Streams of data sent through the physical
channel must be demultiplexed at the receiving
end.Individual chunks of messages sent by each
user are reassembled into a full message at the
receiving end.
• TDM may be used to multiplex digital or analog
signals.
FDM
• In FDM,the available bandwidth of a physical medium is split up into
several smaller,disjoint logical band widths.Each of the component
band widths is used as a separate communication line(channel).
• The best example of FDM is the way we receive stations in a
radio.Each radio station is assigned a frequency range within a
bandwidth of radio frequencies.Several radio stations may be
transmitting electro magnetic signals simultaneously over the
physical channel.A radio receiver’s antenna receives signals
transmitted by all the stations.Finally,the tuning dial in the radio is
used to isolate the speech signal of the station tuned.
• In FDM,the signals to be transmitted must be analog
signals.Thus,digital signals must be converted to analog form if they
are to use FDM.