CS Atlas GATE 2027
Computer Networks course
0 / 90 complete

Computer Networks/Phase 2 · Data Link Layer

Lesson 2.3.1 · Item 31 of 90

The multiple access problem; collisions; channel partitioning

Read at your own pace. Try the questions before opening the answers.

On this page

Recall warm-up

  1. How many CRC bits does G = 1101 produce?
    Stuck? Peek at 2.2.4 CRC: generator polynomial, modulo-2 division, what CRC catches
    • G of degree r (r + 1 bits); append r zeros, divide modulo 2, send data + r-bit remainder.
    • Receiver divides the whole frame: remainder 0 → accept.
    • Undetected ⇔ error pattern E is a multiple of G.
    • Catches: all single-bit errors (≥ 2 terms), all odd counts (x + 1 | G), all bursts ≤ r; (r+1)-bursts missed w.p. 2⁻⁽ʳ⁻¹⁾, longer 2⁻ʳ.

    Read lesson 2.2.4

  2. Which errors does 1-D parity miss?
    Stuck? Peek at 2.2.1 Single-bit vs burst errors; redundancy; 1-D and 2-D parity
    • Single-bit vs burst; burst length = first to last damaged bit inclusive.
    • Codeword = dataword (k) + r check bits.
    • 1-D parity: detects odd numbers of flips only.
    • 2-D parity: R + C + 1 check bits; detects all 1–3-bit errors, corrects 1, misses some 4-bit rectangles.

    Read lesson 2.2.1

  3. What happens on a broadcast link if two nodes send at once?
    Stuck? Peek at 0.1.2 Nodes, links, topologies, LAN/WAN and the boxes in the middle
    • Node = any device; host = node where messages start/end.
    • Point-to-point (2 nodes) vs broadcast (all hear all).
    • Simplex (one way) · half-duplex (two ways, one at a time) · full-duplex (both at once).
    • Links: mesh n(n−1)/2, star n, ring n, tree n−1, bus 1 backbone.
    • LAN (building) ⊂ WAN (cities) ⊂ the Internet (network of networks).
    • Hub repeats to all · switch delivers within a LAN · router picks the next network.

    Read lesson 0.1.2

The Hook

A classroom where everyone talks at once: nobody is understood. Teachers solve it in three ways — fixed speaking turns, raising hands and being called on, or just speaking and apologising if you clash. A shared (broadcast) link needs exactly such rules, called medium access control (MAC). Our frame cannot leave the laptop until the rules say it may.

Predict First

Ten stations share a 1 Mbps link by taking strict turns of equal length. Only one station has data right now. What rate does it get?

,

Only 100 kbps — one turn in ten — even though the other nine have nothing to send. Fixed partitioning is fair and collision-free, but wasteful when traffic is bursty.

Core Concept

The multiple access problem and collisions

A collision happens when two or more nodes transmit on a shared link at overlapping times: the receivers get a garbled mix and every frame involved is lost.

A MAC protocol (medium access control) decides who may transmit when on a shared link. It runs in a distributed way — there is usually no referee.

station A
frame A
station B
frame B
channel
A okcollisionB (already ruined)
0123456
Overlapping transmissions collide; both frames are lost.

Three families of MAC protocols

FamilyIdeaExamples (this chapter)
Channel partitioningsplit the channel into fixed piecesTDMA, FDMA
Random accesssend when you like; recover from collisionsLessons 2.3.2–2.3.4
Controlled access (taking turns)a schedule decides who sends nextLesson 2.3.5
Every MAC protocol in GATE belongs to one of these.

TDMA and FDMA (channel partitioning)

  • TDMA (time division multiple access): time is cut into rounds of N slots; station i always uses slot i. Each station gets R/N, never collides, but waits for its own slot and wastes empty slots.
  • FDMA (frequency division): the band is cut into N sub-bands; each station gets its own band at R/N.
round 1
S1S2S3S4S5
round 2
S1S2S3S4S5
012345
TDMA with 5 stations: only S2 has data, yet it may use only one slot per round.

Putting it together

  • Shared links need a MAC protocol to avoid or recover from collisions.
  • Partitioning is fair and collision-free but wastes idle capacity.
  • Random access and taking turns are the alternatives.

Visual

Partitioning
no collisions · R/N each · wastes idle shares
Random access
full rate R when alone · collisions under load
Taking turns
no collisions · overhead of organising turns
The three answers to the classroom problem.

Worked Examples

Easy

TDMA with 10 stations on a 1 Mbps link. Rate per station?

Show the full solution

1 Mbps / 10 = 100 kbps.

Medium

Same TDMA, slots of 1 ms. A frame arrives at a station just after its slot ended. Worst-case wait before it may start sending?

Show the full solution

The other 9 stations' slots pass first: 9 × 1 ms = 9 ms.

GATE

10 stations use TDMA; at some moment only 2 have data. What fraction of the channel time is wasted? Which family of MAC protocol would use the channel better here?

Show the full solution

8 of 10 slots go unused → 80 % wasted. With bursty, light traffic a random-access protocol lets an active station use the full rate.

GATE Traps

  • Channel partitioning has no collisions but wastes capacity when stations are idle.
  • A collision ruins all frames involved, not just the later one.

Memory Hook

"Fixed turns are fair but slow; free talk is fast but clashes."

Connect the Dots

Partitioning wastes idle time. Next (2.3.2): the opposite extreme — let any station send whenever it has a frame, and simply resend after collisions. How much of the channel is then actually useful?

Self-Test

  1. NAT

    FDMA divides a 2 Mbps channel among 8 stations. Rate per station in kbps?

    Write your answer before opening the key.

  2. MCQ

    Which MAC family can have collisions?

    1. TDMA
    2. FDMA
    3. Random access
    4. Taking turns
  3. MSQ

    Which are true of TDMA?

    1. Each station gets R/N.
    2. Unused slots can be borrowed by busy stations.
    3. There are no collisions.
    4. A station may have to wait for its slot.
  4. NAT

    TDMA, 20 stations, slot 0.5 ms. Worst-case wait (ms) for a station that just missed its slot?

    Write your answer before opening the key.

Rule Card

  • Collision: overlapping transmissions on a shared link; all involved frames lost.
  • MAC families: partitioning (TDMA/FDMA), random access (send freely, recover from collisions), taking turns (an orderly schedule).
  • TDMA/FDMA: R/N per station, no collisions, idle shares wasted, wait up to (N − 1) slots.

Concept Ledger

  • multiple access problem
  • collision
  • MAC protocol (medium access control)
  • channel partitioning: TDMA, FDMA
  • random access
  • controlled access (taking turns)

Answer Vault

Try the questions first. Open when you are ready to check.

Warm-up answers

  1. 3.
  2. Any even number of flipped bits.
  3. Their signals mix and both are spoiled.

Self-test answers

  1. 250 — 2000 / 8 = 250 kbps.
  2. C — Random access lets stations send at will.
    • A: Fixed slots — no collisions.
    • B: Fixed bands — no collisions.
    • D: Only the station whose turn it is sends.
  3. ACD — Fixed share, collision-free, waiting for the slot.
    • B: Slots are fixed; idle slots are wasted.
  4. 9.5 — 19 × 0.5 ms = 9.5 ms.

Flashcards

  1. Three MAC families?
    Reveal answerChannel partitioning, random access, taking turns.
  2. TDMA rate per station?
    Reveal answerR/N.
  3. Collision?
    Reveal answerOverlapping transmissions on a shared link — all frames lost.

Exam shortcuts

  • TDMA/FDMA share = R / N; worst-case wait = (N − 1) slot times. — N stations, equal fixed slots or bands.

Ready for the next idea?

Mark this item complete when you’ve finished reading and working through it.