CS601_Short_Notes_124_to_220.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
- Type
- Handout
- Coverage
- Complete Course Handouts (Lectures 1 to 45)
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
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- 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 CS601_Short_Notes_124_to_220.pdf for free?
You can preview and download "CS601_Short_Notes_124_to_220.pdf" (CS601 PDF, ~450 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs601-short-notes-124-to-220-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
CS601 Short Notes
Theme 124 to 220
BY vuonlinehelp.blogspot.com
Chap 9
Data-Link Layer
The data link layer, or layer 2, is the second layer of the seven-layer OSI model of
computer networking. This layer is the protocol layer that transfers data between
nodes on a network segment across the physical layer. The data link layer provides
the functional and procedural means to transfer data between network entities and
might provide the means to detect and possibly correct errors that may occur in the
physical layer. Data link layer control Node-to-Node communication.
• The Internet is a combination of networks glued together by connecting
devices (routers or switches).
• If a packet is to travel from a host to another host, it needs to pass through
these networks.
• Data Link layer controls node-to-node communication.
Communication at the Data-Link Layer
Nodes and Links
• Communication at the data-link layer is node-to-node
• A data unit from one point in the Internet needs to pass through many
networks (LANs and WANs) to reach another point
• We refer to the two end hosts and the routers as nodes and the networks in
between as links
Services provided by Data-Link Layer
• Located between the physical and the network layers
• Provides services to Network Layer and receives services from Physical
layer
• Framing
• Flow Control
• Error Control
• Congestion Control
Two Categories of Links
Two nodes are physically connected by a transmission medium such as
cable or air
Data-link layer controls how the medium is used
Data-link layer can use whole capacity
Data-link layer can use only part of the capacity
We can have the following two types of links:
Point-to-point link or a
Broadcast link
Two Sublayers of Data-Link Layer
• We can divide the data-link layer into two sublayers:
• Data Link Control (DLC)
• Media Access Control (MAC)
Dividing the data-link layer into two sublayers
Why LINK-LAYER ADDRESSING?
• IP addresses are the identifiers at the network layer
• In Internet we cannot make a packet reach its destination using only IP
addresses
• Source and destination IP addresses define the two ends but cannot define
which links the packet will take
Three Types of addresses
Some link-layer protocols define three types of addresses:
• Unicast
• Multicast
• Broadcast
Address Resolution Protocol (ARP)
• Anytime a node has an IP packet to send to another node in a link, it has the
IP address of the receiving node
• IP address of the next node is not helpful in moving a frame through a link;
we need the link-layer address of the next node
• We need Address Resolution Protocol (ARP)
ARP Packet
Chap 10
Types of Errors
Data transmission suffers unpredictable changes because of interference .The
interference can change the shape of the signal
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
Burst Error means that 2 or more bits in the data unit have changed
from 1 to 0 or from 0 to 1
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).
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
Coding LONG
• Redundancy is achieved through various coding schemes.
• Sender adds redundant bits through a process that creates a relationship
between redundant bits and the actual data bits.
• The receiver checks the relationships between the two sets of bits to detect
errors.
• The ratio of redundant bits to data bits and the robustness of the process are
important factors in any coding scheme.
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
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
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
Minimum Hamming Distance
• Minimum Hamming Distance is smallest hamming distance between all
possible pairs of codewords
• dmin= s+1
where,
s no. of detectable errors
dmin minimum hamming distance
Linear Block Codes
Subset of Block Codes in which the exclusive OR of two valid codewords creates
another valid codeword
Parity-Check Code
Most common error-detecting code
Linear block code (n=k+1)
The extra parity bit is selected to make total number of 1s in codeword
even
CYCLIC CODES
More CS601 files
- CS 601 Short Notes Topic 124 to 212.pdf (PDF · Handout)
- CS-601 New Book ppt slide.pdf (PDF · Handout)
- CS-601 New Book ppt slide.pdf (PDF · Handout)
- CS601 - Data Communication Updated Handouts (1).pdf (PDF · Handout)
- CS601 Handouts by MS.pdf (PDF · Handout)
- CS601 Handouts by MS.pdf (PDF · Handout)
- CS601 Handouts by MS.pdf (PDF · Handout)
- CS601 Highlighted Handouts by MS.pdf (PDF · Handout)