Data Communication · Lecture 1
How two machines agree to talk: components, data flow, networks, topologies, and layered models
Md Mahbub E Noor · Assistant Professor, Department of CSE, University of Barishal
Course: Data Communication · 2nd Year, 2nd Semester
01 Introduction
02 Data & Signals I
03 Data & Signals II
04 Transmission Media
05 Analog → Digital
06 Digital → Digital
07 Digital → Analog
08 Analog → Analog
09 Multiplexing
10 Switching
11 Framing & Errors
12 Link Control
13 Multiple Access
14 Wireless Basics
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
2 / 26
Data reaches the correct destination, and only that destination
Data arrives unaltered; corrupted data is unusable
Data arrives in time; late audio or video is useless
Delay between packets stays even, not uneven
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
3 / 26
⑤ Protocol · Rule 1 · Rule 2 · … · Rule n, agreed by both sides
② Sender
computer, phone, camera
④ Medium
cable · fibre · air
③ Receiver
server, phone, printer
① Message: the text “Hi”
01001000 01101001
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
4 / 26
| Data | Code or rule | Bits |
|---|---|---|
| Letter ‘A’ | ASCII code 65 | 0100 0001 |
| Bengali ‘ক’ | Unicode U+0995, UTF-8 | 3 bytes: E0 A6 95 |
| Number 13 | Binary integer | 0000 1101 |
| One orange pixel | RGB (255, 128, 0) | 24 bits |
| 1 s of phone voice | 8,000 samples × 8 bits | 64,000 bits |
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
5 / 26
Checkpoint 1 · 3 minutes
During a video call, packets arrive 30 ms, then 120 ms, then 40 ms apart. Which characteristic is violated?
Two laptops are joined by a working cable, yet nothing they exchange is understood. Which component is missing?
How many bits does the word “Hello” need in 8-bit ASCII?
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
6 / 26
Simplex: keyboard → computer
Device A
Device B
one way, always
Half-duplex: walkie-talkie
Device A
Device B
one direction at a time
Full-duplex: phone call
Device A
Device B
both directions at once
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
7 / 26
| Term | Meaning | On a highway |
|---|---|---|
| Bandwidth | Maximum capacity of a link | Number of lanes |
| Throughput | Data actually delivered per second | Cars that actually pass per minute |
| Latency | Time for data to travel end to end | Travel time from city A to city B |
More lanes do not make the trip shorter: bandwidth and latency are different quantities.
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
8 / 26
Point-to-point: a dedicated link
Device A
Device B
Multipoint: one shared link
Station 1
Station 2
Station 3
Station 4
All stations share the capacity, at the same time or by taking turns
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
9 / 26
Mesh · n(n−1)/2 links
Star · n links to a hub
Bus · one shared backbone
Ring · n links in a loop
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
10 / 26
| Topology | Cabling for n devices | Strength | Weakness | Seen today in |
|---|---|---|---|---|
| Mesh | n(n−1)/2 links; n−1 ports per device | Robust, private, no shared traffic | Cabling and ports grow very fast | Internet backbone (partial mesh) |
| Star | n links; 1 port per device, n on the hub | Cheap, easy to install; one bad link affects one device | Hub is a single point of failure | Home and office Ethernet, Wi-Fi |
| Bus | 1 backbone + n drop lines | Least cabling | One break stops everyone; faults hard to find | Early coaxial Ethernet (10BASE5) |
| Ring | n links; 2 ports per device | Easy to install and isolate faults | One break can stop a one-way ring | Token Ring, metro fibre rings |
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
11 / 26
Interactive
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
12 / 26
Full mesh
links
9 ports on every computer
Star
links
1 port per computer plus one 10-port switch
Double the office to 20 devices: the mesh needs 190 links, the star only 20.
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
13 / 26
Checkpoint 2 · 3 minutes
Six devices form a full mesh. How many links are needed, and how many ports does each device need?
In which topology does a single cut in the main cable stop every device from communicating?
Name the data-flow mode of a TV broadcast and of a walkie-talkie conversation.
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
14 / 26
LAN
Office, building or campus · up to a few km
MAN
Town or city · e.g., a city-wide cable or fibre network
WAN
Country, continent or world · run by carriers
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
15 / 26
Backbone ISP
Backbone ISP
Provider ISP
Provider ISP
Provider ISP
Home
Campus
Office
Home
Mobile
peering
Customer networks at the edge; providers in the middle; backbones at the core
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
16 / 26
≈ grammar
The structure or format of the data
Ethernet: first 6 bytes = destination address, next 6 = source
≈ vocabulary
The meaning of each section of bits
Does this field mean “data”, “acknowledge” or “resend”?
≈ turn-taking
When data is sent and how fast
A 100 Mbps sender can overwhelm a 1 Mbps receiver
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
17 / 26
| Organisation | Known for |
|---|---|
| ISO | The OSI reference model |
| ITU-T | Telephony and telecom standards |
| IEEE | 802.3 Ethernet, 802.11 Wi-Fi |
| ANSI | US national standards; ASCII |
| EIA / TIA | Cabling and physical interfaces (e.g., Cat 6, RS-232) |
| IETF | Internet protocols, published as RFCs |
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
18 / 26
Sender
Receiver
Higher: write the letter, drop it in a mailbox
Higher: pick up the letter and read it
Middle: post office collects and sorts it
Middle: post office sorts and delivers it
Lower: carrier moves it by truck or plane
Lower: carrier brings it to the local office
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
19 / 26
7 · Application
6 · Presentation
5 · Session
4 · Transport
3 · Network
2 · Data link
1 · Physical
Application
Transport
Network
Data link
Physical
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
20 / 26
Application
message
Transport
segment
Network
datagram
Data link
frame
Physical
bits
0110 1011 0010 …
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
21 / 26
Interactive
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
22 / 26
Click the video to play or pause · Press → for full screen
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
23 / 26
Checkpoint 3 · 3 minutes
Which layer is responsible for hop-to-hop delivery of frames across one link?
A university links every building on its own campus. Is this a LAN, MAN or WAN?
“The first 6 bytes are the destination address.” Is this syntax, semantics or timing?
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
25 / 26
Next lecture
Think about before next class: when your phone sends a photo over Wi-Fi, what physically travels through the air? It is not 0s and 1s.
Reading: Forouzan, Data Communications and Networking, Chapters 1 and 2
Md Mahbub E Noor
Lecture 1: Introduction to Data Communications
University of Barishal
26 / 26