SlideShare a Scribd company logo
Ambo University
Woliso Campus ,Technology and Informatics
School
Department of Computer Science
Data Communication and Computer
Networks
1
CHAPTER- ONE
DATA COMMUNICATION BASICS
Data Communication
 deals with the transmission of signals in a reliable and
efficient manner.
 are the exchange of data between two devices via
some form of transmission medium such as a wire
cable.
• When we communicate, we are sharing information.
This sharing can be local or remote. Between
individuals, local communication usually occurs face to
face, while remote communication takes place over
distance.
NB: The word data refers to information presented in
whatever form is agreed upon by the parties creating
and using the data.
The effectiveness of a data communications system
depends on the following fundamental characteristics
 Delivery: The system must deliver data to the correct
destination. Data must be received by the intended
device or user and only by that device or user.
 Accuracy : The system must deliver the data
accurately. Data that have been altered in transmission
and left uncorrected are unusable.
 Timeliness : The system must deliver data in a timely
manner. Data delivered late are useless. In the case of
video and audio, timely delivery means delivering data
as they are produced, in the same order that they are
produced, and without significant delay. This kind of
delivery is called real-time transmission.
SIMPLE DATA COMMUNICATION MODEL
DESTINATION
SOURCE TRANSMITTER
RECIEVER
COMMUNICATION
SYSTEM
• Source :- is where data is originated
it can be computer,pheripheral or communication
equipment like cell phone
• Transmitter :- converts data into a suitable form for
transmission through the medium.
• Communication system :- medium through which
signal is sent.
• Receiver :- which receives the signal and converts it
into data or message.
• Destination :- where the data is sent.
NB: One goal of data communications is to increase data
rate (speed of transmission) while decreasing signal
rate (bandwidth requirements).
Data Representation Technique
 Information today comes in different forms such as
text, numbers, images, audio, and video.
Text
• In data communications, text is represented as a bit
pattern, a sequence of bits (Os or Is). Different sets of
bit patterns have been designed to represent text
symbols. Each set is called a code, and the process of
representing symbols is called coding.
• Today, the prevalent coding system is called Unicode,
which uses 32 bits to represent a symbol or character
used in any language in the world.
Numbers
• Numbers are also represented by bit patterns. However, a
code such as ASCII is not used to represent numbers; the
number is directly converted to a binary number to simplify
mathematical operations
Images
• Images are also represented by bit patterns. In its simplest
form, an image is composed of a matrix of pixels (picture
elements), where each pixel is a small dot.
• The size of the pixel depends on the resolution. For
example, an image can be divided into 1000 pixels or
10,000 pixels. In the second case, there is a better
representation of the image (better resolution), but more
memory is needed to store the image.
• After an image is divided into pixels, each pixel is assigned a
bit pattern
Audio
• Audio refers to the recording or broadcasting of sound
or music. Audio is by nature different from text,
numbers, or images. It is continuous, not discrete. Even
when we use a microphone to change voice or music
to an electric signal, we create a continuous signal.
Video
• Video refers to the recording or broadcasting of a
picture or movie. Video can either be produced as a
continuous entity or it can be a combination of images,
each a discrete entity, arranged to convey the idea of
motion. Again we can change video to a digital or an
analog signal
Digital Data Transmission Format
• Data : are entities that convey meaning, or information.
: raw facts.
• Signals : a detectable transmitted energy that carries
information.
: are electric or electromagnetic representations of
data.
• Signaling : is the physical propagation of the signal along a
suitable medium.
• Transmission : is the communication of data by the
propagation and processing of signals.
• Data must be transformed to electromagnetic signals to be
transmitted.
• Data can be analog or digital.
Digital Versus Analog Data
• Analog data : refers to information that is
continuous.
• Digital data : refers to information that has
discrete states.
For example, an analog clock that has hour, minute,
and second hands gives information in a
continuous form;
the movements of the hands are continuous.
 On the other hand, a digital clock that reports
the hours and the minutes will change suddenly
from 8:05 to 8:06.
• For a computer to use data it must be in discrete
digital form.
Digital-to-digital conversion
: . convert digital data into digital signals
: . it can be done in two ways, line coding and
block coding. For all communications, line coding
is necessary whereas block coding is optional.
Line Coding
• The process for converting digital data into digital
signal is said to be Line Coding.
• Digital data is found in digital format, which is
binary bits. It is represented (stored) internally as
series of 1s and 0s.
Line coding image
•Digital signals which represents digital data, represented as discrete
signals .
•Encoding is the process of putting a sequence of characters into a
specialized format for efficient transmission or storage.
•Decoding the conversion of an encoded format back into the original
sequence of characters.
There are three types of line coding schemes
available:
i. Unipolar encoding schemes :. uses single
voltage level to represent data.
ii. Polar encoding schemes :. multiple voltage
levels are used to represent binary values.
iii. Bipolar encoding :. uses three voltage levels,
positive, negative and zero.
G-Assignment1– is digital or analog signal is
preferable (list reason)?
- Explain line coding schemes with graphical
representation
Block Coding
• To ensure accuracy of data frame received, redundant
bits are used.
• redundant bit(s) are added to each block of information
bits to ensure synchronization and error detection
For example, in even parity one parity bit is added to make
the count of 1s in the frame even. This way the original
number of bits are increased. It is called Block Coding.
After block coding is done it is line coded for transmission.
Analog-to-Digital Conversion
• Microphones create analog voice and camera creates
analog videos, which are treated us analog data. To
transmit this analog data over digital signals, we need
analog to digital conversion.
• Analog data is a continuous stream of data in the wave
form whereas digital data is discrete. To convert analog
wave into digital data, we use Pulse Code Modulation
(PCM).
• PCM is one of the most commonly used method to convert
analog data into digital form. It involves three steps:
i. Sampling
ii. Quantization
iii. Encoding.
Sampling
• The analog signal is sampled every T interval. Most important
factor in sampling is the rate at which analog signal is
sampled.
• According to Nyquist Theorem, the sampling rate must be at
least two times of the highest frequency of the signal.
Quantization
• Sampling yields discrete form of continuous analog signal.
Every discrete pattern shows the amplitude of the analog
signal at that instance.
• Quantization is approximation of the instantaneous analog
value.
Encoding
• In encoding, each approximated value is then
converted into binary format
Transmission Impairments
• Signals travel through transmission media, which are not
perfect. The imperfection causes signal impairment. This
means that the signal at the beginning of the medium is
not the same as the signal at the end of the medium.
• When signals travel through the medium they tend to
deteriorate. This may have many reasons:
 Attenuation: a loss of energy
 Distortion: the signal changes its form or shape
 Noise: Random disturbance or fluctuation in analog or
digital signals is said to be Noise in signal, which may distort
the actual information being carried.
G-Assignment-2 Explain the reasons behind transmission
impairments
MODES OF DATA TRANSMISSION
• The transmission mode decides how data is
transmitted between two computers.
• The binary data in the form of 1s and 0s can
be sent in two different modes:
 Parallel and
 Serial
PARALLEL TRANSMISSION
•In parallel transmission, the binary bits are organized
into groups of fixed length. Both sender and receiver
are connected in parallel with the equal number of
data lines.
•The sender sends all the bits at once on all lines.
Because data lines are equal to the number of bits in
a group or data frame, a complete group of bits (data
frame) is sent once.
Advantage :- speed
Disadvantage :- is the cost of wires, as it is equal to
the number of bits needs to send parallelly.
SERIAL TRANSMISSION
• In serial transmission, bits are sent one after
another in a queue manner.
• Serial transmission requires only one
communication channel as oppose parallel
transmission where communication lines
depends upon bit word length.
SERIAL TRANSMISSION
•Serial transmission can be either asynchronous or
synchronous.
ASYNCHRONOUS SERIAL TRANSMISSION
- It is named so because there's no importance of
timing. Data-bits have specific pattern and helps
receiver recognize when the actual data bits start
and where it ends. For example, a 0 is prefixed on
every data byte and one or more 1s added at the
end.
Two continuous data-frames (bytes) may have gap
between them.
SYNCHRONOUS SERIAL TRANSMISSION
- It is up to the receiver to recognize and separate
bits into bytes.
- Advantage of synchronous transmission is speed
and it has no overhead of extra header and footer bits
as in asynchronous transmission.
Multiplexing
• It is the set of techniques that allows the
simultaneous transmission of multiple signals
across a single data link.
• Multiplexing is done using a device called
Multiplexer (MUX) that combine n input lines to
generate one output line i.e. (many to one).
• At the receiving end a device called Demultiplexer
(DEMUX) is used that separate signal into its
component signals i.e. one input and several
outputs (one to many).
• Advantages of Multiplexing
More than one signals can be sent over single
medium or link
Effective use of the bandwidth of medium
Multiplexing vs. No Multiplexing
Types of Multiplexing
 Frequency Division Multiplexing
• It is an analog technique.
• Signals of different frequencies are combined into a
composite signal and is transmitted on the single link.
• Bandwidth of a link should be greater than the
combined bandwidths of the various channels.
• Each signal is having different frequency.
• Channels are separated by the strips of unused
bandwidth called Guard Bands (to prevent
overlapping).
FDM
 Wave Division Multiplexing
• WDM is an analog multiplexing technique.
• Working is same as FDM.
• In WDM different signals are optical or light signals that
are transmitted through optical fiber.
• Various light waves from different sources are
combined to form a composite light signal that is
transmitted across the channel to the receiver.
• At the receiver side, this composite light signal is
broken into different light waves by Demultiplexer.
• This Combining and the Splitting of light waves is done
by using a PRISM. Prism bends beam of light based on
the angle of incidence and the frequency of light wave.
 Time Division Multiplexing
• It is the digital multiplexing technique.
• Channel/Link is not divided on the basis of
frequency but on the basis of time.
• Total time available in the channel is divided
between several users.
• Each user is allotted a particular time interval
called time slot or slice.
• In TDM the data rate capacity of the transmission
medium should be greater than the data rate
required by sending of receiving devices.
TDM
• Group discussion on diagram
Types of TDM
 Synchronous TDM
• Each device is given same Time Slot to transmit the data over
the link, whether the device has any data to transmit or not.
• Each device places its data onto the link when its Time Slot
arrives, each device is given the possession of line turn by
turn.
• If any device does not have data to send then its time slot
remains empty.
• Time slots are organized into Frames and each frame consists
of one or more time slots.
• If there are n sending devices there will be n slots in frame.
Disadvantages of STDM
• The channel capacity cannot be fully utilized. Some of
the slots go empty in certain frames.
 Asynchronous TDM
• Also known as Statistical Time Division multiplexing.
• In this time slots are not Fixed i.e. slots are Flexible.
• Total speed of the input lines can be greater than the
capacity of the path.
• In ASTDM we have n input lines and m slots i.e. m less
than n (m<n).
• Slots are not predefined rather slots are allocated to
any of the device that has data to send.
Signal Encoding Techniques
• G-Assignment 3
Data Transmission Error Detection and
Correction
• Data-link layer uses some error control mechanism to
ensure data bit streams are transmitted with certain
level of accuracy. But to understand how errors is
controlled, it is essential to know what types of errors
may occur.
• There may be three types of errors:
Single bit error: In a frame, there is only one bit,
anywhere though, which is corrupt.
Multiple bits error: Frame is received with more than
one bits in corrupted state.
Burst error: Frame contains more than1 consecutive bits
corrupted.
• Error control mechanism may involve two
possible ways:
 Error detection
 Error correction
Error Detection :
• Errors in the received frames are detected by
means of Parity Check and CRC (Cyclic
Redundancy Check).
-In both scenario, few extra bits are sent along
with actual data to confirm that bits received at
other end are same as they were sent.
-If the checks at receiver's end fails, the bits are
corrupted.
PARITY CHECK
- One extra bit is sent along with the original bits to make number of
1s either even.
- The sender while creating a frame counts the number of 1s in it.
for example, if even parity is used and number of 1s is even then
one bit with value 0 is added. This way number of 1s remain even.
Or if the number of 1s is odd, to make it even a bit with value 1 is
added.
-The receiver simply counts the number of 1s in a frame. If the count
of 1s is even and even parity is used, the frame is considered to be
not-corrupted and is accepted.
- If the count of 1s is odd and odd parity is used, the frame is still not
corrupted. If a single bit flips in transit, the receiver can detect it by
counting the number of 1s. But when more than one bits are in
error it is very hard for the receiver to detect the error
CYCLIC REDUNDANCY CHECK(CRC)
-is a different approach to detect if the frame received
contains valid data. This technique involves binary division
of the data bits being sent.
-The sender performs a division operation on the bits being
sent and calculates the remainder. Before sending the
actual bits, the sender adds the remainder at the end of
the actual bits. Actual data bits plus the remainder is called
a codeword. The sender transmits data bits as codewords.
-At the other end, the receiver performs division operation on
codewords using the same CRC divisor. If the remainder
contains all zeros the data bits are accepted, otherwise
there has been some data corruption occurred in transit.
Error Correction
• In digital world, error correction can be done in two
ways:
 Backward Error Correction: When the receiver detects
an error in the data received, it requests back the
sender to retransmit the data unit.
 Forward Error Correction: When the receiver detects
some error in the data received, it uses an error-
correcting code, which helps it to auto-recover and
correct some kinds of errors.
NB: Backward Error Correction, is simple and can only be
efficiently used where retransmitting is not expensive,
for example fiber optics. But in case of wireless
transmission retransmitting may cost too much, in such
case Forward Error Correction is used.

More Related Content

Similar to chapter 1.pptx

963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx
963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx
963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx
JackStephenG
 
chapter 1 dc ppt.pptx
chapter 1 dc ppt.pptxchapter 1 dc ppt.pptx
chapter 1 dc ppt.pptx
John160915
 
DCCN S1.ppt
DCCN S1.pptDCCN S1.ppt
DCCN S1.ppt
abdulkadirmohamed29
 
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data CommunicationCND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
Pranoti Doke
 
Wolkite polytechnic college ICT Department
Wolkite polytechnic college ICT Department Wolkite polytechnic college ICT Department
Wolkite polytechnic college ICT Department
Wolkite polytechnic college
 
Chapter one of digital logic design.pptx
Chapter one of digital logic design.pptxChapter one of digital logic design.pptx
Chapter one of digital logic design.pptx
FBHouse
 
Data communication
Data communicationData communication
Data communication
Muhammad Faheem
 
chapter 1 DC and CN-1.ppt
chapter 1 DC and CN-1.pptchapter 1 DC and CN-1.ppt
chapter 1 DC and CN-1.ppt
EliasPetros
 
PCM_DC_PPT.pdf
PCM_DC_PPT.pdfPCM_DC_PPT.pdf
PCM_DC_PPT.pdf
ArunKumar674066
 
Introduction to-telecommunication-rf
Introduction to-telecommunication-rfIntroduction to-telecommunication-rf
Introduction to-telecommunication-rf
Terra Sacrifice
 
unit1classday1-1.pptx
unit1classday1-1.pptxunit1classday1-1.pptx
unit1classday1-1.pptx
shdt2002
 
updated notes cds UNIT 6 and 7 communicationppt.pdf
updated notes cds UNIT 6 and 7 communicationppt.pdfupdated notes cds UNIT 6 and 7 communicationppt.pdf
updated notes cds UNIT 6 and 7 communicationppt.pdf
shubhangisonawane6
 
CHAPTER 3 Data Communication.pdf
CHAPTER 3 Data Communication.pdfCHAPTER 3 Data Communication.pdf
CHAPTER 3 Data Communication.pdf
Amna Nawazish
 
Complete CHAPTER 3 Data Communication.pdf
Complete CHAPTER 3 Data Communication.pdfComplete CHAPTER 3 Data Communication.pdf
Complete CHAPTER 3 Data Communication.pdf
Amna Nawazish
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
Tekle12
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
Tekle12
 
Computer networks and internet www.it-workss.com
Computer networks and internet   www.it-workss.comComputer networks and internet   www.it-workss.com
Computer networks and internet www.it-workss.com
Varunraj Kalse
 
Line coding
Line codingLine coding
Line coding
mpsrekha83
 
CCN 1 Slide (1).pptx
CCN 1 Slide (1).pptxCCN 1 Slide (1).pptx
CCN 1 Slide (1).pptx
DrRaghavendraRMaggav
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.ppt
AbyThomas54
 

Similar to chapter 1.pptx (20)

963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx
963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx
963cbe79-8554-4130-a03e-adb5bf9449ca (1).pptx
 
chapter 1 dc ppt.pptx
chapter 1 dc ppt.pptxchapter 1 dc ppt.pptx
chapter 1 dc ppt.pptx
 
DCCN S1.ppt
DCCN S1.pptDCCN S1.ppt
DCCN S1.ppt
 
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data CommunicationCND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
 
Wolkite polytechnic college ICT Department
Wolkite polytechnic college ICT Department Wolkite polytechnic college ICT Department
Wolkite polytechnic college ICT Department
 
Chapter one of digital logic design.pptx
Chapter one of digital logic design.pptxChapter one of digital logic design.pptx
Chapter one of digital logic design.pptx
 
Data communication
Data communicationData communication
Data communication
 
chapter 1 DC and CN-1.ppt
chapter 1 DC and CN-1.pptchapter 1 DC and CN-1.ppt
chapter 1 DC and CN-1.ppt
 
PCM_DC_PPT.pdf
PCM_DC_PPT.pdfPCM_DC_PPT.pdf
PCM_DC_PPT.pdf
 
Introduction to-telecommunication-rf
Introduction to-telecommunication-rfIntroduction to-telecommunication-rf
Introduction to-telecommunication-rf
 
unit1classday1-1.pptx
unit1classday1-1.pptxunit1classday1-1.pptx
unit1classday1-1.pptx
 
updated notes cds UNIT 6 and 7 communicationppt.pdf
updated notes cds UNIT 6 and 7 communicationppt.pdfupdated notes cds UNIT 6 and 7 communicationppt.pdf
updated notes cds UNIT 6 and 7 communicationppt.pdf
 
CHAPTER 3 Data Communication.pdf
CHAPTER 3 Data Communication.pdfCHAPTER 3 Data Communication.pdf
CHAPTER 3 Data Communication.pdf
 
Complete CHAPTER 3 Data Communication.pdf
Complete CHAPTER 3 Data Communication.pdfComplete CHAPTER 3 Data Communication.pdf
Complete CHAPTER 3 Data Communication.pdf
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
 
Computer networks and internet www.it-workss.com
Computer networks and internet   www.it-workss.comComputer networks and internet   www.it-workss.com
Computer networks and internet www.it-workss.com
 
Line coding
Line codingLine coding
Line coding
 
CCN 1 Slide (1).pptx
CCN 1 Slide (1).pptxCCN 1 Slide (1).pptx
CCN 1 Slide (1).pptx
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.ppt
 

More from TamiratDejene1

Ch-3 lecture.pdf
Ch-3 lecture.pdfCh-3 lecture.pdf
Ch-3 lecture.pdf
TamiratDejene1
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
TamiratDejene1
 
Wireless LANs.ppt
Wireless LANs.pptWireless LANs.ppt
Wireless LANs.ppt
TamiratDejene1
 
Data Link Control.ppt
Data Link Control.pptData Link Control.ppt
Data Link Control.ppt
TamiratDejene1
 
Congestion Control and QOS.ppt
Congestion Control and QOS.pptCongestion Control and QOS.ppt
Congestion Control and QOS.ppt
TamiratDejene1
 
Analog Transmission.ppt
Analog Transmission.pptAnalog Transmission.ppt
Analog Transmission.ppt
TamiratDejene1
 
Chapter 5 (Part I) - Pointers.pdf
Chapter 5 (Part I) - Pointers.pdfChapter 5 (Part I) - Pointers.pdf
Chapter 5 (Part I) - Pointers.pdf
TamiratDejene1
 
Chapter 7 (Part I) - User Defined Datatypes.pdf
Chapter 7 (Part I) - User Defined Datatypes.pdfChapter 7 (Part I) - User Defined Datatypes.pdf
Chapter 7 (Part I) - User Defined Datatypes.pdf
TamiratDejene1
 
00-intro-to-classes.pdf
00-intro-to-classes.pdf00-intro-to-classes.pdf
00-intro-to-classes.pdf
TamiratDejene1
 
DLD Chapter-5.pdf
DLD Chapter-5.pdfDLD Chapter-5.pdf
DLD Chapter-5.pdf
TamiratDejene1
 
DLD Chapter-4.pdf
DLD Chapter-4.pdfDLD Chapter-4.pdf
DLD Chapter-4.pdf
TamiratDejene1
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
TamiratDejene1
 
DLD Chapter-1.pdf
DLD Chapter-1.pdfDLD Chapter-1.pdf
DLD Chapter-1.pdf
TamiratDejene1
 
DLD_Chapter_1.pdf
DLD_Chapter_1.pdfDLD_Chapter_1.pdf
DLD_Chapter_1.pdf
TamiratDejene1
 
Chapter 8_Shift Registers (EEEg4302)1.pdf
Chapter 8_Shift Registers (EEEg4302)1.pdfChapter 8_Shift Registers (EEEg4302)1.pdf
Chapter 8_Shift Registers (EEEg4302)1.pdf
TamiratDejene1
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
TamiratDejene1
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdf
TamiratDejene1
 
Chapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfChapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdf
TamiratDejene1
 
Chapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfChapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdf
TamiratDejene1
 
Chapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdfChapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdf
TamiratDejene1
 

More from TamiratDejene1 (20)

Ch-3 lecture.pdf
Ch-3 lecture.pdfCh-3 lecture.pdf
Ch-3 lecture.pdf
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Wireless LANs.ppt
Wireless LANs.pptWireless LANs.ppt
Wireless LANs.ppt
 
Data Link Control.ppt
Data Link Control.pptData Link Control.ppt
Data Link Control.ppt
 
Congestion Control and QOS.ppt
Congestion Control and QOS.pptCongestion Control and QOS.ppt
Congestion Control and QOS.ppt
 
Analog Transmission.ppt
Analog Transmission.pptAnalog Transmission.ppt
Analog Transmission.ppt
 
Chapter 5 (Part I) - Pointers.pdf
Chapter 5 (Part I) - Pointers.pdfChapter 5 (Part I) - Pointers.pdf
Chapter 5 (Part I) - Pointers.pdf
 
Chapter 7 (Part I) - User Defined Datatypes.pdf
Chapter 7 (Part I) - User Defined Datatypes.pdfChapter 7 (Part I) - User Defined Datatypes.pdf
Chapter 7 (Part I) - User Defined Datatypes.pdf
 
00-intro-to-classes.pdf
00-intro-to-classes.pdf00-intro-to-classes.pdf
00-intro-to-classes.pdf
 
DLD Chapter-5.pdf
DLD Chapter-5.pdfDLD Chapter-5.pdf
DLD Chapter-5.pdf
 
DLD Chapter-4.pdf
DLD Chapter-4.pdfDLD Chapter-4.pdf
DLD Chapter-4.pdf
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
 
DLD Chapter-1.pdf
DLD Chapter-1.pdfDLD Chapter-1.pdf
DLD Chapter-1.pdf
 
DLD_Chapter_1.pdf
DLD_Chapter_1.pdfDLD_Chapter_1.pdf
DLD_Chapter_1.pdf
 
Chapter 8_Shift Registers (EEEg4302)1.pdf
Chapter 8_Shift Registers (EEEg4302)1.pdfChapter 8_Shift Registers (EEEg4302)1.pdf
Chapter 8_Shift Registers (EEEg4302)1.pdf
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdf
 
Chapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfChapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdf
 
Chapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfChapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdf
 
Chapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdfChapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdf
 

Recently uploaded

Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
edwin408357
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 

Recently uploaded (20)

Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 

chapter 1.pptx

  • 1. Ambo University Woliso Campus ,Technology and Informatics School Department of Computer Science Data Communication and Computer Networks 1
  • 3. Data Communication  deals with the transmission of signals in a reliable and efficient manner.  are the exchange of data between two devices via some form of transmission medium such as a wire cable. • When we communicate, we are sharing information. This sharing can be local or remote. Between individuals, local communication usually occurs face to face, while remote communication takes place over distance. NB: The word data refers to information presented in whatever form is agreed upon by the parties creating and using the data.
  • 4. The effectiveness of a data communications system depends on the following fundamental characteristics  Delivery: The system must deliver data to the correct destination. Data must be received by the intended device or user and only by that device or user.  Accuracy : The system must deliver the data accurately. Data that have been altered in transmission and left uncorrected are unusable.  Timeliness : The system must deliver data in a timely manner. Data delivered late are useless. In the case of video and audio, timely delivery means delivering data as they are produced, in the same order that they are produced, and without significant delay. This kind of delivery is called real-time transmission.
  • 5. SIMPLE DATA COMMUNICATION MODEL DESTINATION SOURCE TRANSMITTER RECIEVER COMMUNICATION SYSTEM
  • 6. • Source :- is where data is originated it can be computer,pheripheral or communication equipment like cell phone • Transmitter :- converts data into a suitable form for transmission through the medium. • Communication system :- medium through which signal is sent. • Receiver :- which receives the signal and converts it into data or message. • Destination :- where the data is sent. NB: One goal of data communications is to increase data rate (speed of transmission) while decreasing signal rate (bandwidth requirements).
  • 7. Data Representation Technique  Information today comes in different forms such as text, numbers, images, audio, and video. Text • In data communications, text is represented as a bit pattern, a sequence of bits (Os or Is). Different sets of bit patterns have been designed to represent text symbols. Each set is called a code, and the process of representing symbols is called coding. • Today, the prevalent coding system is called Unicode, which uses 32 bits to represent a symbol or character used in any language in the world.
  • 8. Numbers • Numbers are also represented by bit patterns. However, a code such as ASCII is not used to represent numbers; the number is directly converted to a binary number to simplify mathematical operations Images • Images are also represented by bit patterns. In its simplest form, an image is composed of a matrix of pixels (picture elements), where each pixel is a small dot. • The size of the pixel depends on the resolution. For example, an image can be divided into 1000 pixels or 10,000 pixels. In the second case, there is a better representation of the image (better resolution), but more memory is needed to store the image. • After an image is divided into pixels, each pixel is assigned a bit pattern
  • 9. Audio • Audio refers to the recording or broadcasting of sound or music. Audio is by nature different from text, numbers, or images. It is continuous, not discrete. Even when we use a microphone to change voice or music to an electric signal, we create a continuous signal. Video • Video refers to the recording or broadcasting of a picture or movie. Video can either be produced as a continuous entity or it can be a combination of images, each a discrete entity, arranged to convey the idea of motion. Again we can change video to a digital or an analog signal
  • 10. Digital Data Transmission Format • Data : are entities that convey meaning, or information. : raw facts. • Signals : a detectable transmitted energy that carries information. : are electric or electromagnetic representations of data. • Signaling : is the physical propagation of the signal along a suitable medium. • Transmission : is the communication of data by the propagation and processing of signals. • Data must be transformed to electromagnetic signals to be transmitted. • Data can be analog or digital.
  • 11. Digital Versus Analog Data • Analog data : refers to information that is continuous. • Digital data : refers to information that has discrete states. For example, an analog clock that has hour, minute, and second hands gives information in a continuous form; the movements of the hands are continuous.  On the other hand, a digital clock that reports the hours and the minutes will change suddenly from 8:05 to 8:06.
  • 12. • For a computer to use data it must be in discrete digital form. Digital-to-digital conversion : . convert digital data into digital signals : . it can be done in two ways, line coding and block coding. For all communications, line coding is necessary whereas block coding is optional. Line Coding • The process for converting digital data into digital signal is said to be Line Coding. • Digital data is found in digital format, which is binary bits. It is represented (stored) internally as series of 1s and 0s.
  • 13. Line coding image •Digital signals which represents digital data, represented as discrete signals . •Encoding is the process of putting a sequence of characters into a specialized format for efficient transmission or storage. •Decoding the conversion of an encoded format back into the original sequence of characters.
  • 14. There are three types of line coding schemes available: i. Unipolar encoding schemes :. uses single voltage level to represent data. ii. Polar encoding schemes :. multiple voltage levels are used to represent binary values. iii. Bipolar encoding :. uses three voltage levels, positive, negative and zero. G-Assignment1– is digital or analog signal is preferable (list reason)? - Explain line coding schemes with graphical representation
  • 15. Block Coding • To ensure accuracy of data frame received, redundant bits are used. • redundant bit(s) are added to each block of information bits to ensure synchronization and error detection For example, in even parity one parity bit is added to make the count of 1s in the frame even. This way the original number of bits are increased. It is called Block Coding. After block coding is done it is line coded for transmission.
  • 16. Analog-to-Digital Conversion • Microphones create analog voice and camera creates analog videos, which are treated us analog data. To transmit this analog data over digital signals, we need analog to digital conversion. • Analog data is a continuous stream of data in the wave form whereas digital data is discrete. To convert analog wave into digital data, we use Pulse Code Modulation (PCM). • PCM is one of the most commonly used method to convert analog data into digital form. It involves three steps: i. Sampling ii. Quantization iii. Encoding.
  • 17. Sampling • The analog signal is sampled every T interval. Most important factor in sampling is the rate at which analog signal is sampled. • According to Nyquist Theorem, the sampling rate must be at least two times of the highest frequency of the signal.
  • 18. Quantization • Sampling yields discrete form of continuous analog signal. Every discrete pattern shows the amplitude of the analog signal at that instance. • Quantization is approximation of the instantaneous analog value.
  • 19. Encoding • In encoding, each approximated value is then converted into binary format
  • 20. Transmission Impairments • Signals travel through transmission media, which are not perfect. The imperfection causes signal impairment. This means that the signal at the beginning of the medium is not the same as the signal at the end of the medium. • When signals travel through the medium they tend to deteriorate. This may have many reasons:  Attenuation: a loss of energy  Distortion: the signal changes its form or shape  Noise: Random disturbance or fluctuation in analog or digital signals is said to be Noise in signal, which may distort the actual information being carried. G-Assignment-2 Explain the reasons behind transmission impairments
  • 21. MODES OF DATA TRANSMISSION • The transmission mode decides how data is transmitted between two computers. • The binary data in the form of 1s and 0s can be sent in two different modes:  Parallel and  Serial
  • 23. •In parallel transmission, the binary bits are organized into groups of fixed length. Both sender and receiver are connected in parallel with the equal number of data lines. •The sender sends all the bits at once on all lines. Because data lines are equal to the number of bits in a group or data frame, a complete group of bits (data frame) is sent once. Advantage :- speed Disadvantage :- is the cost of wires, as it is equal to the number of bits needs to send parallelly.
  • 24. SERIAL TRANSMISSION • In serial transmission, bits are sent one after another in a queue manner. • Serial transmission requires only one communication channel as oppose parallel transmission where communication lines depends upon bit word length.
  • 26. •Serial transmission can be either asynchronous or synchronous. ASYNCHRONOUS SERIAL TRANSMISSION - It is named so because there's no importance of timing. Data-bits have specific pattern and helps receiver recognize when the actual data bits start and where it ends. For example, a 0 is prefixed on every data byte and one or more 1s added at the end. Two continuous data-frames (bytes) may have gap between them.
  • 27. SYNCHRONOUS SERIAL TRANSMISSION - It is up to the receiver to recognize and separate bits into bytes. - Advantage of synchronous transmission is speed and it has no overhead of extra header and footer bits as in asynchronous transmission.
  • 28. Multiplexing • It is the set of techniques that allows the simultaneous transmission of multiple signals across a single data link. • Multiplexing is done using a device called Multiplexer (MUX) that combine n input lines to generate one output line i.e. (many to one). • At the receiving end a device called Demultiplexer (DEMUX) is used that separate signal into its component signals i.e. one input and several outputs (one to many).
  • 29. • Advantages of Multiplexing More than one signals can be sent over single medium or link Effective use of the bandwidth of medium
  • 30. Multiplexing vs. No Multiplexing
  • 31. Types of Multiplexing  Frequency Division Multiplexing • It is an analog technique. • Signals of different frequencies are combined into a composite signal and is transmitted on the single link. • Bandwidth of a link should be greater than the combined bandwidths of the various channels. • Each signal is having different frequency. • Channels are separated by the strips of unused bandwidth called Guard Bands (to prevent overlapping).
  • 32. FDM
  • 33.  Wave Division Multiplexing • WDM is an analog multiplexing technique. • Working is same as FDM. • In WDM different signals are optical or light signals that are transmitted through optical fiber. • Various light waves from different sources are combined to form a composite light signal that is transmitted across the channel to the receiver. • At the receiver side, this composite light signal is broken into different light waves by Demultiplexer. • This Combining and the Splitting of light waves is done by using a PRISM. Prism bends beam of light based on the angle of incidence and the frequency of light wave.
  • 34.  Time Division Multiplexing • It is the digital multiplexing technique. • Channel/Link is not divided on the basis of frequency but on the basis of time. • Total time available in the channel is divided between several users. • Each user is allotted a particular time interval called time slot or slice. • In TDM the data rate capacity of the transmission medium should be greater than the data rate required by sending of receiving devices.
  • 36. Types of TDM  Synchronous TDM • Each device is given same Time Slot to transmit the data over the link, whether the device has any data to transmit or not. • Each device places its data onto the link when its Time Slot arrives, each device is given the possession of line turn by turn. • If any device does not have data to send then its time slot remains empty. • Time slots are organized into Frames and each frame consists of one or more time slots. • If there are n sending devices there will be n slots in frame.
  • 37. Disadvantages of STDM • The channel capacity cannot be fully utilized. Some of the slots go empty in certain frames.  Asynchronous TDM • Also known as Statistical Time Division multiplexing. • In this time slots are not Fixed i.e. slots are Flexible. • Total speed of the input lines can be greater than the capacity of the path. • In ASTDM we have n input lines and m slots i.e. m less than n (m<n). • Slots are not predefined rather slots are allocated to any of the device that has data to send.
  • 39. Data Transmission Error Detection and Correction • Data-link layer uses some error control mechanism to ensure data bit streams are transmitted with certain level of accuracy. But to understand how errors is controlled, it is essential to know what types of errors may occur. • There may be three types of errors: Single bit error: In a frame, there is only one bit, anywhere though, which is corrupt. Multiple bits error: Frame is received with more than one bits in corrupted state. Burst error: Frame contains more than1 consecutive bits corrupted.
  • 40. • Error control mechanism may involve two possible ways:  Error detection  Error correction Error Detection : • Errors in the received frames are detected by means of Parity Check and CRC (Cyclic Redundancy Check). -In both scenario, few extra bits are sent along with actual data to confirm that bits received at other end are same as they were sent. -If the checks at receiver's end fails, the bits are corrupted.
  • 41. PARITY CHECK - One extra bit is sent along with the original bits to make number of 1s either even. - The sender while creating a frame counts the number of 1s in it. for example, if even parity is used and number of 1s is even then one bit with value 0 is added. This way number of 1s remain even. Or if the number of 1s is odd, to make it even a bit with value 1 is added. -The receiver simply counts the number of 1s in a frame. If the count of 1s is even and even parity is used, the frame is considered to be not-corrupted and is accepted. - If the count of 1s is odd and odd parity is used, the frame is still not corrupted. If a single bit flips in transit, the receiver can detect it by counting the number of 1s. But when more than one bits are in error it is very hard for the receiver to detect the error
  • 42. CYCLIC REDUNDANCY CHECK(CRC) -is a different approach to detect if the frame received contains valid data. This technique involves binary division of the data bits being sent. -The sender performs a division operation on the bits being sent and calculates the remainder. Before sending the actual bits, the sender adds the remainder at the end of the actual bits. Actual data bits plus the remainder is called a codeword. The sender transmits data bits as codewords. -At the other end, the receiver performs division operation on codewords using the same CRC divisor. If the remainder contains all zeros the data bits are accepted, otherwise there has been some data corruption occurred in transit.
  • 43. Error Correction • In digital world, error correction can be done in two ways:  Backward Error Correction: When the receiver detects an error in the data received, it requests back the sender to retransmit the data unit.  Forward Error Correction: When the receiver detects some error in the data received, it uses an error- correcting code, which helps it to auto-recover and correct some kinds of errors. NB: Backward Error Correction, is simple and can only be efficiently used where retransmitting is not expensive, for example fiber optics. But in case of wireless transmission retransmitting may cost too much, in such case Forward Error Correction is used.