Selective Repeat - ARQ

Duration: 5 min

This video lesson is available to enrolled students.

Return to /learn/HPSC-PGT-COMPUTER-SCIENCE/computer-networks/dll-flow-control/selective-repeat-arq/asset-selective-repeat-arq after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. HPSC Interview Preparation: Interview Preparation
  2. Python Language: Introduction to Python Tokens, Variables, Data Types, I/O Operators & Expressions Control Flow & Looping Collections & Strings Functions & Modules File Handling & Data Analysis DSA using Python
  3. Data Structure & Algorithms: Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing Algorithm Analysis Sorting Algorithms Minimum Spanning Trees Time Complexity Analysis Graph Theory Shortest Path Algos
  4. Computer Networks: Introduction to CN Data Communication DLL: Access Control DLL: Flow Control Data Link Layer - Ethernet Net Layer: IPv4 & Proto Net Layer: IP Addressing Transport Layer Services TL: Congestion & UDP Application Layer Hardware basics Network Security
  5. Computer System & Organisation: Basics of COA Cache Memory Organization Input Output Organisation Pipelining Instr Formats & Modes Control Unit Design Programming the Basic Computer
  6. Database Management System: Basics of DBMS ER Diagram Relational Model & Functional Dependencies Keys & Integrity Constraints Normalization (1NF - BCNF) Decomposition Properties & 4NF SQL File Organization & Indexing Transaction Management Concurrency Control
  7. Operating Systems: Introduction to OS Process Management CPU Scheduling Process Synchronization Deadlock Threads & Process Creation Memory Management Virtual Memory Disc Scheduling
  8. Digital Logic & Circuits: Digital Systems & Boolean Basics Logic Gates & Hardware Boolean Expression Boolean Minimization Combinational Circuit Sequential Circuits Number System Number Representation
  9. Theory Of Computation: Introduction to TOC Deterministic FA (DFA) Non-Deterministic FA Regular Expressions Grammar Regular Language Properties Pushdown Automata & CFG Turing Machines
  10. Compiler Design: Intro to Compilers Lexical Analysis Grammar & CFG Syntax Analysis: Top-Down Syntax Analysis: Bottom-Up Semantic Analysis & SDT Intermediate Code Gen Code Optimization Run Time Environment
  11. Software Engineering: Fundamentals of Software Engineering Software Requirements and Quality Assurance Software Design, Estimation and Metrics Software Testing Software Maintenance and Configuration Management Data Warehousing & Mining
  12. Introduction to Emerging Trends: Emerging Trends and AI Sets, Relations, Functions and Discrete Mathematics Trade, Marketing and Consumer Protection Internet of Things Cloud Computing अनुक्रम, श्रेणी और संयोजन आव्यूह और रैखिक बीजगणित वास्तविक और सम्मिश्र विश्लेषण Mathematics Pedagogy International Economics Electrostatics and Current Electricity Optics and Photonics Folk Art and Crafts Analysis of Financial Statements Business Foundations and Entrepreneurship Number Systems and Number Theory Solid State Physics and Electronics Number System Multimedia Network Access Technologies
  13. Digital Society & Cyber Law: Society, Law & Ethics Teaching Aids and Educational Technology Digital India and Online Services Culture, Socialisation and Social Control Communication Contexts and Media Public Administration and Governance MS Office Applications Language Design Web Publishing & Hosting C Fundamentals Internet Fundamentals
  14. HPSC PGT Previous Year Paper:
  15. HPSC Assistant Professor Previous Year Paper:
  16. Live Sessions: HPSC Live Sessions EMRS TGT/PGT Live Class
  17. Full Mock Test:
  18. HPSC PGT - MOCK Test Series:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces Selective Repeat Automatic Repeat Request (ARQ), a protocol designed for noisy links where only damaged frames are resent rather than multiple frames. The instructor contrasts this with Go-Back-N ARQ, emphasizing that Selective Repeat requires the sender and receiver window size to be at most one-half of 2^m. The session progresses through timer handling mechanisms, where a tree diagram illustrates that one timer is used for each frame sent. Key events include the loss of Frame 1, triggering a NAK and subsequent retransmission of specific frames. The instructor explains that if a valid NAK frame arrives, the sender resends only the corresponding frame. The lecture concludes with mathematical derivations for sequence and acknowledgement numbers, utilizing formulas like $W_s = (1 + 2a)$ to maximize efficiency and calculating bits required as $ ext{ceil}( ext{log}_2(1 + 2a))$.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The video begins with a presentation slide titled "Selective Repeat Automatic Repeat Request" contrasting the protocol with Go-Back-N ARQ. Text on screen explains that for noisy links, a mechanism exists where only damaged frames are resent rather than multiple frames. The scene shifts to a detailed timing diagram illustrating communication between Sender A and Receiver B, showing frame transmission, acknowledgments, a lost frame event, and subsequent retransmission. Visible text notes that the sender and receiver window size must be at most one-half of 2^m.

  2. 2:00 – 5:00 02:00-05:00

    The instructor explains the timer handling mechanism in Selective Repeat ARQ, drawing a tree diagram to illustrate how timers are managed for each frame sent. The slide details a sequence where Frame 1 is lost, triggering a NAK and subsequent retransmission of frames. The instructor highlights the NAK arrow to emphasize that a valid NAK triggers a retransmission of only the specific missing frame. On-screen text states, "If a valid NAK frame arrives, we just resend the corresponding frame," and shows Frame 1 (resend) following a NAK.

  3. 5:00 – 5:26 05:00-05:26

    The video features a lecturer explaining "Sequence and Acknowledgement Numbers" for Selective Repeat ARQ. The whiteboard displays formulas for maximizing efficiency, specifically the window size $W_s = (1 + 2a)$ and the bits required $ ext{ceil}( ext{log}_2(1 + 2a))$. Handwritten calculations show the derivation of sequence number bits, starting with $75 + 1 = 76$ and comparing powers of 2 like $2^6=64$, $2^7=128$, and $2^8=256$. The instructor writes out utilization formulas involving transmission time ($T_T$) and propagation delay ($T_P$).

The lecture systematically builds understanding of Selective Repeat ARQ by first defining its core advantage over Go-Back-N: selective retransmission of only damaged frames. The instructor uses visual timing diagrams to demonstrate the protocol's operation, specifically focusing on how lost frames trigger NAKs and specific retransmissions. A critical constraint highlighted is the window size limitation of $2^{m-1}$ to prevent ambiguity. The session concludes with practical mathematical applications, deriving the necessary sequence number bits and window sizes to maximize channel utilization based on propagation delay and transmission time. This progression from conceptual definition to operational mechanics and finally to mathematical optimization provides a comprehensive overview of the protocol's design principles.

Loading lesson…