Data Communication CS601 Lecture No 24 Topic 135 to 142 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 24 Topic 135 to 142 By Abid Ali.pdf for free?

You can preview and download "Data Communication CS601 Lecture No 24 Topic 135 to 142 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-24-topic-135-to-142-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 24

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 24 Topic 135 to 142
Types of Errors

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

   •   Data transmission suffers unpredictable changes because of interference
   •   The interference can change the shape of the signal

Single-bit error
Single-bit error means that only 1 bit of a given data unit (such as a byte, character, or packet) is
changed from 1 to 0 or from 0 to 1

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

Burst Error
Burst Error means that 2 or more bits in the data unit have changed from 1 to 0 or from 0 to 1

Number Of Impacted Bits Depend on Two Things
       Data rate
       Duration of rate

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

Redundancy
   •   Central concept in detecting or correcting errors is Redundancy
   •   To be able to detect or correct errors, we send some extra bits with our data
   •   The presence of these redundant bits allows the receiver to detect or correct corrupted bits

Detection versus Correction
   •   Correction is more difficult than the detection
   •   In error detection, we are only looking to see if any error has occurred (Yes or No)

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

   •   We are not interested in the number of corrupted bits in Detection
   •   Single-bit error is same as a Burst error
   •   In Error Correction, we need to know:
   •   The exact number of bits that are corrupted and,
   •   Their location in the message

Types of Coding Schemes
   •   Coding schemes can be divided into 2 broad categories:
          ✓ Block Coding
          ✓ Convolution Coding

Block Coding
   •   We divide our message into blocks, each of ‘k’ bits, called datawords
   •   We add ‘r’ redundant bits to each block to make the length ‘n = k + r’
   •   The resulting ‘n-bit’ blocks are called codewords

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

BLOCK CODING in Error Detection
   •   If the following two conditions are met, the receiver can detect a change in the original
       codeword:
           ✓ The receiver has (or can find) a list of valid codewords
           ✓ The original codeword has changed to an invalid one
The sender creates code words out of data words by using a generator that applies the rules and procedures
of encoding (discussed later). Each code word sent to the receiver may change during transmission. If the
received code word is the same as one of the valid code words, the word is accepted; the corresponding
data word is extracted for use.
If the received code word is not valid, it is discarded. However, if the code word is corrupted during
transmission but the received word still matches a valid code word, the error remains undetected. This
type of coding can detect only single errors. Two or more errors may remain undetected.

For example, consider the following table of data words and Code words:

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

Assume the sender encodes the data word 01 as 011 and sends it to the receiver. Consider the following
cases:

1. The receiver receives 011. It is a valid code word. The receiver extracts the data word 01 from it.

2. The code word is corrupted during transmission, and 111 is received (the leftmost bit is corrupted).
This is not a valid code word and is discarded.

3. The code word is corrupted during transmission, and 000 is received (the right two bits are
corrupted). This is a valid code word. The receiver incorrectly extracts the data word 00. Two corrupted
bits have made the error undetectable.

Hamming Distance
   •   Hamming Distance between two words of the same size is the number of differences
       between the corresponding bits
   •   Hamming Distance between two words x and y is d (x, y)
   •   Hamming distance between received codeword and sent codeword is number of bits
       corrupted

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

Minimum Hamming Distance
   •   Minimum Hamming Distance is smallest hamming distance between all possible pairs of
       codewords
   •   dmin= s+1
       were, s →no. of detectable errors dmin→ minimum hamming distance

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

More CS601 files

All CS601 files · Midterm Prep 2026 · MCQs Bank