Data Communication CS601 Lecture No 26 Topic 149 to 155 By Abid Ali.pdf

Verified academic study resource for CS601 (Data Communication) under the Computer Science at Virtual University of Pakistan. This PDF document (Official Lecture Handouts & Highlighted Notes) covers Complete Course Handouts (Lectures 1 to 45) spanning approximately 450 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS601 – Data Communication
Faculty
Computer Science
Format
PDF
Type
Handout
Coverage
Complete Course Handouts (Lectures 1 to 45)
Tags
LECTURE

Virtual University examiners construct 100% of objective MCQs and subjective marking schemes directly from the official CS601 handouts.

What this file covers — CS601 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download Data Communication CS601 Lecture No 26 Topic 149 to 155 By Abid Ali.pdf for free?

You can preview and download "Data Communication CS601 Lecture No 26 Topic 149 to 155 By Abid Ali.pdf" (CS601 PDF, ~450 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/data-communication-cs601-lecture-no-26-topic-149-to-155-by-abid-ali-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS601 file?

This document covers Complete Course Handouts (Lectures 1 to 45) across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS601 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS601 solved past papers and handouts verified for 2026 exams?

Yes. All CS601 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Data Communication CS601 Lecture No 26

Lecture Prepared By
Muhammad Abid Ali

We are also Provide Online Classes for CS601
Contact Us on WhatsApp for join our online Classes
WhatsApp No 03449767315

CS601 Lecture No 26 Topic 149 to 155
Data Link Control (DLC) Services
   •   The data link control (DLC) deals with procedures for communication between two
       adjacent nodes no matter whether the link is dedicated or broadcast
   •   Data link control functions include framing, flow control and error control

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Framing
   •   Data-Link layer needs to pack bits into frames, so that each frame is distinguishable from
       another
   •   Our postal system practices a type of framing
   •   Framing separates a message by adding a sender address and a destination address
   •   The destination address defines where the packet is to go; the sender address helps the recipient
       acknowledge the receipt

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Parts of a Frame
A frame has the following parts −
          •   Frame Header − It contains the source and the destination addresses of the frame.
          •   Payload field − It contains the message to be delivered.
          •   Trailer − It contains the error detection and error correction bits.
          •   Flag − It marks the beginning and end of the frame.
Delimiter
In computer programming, a delimiter is a character that identifies the beginning or the end of a
character string (a contiguous sequence of characters). The delimiting character is not part of the
character string.

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Why not one BIG Frame?
Data-link layer takes the packets from the Network Layer and encapsulates them into frames. If the frame
size becomes too large, then the packet may be divided into small sized frames. Smaller sized frames
make flow control and error control more efficient.

Types of Framing
Framing can be of two types, fixed sized framing and variable sized framing.

Fixed-sized Framing

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Here the size of the frame is fixed and so the frame length acts as delimiter of the frame. Consequently,
it does not require additional boundary bits to identify the start and end of the frame.
Example − ATM cells.

Variable – Sized Framing
Here, the size of each frame to be transmitted may be different. So additional mechanisms are kept to
mark the end of one frame and the beginning of the next frame.
It is used in local area networks.
Two ways to define frame delimiters in variable sized framing are −
   •   Length Field − Here, a length field is used that determines the size of the frame. It is used in
       Ethernet (IEEE 802.3).
   •   End Delimiter − Here, a pattern is used as a delimiter to determine the size of frame. It is used
       in Token Rings. If the pattern occurs in the message, then two approaches are used to avoid the
       situation −

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Connection Oriented Framing
   • Data to be carried are 8-bit characters
   •   Byte – Stuffing − A byte is stuffed in the message to differentiate from the delimiter. This
       is also called character-oriented framing.
   •   Bit – Stuffing − A pattern of bits of arbitrary length is stuffed in the message to
       differentiate from the delimiter. This is also called bit – oriented framing.

Byte Stuffing in Connection-Oriented Framing
   •   Connection-oriented Framing used text characters as flags
   •   Nowadays any character used for flag can also be a part of the data
   •   In order to avoid confusing the receiver, we use Byte Stuffing

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Bit-Oriented Framing
   •   Data section of frame is a sequence of bits
   •   We need a delimiter to separate one frame from the other
   •   A special 8-bit pattern (01111110) to define beginning and end of a frame
   •   Same issue as Connection-oriented Framing

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Flow and Error Control
One of the responsibilities of the data-link control sublayer is flow and error control at the data-link
layer

Flow Control
   •   Balance between production and consumption rates
   •   If frames are produced faster than they are consumed at the receiving data link layer, the
       frames will be discarded
   •   Use of buffers; one at sending end and other at receiving end

Visit Our Channel for CS601 Short Lectures
Learning With Abid Ali
https://www.youtube.com/watch?v=-0kr2sG8JUQ&list=PLAUocDaOe9K6nDHAxKa-7fHsIFAKBPE8q&index=9

Example

More CS601 files

All CS601 files · Midterm Prep 2026 · MCQs Bank