Chapter 1 DC&CN
Chapter 1 DC&CN
1
Lets Start!
➔ Communication?
➔ Data Communication?
1.2
Topics discussed in this section:
✓ Communication Basics
✓ Characteristics of Communication
✓ Communication Types
✓ Components of a data communications system
✓ Data Representation
✓ Modes of Data Transmission (Data Flow)
✓ Data Transmission formats
✓ Multiplexing
✓ Transmission Impairments
✓ Signal Encoding Techniques
✓ Data Transmission Error Detection and Correction
1.3
Communication Basics
1.4
Characteristics of Communication
➢ Delivery: data must delivered to the correct destination.
➢ Accuracy: The system must deliver the data accurately.
➢ Data which is altered and left uncorrected are
unusable.
1.5
Communication Types
◼ Unicasting
◼ One-to-One communication
◼ Multicasting
◼ One-to-many communication
◼ Broadcasting
◼ One-to-All communication
1.6
Components of a data communication system
1.7
Components…
✓ Source: generates data to be transmitted
✓ Transmitter: converts data into transmittable
signals
✓ Transmission System: carries data from
source to destination
✓ Receiver: converts received signal into data
✓ Destination: takes incoming data
✓ Message: the actual information
1.8
Data Representation
◼ Today information comes in different forms
such as:
◼ Text : is represented as bit pattern, (a sequence of bits)
◼ Different set of patterns
◼ Example: Unicode, ASCII
◼ Numbers: is also represented as bit pattern
◼ Image: is a collection of pixels, represented as bit
pattern
◼ Audio: Different from Text, Number, or Image.
◼ It is continuous not discrete
◼ Video: is a picture in motion
1.9
Modes of Data Transmission (Data Flow)
1.11
Figure 1.3 Comparison of analog and digital signals
1.12
Figure 1.4 Analog signal
1.13
Figure 1.5 Digital signal
1.14
Advantages & Disadvantages of Digital Signals
◼ Equipment is more
common and less expensive
1.15
Figure 1.6 Types of Digital Data Transmission
1.16
Figure 1.7 Parallel transmission
1.17
Figure 1.8 Serial transmission
1.18
Figure 1.9 Asynchronous transmission
Note
In asynchronous transmission, we send 1
start bit (0) at the beginning and 1 or more
stop bits (1s) at the end of each byte. There
may be a gap between
each byte.
1.19
Note
1.20
Figure 1.10 Synchronous transmission
1.21
Transmission Impairments
✓ The imperfection in Signals transmission causes
signal impairment
✓ i.e. What is sent is not what is received.
1.22
Attenuation
✓ Means loss of energy -> weaker signal
✓ When a signal travels through a medium it loses
energy overcoming the resistance of the medium
✓ Amplifiers are used to compensate for this loss of
energy.
✓ To show the loss or gain of energy the unit “decibel”
is used. dB = 10log10P2/P1, where
P1 : input signal
P2 : output signal
1.23
Figure 1.13 Attenuation
1.24
Distortion
1.26
Noise
➢ Is the insertion of additional signal between transmitter
and receiver
➢ There are different types of noise
✓ Thermal: random noise of electrons in the wire creates an
extra signal
✓ Induced: from motors and appliances, these devices act as a
transmitter antenna and medium act as receiving antenna.
✓ Crosstalk: same as Induced but between two wires.
✓ Impulse: Spikes that result from power lines, lightning, etc.
1.27
Figure 1.15 Noise
1.28
2
Transmission Media
9
Guided Media
0
UTP vs STP
1
◼ UTP
◼ Speed and throughput: 10 – 100 Mbps
◼ Simply a multi-
port repeater.
◼ Used to
connect
multiple
devices to the
same network
drop.
Networking connectivity devices
◼ Repeater
◼ Cleans up (regenerates) and repeats the signal.
◼ Used when a network’s cabling extends beyond its
capability.
Networking connectivity devices
◼ Bridge
◼ Connects two LAN segments.
◼ Keeps traffic local by filtering traffic based on
MAC Addresses.
Networking connectivity devices
◼ Switches
◼ Connects multiple LAN segments.
◼ Can be called a multi-port bridge.
The Cloud
Networking connectivity devices
◼ Router
◼ Can be used to connect different Layer 2
devices and different topologies.
◼ Makes decisions based on network addresses
(IP Addresses).
The Cloud
Physical & Logical Topologies
Extended
Bus
Star
Ring Hierarchical
Star Mesh
Bus Topology
◼ Single backbone
◼ All hosts directly
connected to backbone
◼ Each end of the bus must
be properly terminated
Ring Topology
◼ No backbone
◼ A host is directly
connected to each of its
neighbors
◼ Used for token passing
logical topologies
Star Topology
◼ All devices connected to
a central point
◼ Center of star is usually a
hub or a switch
◼ Used for Ethernet
technologies
Extended Star Topology
◼ Connects individual star
topologies together.
◼ At the center of the star is
a hub or a switch.
◼ Extends the length and
size of the network.
◼ This is the topology we
are using in our lab!
Hierarchical Topology
administration
◼ Provide full time connectivity to local services
1.63
Switching
1.64
Circuit switching vs packet switching
1.65