Data Communication Components · Computer Networks

Data Flow in Networks

Watch lectures
SVGVector Architecture Diagram (SVG)
COMPUTER NETWORKS · Module 1★ High PriorityData Flow in NetworksIT Sem 6 · Code 100602 · Simplex, half-duplex, full-duplex, serial, parallelMNEMONICSimplex = one way, Half = take turns, Full = both at once (phone, switched LAN).Serial = 1 wire, bits in a line. Parallel = n wires, fast but only short range.Core BreakdownSimplexStrictly one-way: one transmitter, one receiver, no feedback possible.Examples: keyboard to CPU, TV and FM radio broadcast.Half-duplexBoth directions but only one at a time; line turnaround delay.Examples: walkie-talkie, hub-based shared Ethernet (CSMA/CD).Full-duplexBoth sides send and receive together on two paths.Separate wire pairs, FDD or echo cancellation: telephone, switched Ethernet.Paralleln bits together on n wires: fast, but clock skew and crosstalk.Suits short distances such as internal buses and ribbon cables.SerialOne bit after another on a single line; long distance, high clock rate.Needs parallel-to-serial conversion at the sender (UART).Async/SyncAsynchronous adds start (0) and stop (1) bits per byte: 2-3 bits overhead.Synchronous uses a shared clock and block transfer: efficient (Ethernet).Diagram: Direction and WiresSimplex: one way onlyABHalf-duplex: turns (time 1, time 2)ABFull-duplex: both togetherABParallel: n wires | Serial: 1 wirebit 0bit 1bit 2bit 30 1 1 0 1 0 0 1Parallel: skew, crosstalk, shortSerial: long range, high clock rateAsync start/stop, sync shared clock⚠️ Exam Traps & Viva Favorites① Why serial beats parallel?At high speed parallel wires suffer clock skewand crosstalk. Serial avoids skew and reachesmulti-gigabit rates with differential signalling.② Walkie-talkie full-duplex?No. One shared frequency means users alternatewith push-to-talk: half-duplex. Phones andswitched Ethernet are full-duplex.③ Channel capacity formula?Shannon: C = B log2(1 + SNR), B in Hz. Morebandwidth or a better signal-to-noise ratioraises the maximum data rate.Tip: Simplex 1-way, Half turns, Full bothMaster Revision Table(learn it row by row!)ParameterSimplexHalf-duplexFull-duplexDirectionUnidirectionalBidirectional, alternatingBidirectional, simultaneousSend and receiveOne sends, other receivesBoth, but not togetherBoth at the same timeBandwidth useWhole channel, one directionWhole channel, active sideShared or doubledTurnaround delayNoneYes, switching timeNoneCost / complexityLowestModerateHighestExampleKeyboard to CPU, FM radioWalkie-talkie, hub EthernetPhone call, switched LANQUICK FACTSUTP Cat5e/6 has 4 pairs, so Tx and Rx run on separate pairs for full-duplexAsync: 8-bit byte + start + stop = 10 bits, 20% overhead · RS-232, console portsSync links: Ethernet, SONET, HDLC · Shannon C = B log2(1 + SNR)VERIFIED★ Golden rule: count the directions, thenask whether they happen together.

Data Flow in Computer Networks


1. Transmission Modes (Direction of Data Flow)

The direction and timing in which data moves between two connected devices is defined by Transmission Modes. There are three primary modes of communication:

MermaidDiagram
Rendering diagram…

2. Detailed Breakdown of Transmission Modes

A. Simplex Mode

  • Mechanism: The communication is strictly unidirectional. On a given link, only one device is the designated transmitter (TX), and the other device is the designated receiver (RX).
  • Channel Capacity: 100%100\% of the channel capacity is dedicated to transmitting in one fixed direction.
  • Advantages: Simple hardware design, lowest cost, no collision or turnaround delay.
  • Disadvantages: No mechanism for feedback, acknowledgment, or error correction from the receiver.
  • Real-World Examples:
    • Keyboard to CPU data transfer.
    • Traditional TV and FM radio broadcasting.
    • Monitor/Display receiving signals from a graphics card (HDMI/VGA unidirectionally for display data).

B. Half-Duplex Mode

  • Mechanism: Data can flow in both directions, but only one direction at a time.
  • When Device A is transmitting, Device B must listen (receive). Once transmission completes, the line can turn around so Device B can transmit.
  • Channel Capacity: The full capacity of the transmission link is utilized by whichever direction is currently transmitting.
  • Turnaround Time: The time required to switch the line direction (hardware delay in transceiver switching).
  • Advantages: Allows bidirectional exchange using a single physical channel without splitting frequency bands.
  • Disadvantages: Cannot send and receive simultaneously; turnaround delays can reduce overall throughput.
  • Real-World Examples:
    • Walkie-Talkies (CB Radio): Users press "Push-to-Talk" (PTT) and say "Over" to release the channel.
    • Classic Shared Ethernet (Hub-based 10Base-T) using CSMA/CD.

C. Full-Duplex Mode

  • Mechanism: Both stations can transmit and receive simultaneously.
  • Implementation Methods:
    1. Dual Physical Links: Separate physical wire pairs for transmission (TxTx) and reception (RxRx) (e.g., Cat5e/Cat6 4-pair UTP cable).
    2. Frequency/Channel Division: Splitting the available channel bandwidth into two separate frequency bands (Frequency Division Duplexing - FDD).
    3. Echo Cancellation: Advanced DSP techniques separating transmitted and received signals on the same wire simultaneously.
  • Channel Capacity: Channel capacity is effectively doubled compared to half-duplex because signals flow concurrently in both directions.
  • Advantages: Maximum throughput, zero turnaround delay, immediate acknowledgment.
  • Real-World Examples:
    • Telephone and Cellular voice calls (both parties can speak and listen at the same time).
    • Modern Switched Ethernet (100Base-TX, 1000Base-T, 10GBase-T).

3. Transmission Mode Comparison Table

Parameter Simplex Half-Duplex Full-Duplex
Direction Unidirectional Bidirectional, alternating Bidirectional, simultaneous
Sending/Receiving One can only send; other can only receive Both can send & receive, but not together Both can send & receive at the same time
Bandwidth Utilization Entire bandwidth in one direction Entire bandwidth in active direction Shared or doubled bandwidth
Turnaround Delay None Yes (switching time) None
Cost / Complexity Lowest Moderate Highest
Standard Example Keyboard →\rightarrow Monitor Walkie-Talkie, CSMA/CD Mobile phone, Switched LAN

4. Transmission Types: Serial vs. Parallel

Data flow also differs in how binary bits are physically transferred across conductors:

MermaidDiagram
Rendering diagram…
  1. Parallel Transmission:
    • Multiple bits (nn bits, typically 8, 16, 32, or 64) are sent simultaneously across nn separate physical wires.
    • Ideal for short distances inside a computer (internal buses, ribbon cables).
    • Suffers from Clock Skew and Crosstalk over longer distances.
  2. Serial Transmission:
    • Bits are transmitted sequentially, one bit after another, over a single line.
    • Requires parallel-to-serial conversion at sender (e.g., UART) and serial-to-parallel at receiver.
    • Dominates long-distance networking (Ethernet, Fiber Optics, USB, PCIe, SATA).

Serial Modes: Asynchronous vs. Synchronous

Feature Asynchronous Serial Synchronous Serial
Timing Uses Start (0) and Stop (1) framing bits Common clock signal shared between TX & RX
Gaps Variable gaps allowed between characters Continuous stream of bits with no arbitrary gaps
Efficiency Low (overhead of 2-3 extra bits per 8-bit byte) High (minimal framing overhead, block transfer)
Use Case Low-speed serial interfaces (RS-232, console ports) High-speed data links (Ethernet, SONET, HDLC)

Frequently Asked Questions

QWhy has Serial transmission replaced Parallel transmission in high-speed links?

At high frequencies, parallel lines suffer from clock skew (signals arriving at slightly different times due to tiny length differences) and crosstalk (electromagnetic interference between adjacent wires). Serial links avoid skew entirely and can achieve multi-gigabit rates using differential signaling.

QCan a walkie-talkie be considered full-duplex?

No, because it uses a single shared frequency where users must alternate transmitting and receiving (Half-Duplex).

QWhat is the key factor determining channel capacity?

Shannon's Capacity Theorem: C=Blog⁡2(1+SNR)C = B \log_2(1 + \text{SNR}), where BB is bandwidth in Hz and SNR\text{SNR} is Signal-to-Noise Ratio.

QDifferentiate Simplex, Half-Duplex and Full-Duplex with examples.

Simplex is one-way only (keyboard to CPU, FM radio). Half-duplex is two-way but alternating (walkie-talkie, hub-based Ethernet). Full-duplex is two-way simultaneous (telephone, switched Ethernet).

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.

← All Computer Networks modules