chapter 1 (2)
chapter 1 (2)
language or gestures)
Visual communication (the use of images or pictures such as
transferred at a time
Needs multiple (parallel) communication channels
4
Contd.
5
Definitions
The word data refers to information presented in whatever
form is agreed upon by the parties creating and using the data.
Signal: the electrical wave that is used to represent the
data.
It Can be analog or digital signal
manipulation.
transmitter).
and 0s.
continues wave
10
Flashing light and telegraph message are
Contd.
The advantage of digital signals is that
digitally
3. They can be transmitted effectively along fiber optic
11
Contd.
are Digital?
Volume control on a radio………………..analog
Traffic lights………………………………..digital
Motor bike throttle(accelerator)……………..digital
Water tap…………………………………..analog
Dimmer switch…………………………….digital
Light switch……………………………….digital
In Music on a CD……………………….digital
13
Music on a tape……………………………..analog
Modes of data transmission
There are 3 different transmission modes
exchanges:
in one direction or the other, but not both at the same time.
transmits in turn.
In a half-duplex transmission, the entire capacity of a channel is taken
systems.
The half-duplex mode is used in cases where there is no need for
This sharing can occur in two ways: Either the link must contain two physically
separate transmission paths, one for sending and the other for receiving; or
directions.
17
Signal Encoding techniques
1 and 0.
of time.
19
Multiplexing
In data communication, there might be a need to
so does traffic.
23 Frequency division multiplexing involves simultaneously
Contd.
These different frequencies, called channels, share
being used.
25
Time-division multiplexing (TDM)
A multiplexing method for transmitting multiple data
28
Statistical Multiplexing
It is a multiplexing technique that allows information from a
signal as it is transmitted.
in the background
33
Dealing With Errors
We need to build systems that are resilient to errors in data.
uncorrupted.
undetected.
34
Errors in Data
Data is sent in the form of binary numbers.
There are four possible ways that noise can affect a bit:
35
Pure Noise
bits correctly.
The question is, how can the receiver know when an error has
occurred?
We could try sending the data twice and comparing the two transmissions
Even when we detect an error, the next question is: what to do about
37
it?
Parity Checking (Vertical Redundancy Check (VRC))
If the received character does not have an even (or odd) number
Both the sender and receiver must know which form of parity to
use.
38
Contd.
A character such as 0110001 would be
Odd Parity: 01100010
transmitted as: (There are an odd number of 1s)
Even Parity: 01100011 (There are an even number of 1s)
40
Hamming Distance
The Hamming distance between two bit patterns is the
number of dissimilar bits.
It measures the minimum number of substitutions
required to change one string into the other, or the
number of errors that transformed one string into the
other.
For example, the Hamming distance between
01000001 (‘A’) and 01000011 (‘C’) is 1 because there
is only one dissimilar bit.
41 One error in the wrong place can turn an ‘A’ into a ‘C’.
Hamming Distance
dissimilar bits.
43
Contd.
Typically pairs of bytes are joined to make 16 bit numbers. It
checksum.
44
!!
y ou
n k
a
Th
d! n?
En t i o
e s
qu
45