Data Communication & Computer Networks
Data Communication & Computer Networks
Computer Networks
Dr. Muhammad Fayaz
Welcome
to Data Communication and
Networking!
Here’s what you need to know
as we get started:
o Active Engagement
• I encourage you all to participate actively.
o Course Materials
• Our primary textbook will be “[ ]”, but I
will also provide additional resources such
as research papers, case studies, and
online materials.
o Assignments
• You will have regular assignments. Timely
submission is crucial.
o Grades and Assessments
• There will be quizzes, a midterm, and a
final examination.
Here’s what you need to know
as we get started:
o Class Protocol
• Please ensure to mute your cell phones during class.
o Classroom Culture
• We foster a respectful and inclusive environment.
Everyone’s ideas and questions are valuable, so let’s
support each other in learning.
o Office Hours
• Monday to Wednesday (after 12:00).
• Email: [email protected]
o Final Thoughts:
• Remember, this field is always evolving. Keep an
open mind, be ready to learn, and don’t hesitate to
bring up new technologies or news related to
networking in our discussions.
DATA COMMUNICATION FUNDAMENTALS
Text
Numbers
Images
Audio
Video
DATA COMMUNICATION FUNDAMENTALS
o Data Representation
i. Text:
• Sequence of bits (0s or 1s)
• Different sets of patterns to represent text
symbols (each set is called: code)
• Code: mapping between a set of binary numbers
and the set of characters that they represent.
• ASCII:
• It uses a 7-bit binary code to represent text
characters, which allows for 128 unique
combinations.
• Example: The ASCII code for the uppercase letter
'A' is 65 in decimal, which is 1000001 in binary.
DATA COMMUNICATION FUNDAMENTALS
o Data Representation
i. Text:
• Common coding system today is: Unicode
• Unicode is a universal character encoding
standard that assigns a code to every
character and symbol in every language.
• Unicode uses: up to 32 bits to represent a
symbol or character in any language
(4,294,967,296)
DATA COMMUNICATION FUNDAMENTALS
o Data Representation
ii. Numbers:
• Represented by bit patterns
• The number is directly converted to a binary
number.
iii. Images:
• Represented by bit patterns
• A matrix of Pixels and each pixel represents a tiny
part of the image.
• Resolution: size of the pixels that is, the number of
pixels in each dimension (width and height).
• A higher resolution means that the image contains
more pixels
• High resolution: more memory is needed because
more bits are needed to store the additional pixels.
DATA COMMUNICATION FUNDAMENTALS
o Data Representation
iii. Images:
• Each pixel is assigned a bit pattern
• 1-bit pattern (black and white dots image)
• 2-bit pattern (4 levels of gray)
• RGB (color images)
• Example: if an image is purely black and white (two
color) each pixel can be represented by a value either
0 or 1, so an image made up of 10 x 10 pixel elements
would require only 100 bits in memory to be stored.
Simplex
Half-Duplex
Full-Duplex
DATA COMMUNICATION FUNDAMENTALS
o Data Flow
1. Simplex (one way street)
• The communication is unidirectional
• Only one device on a link can transmit; the
other can only receive
• Use the entire capacity of the channel to send
data
• Example: Keyboards, Monitors
DATA COMMUNICATION FUNDAMENTALS
o Data Flow
2. Half Duplex (one-lane with two-directional
traffic)
• Each station can both transmit and receive,
but not at the same time
• When one device is sending, the other can
only receive, and vice versa
• The entire capacity of a channel is taken over
by the transmitting device
• Example: Walkie-talkies
DATA COMMUNICATION FUNDAMENTALS
o Data Flow
3. Full Duplex (two-way street)
• Both stations can transmit and receive at
same time
• Signals going in either direction sharing the
capacity of the link
• Example: Telephone network
o Data Representation
iii. Audio:
• Continuous not discrete
• Change to digital signal
iv. Video:
• Recording or broadcasting of a picture or movie
• Change to digital signal
Computer Network
DATA COMMUNICATION FUNDAMENTALS
o Network
2. Reliability
3. Security
• Protecting data from unauthorized access
• Protecting data from damage and
development
• Implementing policies and procedures for
recovery from breaches and data losses
(Recovery plan)
o Data Representation
iii. Audio:
• Continuous not discrete
• Change to digital signal
iv. Video:
• Recording or broadcasting of a picture or movie
• Change to digital signal
Physical Structures
DATA COMMUNICATION FUNDAMENTALS
o Physical Structures:
• Type of connection
• Network: Two or more devices connected
through links
• Link: Communication pathway that transfers
data from one device two another
• Two devices must be connected in some
way to the same link at the same time. Two
possible types:
• Point-to-Point
• Multipoint
DATA COMMUNICATION FUNDAMENTALS
o Physical Structures:
o Point-to-Point
• Dedicated link between two devices
• Entire capacity of the link is reserved for
transmission between those two devices
• Can be established using an actual physical
medium, such as a wire or cable.
• Other options, microwave or satellite is possible
• Example: Television remote control
DATA COMMUNICATION FUNDAMENTALS
o Physical Structures:
o Multipoint
• More than two devices share a single link
• Capacity is shared
• Channel is shared either spatially or
temporally
• Spatially shared: if devices use link at
same time
• Timeshare: if users must take turns
o Data Representation
iii. Audio:
• Continuous not discrete
• Change to digital signal
iv. Video:
• Recording or broadcasting of a picture or movie
• Change to digital signal
Physical Topology
DATA COMMUNICATION FUNDAMENTALS
o Physical Topology
o Mesh
• Advantages
• Each connection carry its own data load
(no traffic problems)
• A mesh topology is robust
• Privacy or security
• Fault identification and fault isolation
DATA COMMUNICATION FUNDAMENTALS
o Physical Topology
o Mesh
• Disadvantages
• Big amount of cabling
• Big number of I/O ports
• Installation and reconnection are difficult
• Hardware connect to each I/O could be
expensive
DATA COMMUNICATION FUNDAMENTALS
o Physical Topology
o Star
• Disadvantages
• Dependency of the whole topology on one
single point (hub)
• More cabling than other topologies (ring or
bus)
DATA COMMUNICATION FUNDAMENTALS
o Physical Topology
o Bus
• It is multipoint
• One long cable acts as a backbone
• Nodes connect to cable by drop lines and
taps
• Signal travels along the backbone
DATA COMMUNICATION FUNDAMENTALS
o Physical Topology
o Bus
• Advantages
• Ease of installation
• Less cables than mesh, star topologies
• Disadvantages
• Difficult reconnection and fault isolation
( limit of taps)
• Adding new device requires modification
of backbone
• Fault or break stops all transmission
DATA COMMUNICATION FUNDAMENTALS
o Physical Topology
o Ring
• Each device has dedicated point-to-point
connection with only the two devices on
either side of it
• A signal is passed along the ring in one
direction from device to device until it
reaches its destination
• Each devices incorporates a Repeater
DATA COMMUNICATION FUNDAMENTALS
o Physical Topology
o Ring
• Advantages
• Easy of install and reconfigure
• Connect to immediate neighbors
• Move two connections for any moving
(Add/Delete)
• Disadvantages
• Unidirectional
• One broken device can disable the entire
network.
o Data Representation
iii. Audio:
• Continuous not discrete
• Change to digital signal
iv. Video:
• Recording or broadcasting of a picture or movie
• Change to digital signal
Categories of Networks
DATA COMMUNICATION FUNDAMENTALS
o Categories of Networks
o Multiple-building-LAN
DATA COMMUNICATION FUNDAMENTALS
o Wide Area Networks (WAN)
o Provides long-distance transmission of data
over large geographic areas (country,
continent, world)
DATA COMMUNICATION FUNDAMENTALS
o Metropolitan Area Networks (MAN)