Computer Network (Module-2)
Computer Network (Module-2)
MODULE-2
Analog & Digital Data
1. Analog Data: Analog data is continuous in nature, representing real-world phenomena. It
can take any value within a given range.
• Characteristics:
o Continuous: Analog data varies smoothly over time and does not have
discrete steps.
o Real-world Representation: Analog data is commonly used to represent
natural phenomena like sound, temperature, and light.
Example:
▪ Sound waves: When someone speaks, the sound waves vary
continuously and can be captured as analog data.
▪ Temperature readings: The gradual change in temperature over time
can be represented by continuous data.
2. Digital Data: Digital data consists of discrete values, typically represented using binary
numbers (0s and 1s). Unlike analog data, it does not have a continuous range.
• Characteristics:
o Discrete: Digital data exists in finite steps or distinct states.
o Efficient Storage and Transmission: Digital data can be easily stored and
transmitted over computer systems and networks.
o Error Detection and Correction: Digital data systems allow for more robust
error detection and correction mechanisms, which makes them less prone to
degradation from noise compared to analog data.
Example:
▪ Text: When typing text on a computer, the letters are stored as digital
data, represented by binary codes.
▪ Images: Digital cameras capture images in a series of pixels, each of
which has a binary value to represent color.
Analog & Digital Signal
1. Analog Signal: An analog signal is a continuous wave that varies smoothly over time in
amplitude, frequency, or phase, representing analog data.
• Characteristics:
o Continuous: The signal varies continuously, with an infinite number of
possible values between any two points in time.
o Amplitude, Frequency, and Phase:
▪ Amplitude refers to the height of the wave, which correlates to the
strength or intensity of the signal.
▪ Frequency is the number of cycles the signal completes in a second,
measured in Hertz (Hz).
▪ Phase refers to the position of the waveform at a given point in time.
o Vulnerable to Noise: Analog signals can degrade over long distances due to
noise and interference, leading to a loss in signal quality.
Example:
o Sound Waves: When speaking into a microphone, the sound is converted into
a continuously varying electrical signal, representing the analog nature of
sound.
o Radio Waves: Radio stations broadcast analog signals using various
modulation techniques such as AM (Amplitude Modulation) and FM
(Frequency Modulation).
2. Digital Signal: A digital signal is a discrete signal that represents digital data, often in the
form of binary (0s and 1s).
• Characteristics:
o Discrete: The signal only takes on specific values, usually two distinct levels,
such as 0 (low) and 1 (high).
o Pulse-like Form: The signal is composed of square waves or pulses that
switch between two voltage levels, representing the binary nature of digital
data.
o Robust to Noise: Digital signals are less susceptible to noise and can be
regenerated accurately at intervals during transmission, ensuring data integrity
over long distances.
o Bandwidth Efficient: Due to their discrete nature, digital signals can often
carry more data using techniques like compression and multiplexing.
Example:
o Ethernet Signals: In networking, data is transmitted using digital signals over
Ethernet cables, carrying binary information across computers.
o Digital Audio: Music stored in MP3 format on a computer is a digital signal,
consisting of a sequence of binary numbers representing the audio.
Key Differences Between Analog and Digital Signals:
Nature Continuous and smooth variations Discrete, binary values (0s and 1s)
Transmission
Physical (wires, cables) Wireless (air, vacuum, space)
Medium
Local Loops: Local Loops are the twisted pair cables that are used to connect a subscriber
telephone to the nearest end office or local central office. For voice purposes, its bandwidth is
4000 Hz. It is very interesting to examine the telephone number that is associated with each
local loop. The office is defined by the first three digits and the local loop number is defined
by the next four digits defines.
Trunks: It is a type of transmission medium used to handle the communication between
offices. Through multiplexing, trunks can handle hundreds or thousands of connections.
Mainly transmission is performed through optical fibers or satellite links.
Switching Offices: As there is a permanent physical link between any two subscribers. To
avoid this, the telephone company uses switches that are located in switching offices. A
switch is able to connect various loops or trunks and allows a connection between different
subscribes.