Monday, May 18, 2026

Data Communication and Networks_fith semester_Question answer

 1.    Define Switching. Differentiate between packet switching and circuit switching

Switching is a technique used in computer networks to transfer data from one device to another through intermediate nodes. It helps in establishing communication between sender and receiver efficiently.

Definition of Switching:       
Switching is the process of forwarding data packets or signals from source to destination through communication links in a network.

Purpose of Switching:

  1. Efficient utilization of network resources
  2. Reduce communication delay
  3. Allow multiple users to share communication channels
  4. Improve data transmission reliability

Types of Switching:

  1. Circuit Switching
  2. Packet Switching
  3. Message Switching

A. Circuit Switching
Circuit switching is a communication method in which a dedicated communication path is established between sender and receiver before data transfer begins.

Working Process:

  1. Connection establishment
  2. Data transfer
  3. Connection termination

Features:

  1. Dedicated path for communication
  2.  
  3. Fixed bandwidth
  4. Continuous data transmission
  5. Used in telephone networks

Advantages:

  1. Reliable communication
  2. No data loss during transmission
  3. Fixed delay and bandwidth

Disadvantages:

  1. Wastage of bandwidth
  2. Expensive
  3. Not suitable for burst data transmission

Example:
Traditional telephone system

Block Diagram:

Sender → Dedicated Path → Receiver

B. Packet Switching 
Packet switching is a communication method in which data is divided into small packets and transmitted independently through different routes.

Working Process:

  1. Data divided into packets
  2. Each packet contains source and destination address
  3. Packets travel independently
  4. Reassembled at destination

Features:

  1. No dedicated path
  2. Efficient bandwidth utilization
  3. Packets may travel through different routes
  4. Used in Internet communication

Advantages:

  1. Better bandwidth utilization
  2. Cost effective
  3. Suitable for internet communication
  4. Supports many users simultaneously

Disadvantages:

  1. Variable delay
  2. Packet loss may occur
  3. Packets may arrive out of order

Example:
Internet communication

Block Diagram:

Packet 1 → Route A
Packet 2 → Route B
Packet 3 → Route C

Destination reassembles packets.

Difference Between Circuit Switching and Packet Switching

Basis

Circuit Switching

Packet Switching

Path

Dedicated path established

No dedicated path

Data Transfer

Continuous

Divided into packets

Bandwidth

Reserved throughout communication

Shared dynamically

Delay

Fixed delay

Variable delay

Efficiency

Less efficient

More efficient

Cost

Expensive

Economical

Reliability

Highly reliable

Moderate reliability

Example

Telephone network

Internet

 

2.    Short notes on Bandwidth, Throughput and Jitter

A. Bandwidth
Bandwidth is the maximum amount of data that can be transmitted through a communication channel in a given period of time.It represents the capacity of the network.

Bandwidth is measured in bits per second (bps).

Examples:
1 Kbps = 1000 bits per second
1 Mbps = 1000 Kbps
1 Gbps = 1000 Mbps

Explanation:
If a network has bandwidth of 100 Mbps, it means the network can transfer up to 100 million bits per second.

Types of Bandwidth:

  1. Analog Bandwidth
    • Measured in Hertz (Hz)
    • Indicates frequency range
  2. Digital Bandwidth
    • Measured in bps
    • Indicates data carrying capacity

Characteristics:

  1. Determines network speed
  2. Higher bandwidth allows more data transfer
  3. Important for video streaming and online gaming

Advantages:

  1. Faster communication
  2. Supports multiple users
  3. Better network performance

Disadvantages:

  1. Higher cost for large bandwidth
  2. Requires better infrastructure

Example:
Fiber optic cable provides very high bandwidth.

B. Throughput
Throughput is the actual amount of data successfully transmitted over the network in a given time.Measured in bits per second (bps).Bandwidth shows maximum capacity, but throughput shows actual performance.

Example:
A network may have 100 Mbps bandwidth but actual throughput may be only 70 Mbps due to congestion and errors.

Factors Affecting Throughput:

  1. Network congestion
  2. Transmission errors
  3. Hardware limitations
  4. Signal interference
  5. Distance

Characteristics:

  1. Represents practical network speed
  2. Always less than or equal to bandwidth
  3. Important for real-time applications

Advantages:

  1. Measures actual efficiency
  2. Helps evaluate network performance

Disadvantages:

  1. Changes frequently
  2. Affected by network traffic

Example:
Downloading a file at 50 Mbps from a 100 Mbps connection.

Difference Between Bandwidth and Throughput

Basis

Bandwidth

Throughput

Meaning

Maximum capacity

Actual transmitted data

Nature

Theoretical

Practical

Speed

Fixed limit

Variable

Measurement

Maximum possible rate

Actual rate achieved

C. Jitter
Jitter is the variation in the delay of received packets over a network.When packets do not arrive at regular intervals, delay variation occurs. This variation is called Jitter.Unit:Measured in milliseconds (ms).

Causes of Jitter:

  1. Network congestion
  2. Route changes
  3. Poor hardware
  4. Packet queuing

Effects of Jitter:

  1. Voice distortion
  2. Video buffering
  3. Poor online gaming experience
  4. Interrupted communication

Characteristics:

  1. Common in packet-switched networks
  2. Affects real-time communication
  3. Lower jitter gives better quality

Advantages of Low Jitter:

  1. Smooth video calls
  2. Better audio quality
  3. Stable online gaming

Disadvantages of High Jitter:

  1. Delay in communication
  2. Poor multimedia performance

Example:
In VoIP calls, high jitter causes broken voice.



3.    Different types of Guided Communication Media.

Guided communication media are wired transmission media in which signals travel through a physical path. They are used for reliable and secure data communication.

Types of Guided Media:

1.      Twisted Pair Cable

2.      Coaxial Cable

3.      Optical Fiber Cable

4.      Twisted Pair Cable
It consists of two insulated copper wires twisted together to reduce noise and interference.

Types:
a) UTP (Unshielded Twisted Pair)
b) STP (Shielded Twisted Pair)

Characteristics:
• Cheap and easy to install
• Used in telephone and LAN networks
• Limited bandwidth and distance

Advantages:
• Low cost
• Flexible
• Easy maintenance

Disadvantages:
• Affected by electromagnetic interference
• Lower speed than fiber optic

Example:
Ethernet cable

Diagram:
Wire 1 twisted with Wire 2

2.      Coaxial Cable
Definition:
It consists of a central copper conductor surrounded by insulation, metallic shield and outer cover.

Characteristics:
• Better shielding than twisted pair
• Higher bandwidth
• Used in cable TV and internet

Advantages:
• Less interference
• Better data transmission
• Long distance communication

Disadvantages:
• Expensive
• Hard to install

Example:
Cable television network

Diagram:
Core → Insulation → Metallic Shield → Outer Cover

3.      Optical Fiber Cable
Definition:
It uses light signals to transmit data through thin glass or plastic fibers.

Types:
a) Single Mode Fiber
b) Multi Mode Fiber

Characteristics:
• Very high speed
• Large bandwidth
• Immune to electromagnetic interference

Advantages:
• Fast transmission
• Secure communication
• Long distance support

Disadvantages:
• Expensive
• Difficult installation

Example:
Internet backbone network

Diagram:
Light Signal → Fiber Cable → Receiver

Difference Between Guided Media

Basis

Twisted Pair

Coaxial Cable

Optical Fiber

Cost

Low

Medium

High

Speed

Low

Medium

Very High

Interference

High

Medium

Very Low

Bandwidth

Low

Medium

Very High

Security

Low

Medium

High

4.    Describe the OSI Reference Model with functional description of each layer.

OSI (Open System Interconnection) Reference Model is a standard model developed by ISO for communication between different computer systems. It divides network communication into seven layers.

OSI 7 Layers:
7. Application Layer
6. Presentation Layer
5. Session Layer
4. Transport Layer
3. Network Layer
2. Data Link Layer

  1. Physical Layer

Block Diagram:

Application
Presentation
Session
Transport
Network
Data Link
Physical

1.      Physical Layer
Function:
• Transmits raw bits through physical medium
• Defines cables, connectors and signals

Responsibilities:
• Bit transmission
• Data encoding
• Network topology

Devices:
Hub, Repeater

Example:
Ethernet cable

2.      Data Link Layer
Function:
• Provides error-free data transfer between nodes

Responsibilities:
• Framing
• Error detection
• Flow control
• MAC addressing

Sub Layers:
a) LLC
b) MAC

Devices:
Switch, Bridge

Example:
Ethernet

3.      Network Layer
Function:
• Handles routing and logical addressing

Responsibilities:
• Path determination
• Packet forwarding
• IP addressing

Protocols:
IP, ICMP

Devices:
Router

4.      Transport Layer
Function:
• Provides process-to-process communication

Responsibilities:
• Segmentation
• Error recovery
• Flow control
• Reliable delivery

Protocols:
TCP, UDP

Unit:
Segment

5.      Session Layer
Function:
• Establishes and manages communication sessions

Responsibilities:
• Session establishment
• Synchronization
• Session termination

Example:
Login session

6.      Presentation Layer
Function:
• Translates data into readable format

Responsibilities:
• Encryption
• Compression
• Data translation

Example:
JPEG, ASCII

7.      Application Layer
Function:
• Provides services directly to users

Responsibilities:
• File transfer
• Email
• Web browsing

Protocols:
HTTP, FTP, SMTP, DNS

Difference Between Upper and Lower Layers

Upper Layers

Lower Layers

Application to Transport

Network to Physical

User related services

Hardware related services

Data formatting

Data transmission

Advantages of OSI Model:
• Standardized communication
• Easy troubleshooting
• Modular design
• Supports interoperability

Disadvantages:
• Complex structure
• Some layers overlap
• Less practical than TCP/IP


5.    Different classes of address used in ipV4


IPv4 (Internet Protocol Version 4) uses 32-bit addresses for identifying devices on a network. IPv4 addresses are divided into different classes based on network size and host capacity.

IPv4 Address Format:
32 bits divided into 4 octets.

Example:
192.168.1.1

Classes of IPv4 Address:

1.     Class A

2.     Class B

3.     Class C

4.     Class D

5.     Class E

6.     Class A
Range:
1.0.0.0 to 126.255.255.255

First Bit:
0

Default Subnet Mask:
255.0.0.0

Network and Host:
• 8 bits for network
• 24 bits for host

Features:
• Supports very large networks
• Maximum hosts: about 16 million

Example:
10.0.0.1

2.     Class B
Range:
128.0.0.0 to 191.255.255.255

First Bits:
10

Default Subnet Mask:
255.255.0.0

Network and Host:
• 16 bits network
• 16 bits host

Features:
• Medium sized networks
• Maximum hosts: 65,534

Example:
172.16.0.1

3.     Class C
Range:
192.0.0.0 to 223.255.255.255

First Bits:
110

Default Subnet Mask:
255.255.255.0

Network and Host:
• 24 bits network
• 8 bits host

Features:
• Small networks
• Maximum hosts: 254

Example:
192.168.1.1

4.     Class D
Range:
224.0.0.0 to 239.255.255.255

First Bits:
1110

Purpose:
Used for multicast communication.

Features:
• No subnet mask
• Not divided into network and host

Example:
224.0.0.1

5.     Class E
Range:
240.0.0.0 to 255.255.255.255

First Bits:
1111

Purpose:
Used for research and experimental purposes.

Features:
• Reserved addresses
• Not used for normal communication

Example:
250.1.1.1

Summary Table

Class

Range

Default Mask

Use

A

1–126

255.0.0.0

Large network

B

128–191

255.255.0.0

Medium network

C

192–223

255.255.255.0

Small network

D

224–239

Not defined

Multicasting

E

240–255

Not defined

Research

Special IPv4 Addresses:
• 127.x.x.x → Loopback address
• 0.0.0.0 → Default network
• 255.255.255.255 → Broadcast address

6.    Explain CSMA/CD and token passing access protocol

In a computer network, multiple devices share the same communication medium. To avoid collision and manage access, different medium access control (MAC) protocols are used such as CSMA/CD and Token Passing.

1.      CSMA/CD (Carrier Sense Multiple Access with Collision Detection)

CSMA/CD is a network protocol used in Ethernet networks where devices first check the channel before sending data and detect collision during transmission.

Working:

1.      Carrier Sense: Device checks if the channel is free or busy.

2.      Multiple Access: Many devices can access the medium.

3.      If channel is free → send data.

4.      If collision occurs → stop transmission immediately.

5.      Send jam signal to notify all devices.

6.      Wait random time (backoff) and retransmit.

Features:
• Used in wired Ethernet
• Collision detection is possible
• Works in shared network medium

Advantages:
• Simple implementation
• Efficient in low traffic networks
• Fair access to all devices

Disadvantages:
• Not suitable for high traffic
• Performance decreases with collisions
• Not used in modern switched full-duplex Ethernet

Example:
Old Ethernet LAN networks

Flow:
Sense → Transmit → Detect Collision → Stop → Retry

2.      Token Passing Protocol

Definition:
Token passing is a controlled access method where a special data frame called token circulates in the network, and only the device with the token can send data.

Working:

1.      Token circulates in network

2.      Device receives token

3.      If it has data → sends data

4.      If not → passes token to next device

5.      After transmission, token is released again

Features:
• No collision occurs
• Deterministic access
• Used in ring or bus topology

Advantages:
• Collision-free communication
• Equal opportunity for all devices
• Efficient under heavy load

Disadvantages:
• Token loss can disrupt network
• Complex maintenance
• Slower in light traffic

Example:
Token Ring network

Flow:
Token → Node 1 → Node 2 → Node 3 → Node 1

Difference Between CSMA/CD and Token Passing

Basis

CSMA/CD

Token Passing

Access Method

Random access

Controlled access

Collision

Possible

No collision

Efficiency

Low under heavy load

High under heavy load

Complexity

Simple

Complex

Example

Ethernet

Token Ring


7.    What do you mean by digital communication? Discuss briefly component of digital communication system. Describe communication-oriented transfer.


Digital communication is the process of transmitting information in the form of digital signals (binary 0 and 1) from a sender to a receiver through a communication channel.

It is widely used in modern networks like the Internet, mobile communication, and computer networks.

Components of Digital Communication System:

1.      Source:
The device or system that generates information.
Example: computer, microphone, sensor

2.      Input Transducer:
Converts physical information into electrical signal.
Example: microphone converts sound into electrical signal

3.      Encoder (Source Encoder):
Converts information into binary form and compresses it.

4.      Channel Encoder:
Adds redundancy for error detection and correction.

5.      Modulator:
Converts digital signal into transmission signal suitable for medium.

6.      Communication Channel:
Medium through which data is transmitted.
Example: cable, fiber optic, wireless

7.      Noise:
Unwanted signal that disturbs communication.

8.      Demodulator:
Retrieves original digital signal from carrier signal.

9.      Decoder:
Removes errors and converts signal back to original form.

10. Output Transducer:
Converts electrical signal into human understandable form.
Example: speaker, display

Block Diagram:
Source → Transducer → Encoder → Channel Encoder → Modulator → Channel → Demodulator → Decoder → Output Transducer

Communication-Oriented Transfer:
Communication-oriented transfer refers to data transmission that is designed based on communication needs such as reliability, speed, and error control.

Types:

1.      Simplex Communication:
Data flows in one direction only.
Example: TV broadcasting

2.      Half Duplex Communication:
Data flows in both directions but one at a time.
Example: Walkie-talkie

3.      Full Duplex Communication:
Data flows in both directions simultaneously.
Example: Telephone, internet

Features:
• Ensures proper data delivery
• Uses error control mechanisms
• Depends on communication type

Advantages:
• Efficient communication
• Reliable data transfer
• Suitable for digital systems

Conclusion:
Digital communication is the backbone of modern networking systems where information is transmitted in binary form using various components. Communication-oriented transfer defines how data flows between sender and receiver based on direction and efficiency requirements.


8.    What is multiplexing? Describe the frequency Division multiplexing and time division multiplexing technique.

Multiplexing:
Multiplexing is a technique in which multiple signals are combined and transmitted over a single communication channel to improve efficiency.

At the receiver side, the combined signal is separated back into original signals using a demultiplexer.

Types of Multiplexing:

1.      FDM (Frequency Division Multiplexing)

2.      TDM (Time Division Multiplexing)

3.      Frequency Division Multiplexing (FDM)

Definition:
FDM is a technique in which the available bandwidth of a communication channel is divided into multiple frequency bands, and each signal is transmitted simultaneously on different frequencies.

Working:
• Each user is assigned a different frequency band
• All signals are transmitted at the same time
• Guard bands are used to avoid interference

Features:
• Analog transmission is mainly used
• Continuous signal transmission
• Requires large bandwidth

Block Idea:
Channel bandwidth → divided into multiple frequency bands → multiple signals transmitted

Advantages:
• Simultaneous transmission
• No waiting time
• Suitable for radio and TV broadcasting

Disadvantages:
• Wastage of bandwidth due to guard bands
• Complex system
• Costly implementation

Example:
Radio broadcasting, TV channels

2.      Time Division Multiplexing (TDM)

Definition:
TDM is a technique in which multiple signals share the same frequency channel but at different time slots.

Working:
• Each signal is assigned a time slot
• Signals are transmitted one after another in sequence
• At receiver, signals are separated based on time slots

Types:
a) Synchronous TDM (fixed time slots)
b) Asynchronous TDM (dynamic time slots)

Features:
• Digital transmission system
• Efficient bandwidth usage
• No frequency interference

Advantages:
• Better utilization of channel
• Cost effective
• Suitable for digital communication

Disadvantages:
• Requires synchronization
• Delay may occur

Example:
Telephone networks, digital data transmission

Difference Between FDM and TDM

Basis

FDM

TDM

Division

Frequency

Time

Transmission

Simultaneous

Sequential

Signal Type

Analog

Digital

Interference

Possible

Very low

Efficiency

Moderate

High

Conclusion:
Multiplexing is an important technique used to transmit multiple signals over a single channel. FDM divides bandwidth into frequency bands, while TDM divides transmission time into slots for efficient communication.

 

9.    Discuss briefly computer network. List the different network topology and explain one by one with block diagram.

A computer network is an interconnection of two or more computers and devices to share data, resources and communication.

Uses:
• File sharing
• Printer sharing
• Internet access
• Communication (email, chat)

Advantages:
• Resource sharing
• Fast communication
• Cost saving
• Centralized management

Types of Network Topology:

1.      Bus Topology

2.      Star Topology

3.      Ring Topology

4.      Mesh Topology

5.      Tree Topology

6.      Bus Topology

Definition:
All devices are connected to a single main cable called backbone.

Block Diagram:
A --- B --- C --- D

Features:
• Simple structure
• Easy installation
• Limited cable usage

Advantages:
• Low cost
• Easy to extend

Disadvantages:
• Entire network stops if backbone fails
• Data collision possible

2.      Star Topology

Definition:
All devices are connected to a central device (hub/switch).

Block Diagram:
A
|
B — Switch — C
|
D

Features:
• Central control
• Easy troubleshooting

Advantages:
• Easy to manage
• Failure of one device does not affect others

Disadvantages:
• If central device fails, network stops
• More cable required

3.      Ring Topology

Definition:
Each device is connected to two other devices forming a ring.

Block Diagram:
A → B → C → D → A

Features:
• Data flows in circular direction
• Token passing used

Advantages:
• No collision
• Equal access

Disadvantages:
• Failure affects entire network
• Difficult troubleshooting

4.      Mesh Topology

Definition:
Every device is connected to every other device.

Block Diagram:
A ↔ B
↔ C
↔ D

Features:
• High redundancy
• Highly reliable

Advantages:
• Very reliable
• No traffic congestion

Disadvantages:
• Expensive
• Complex installation

5.      Tree Topology

Definition:
Combination of star and bus topology in hierarchical structure.

Block Diagram:
Root
/ \
A B
/ \ / \
C D E F

Features:
• Hierarchical structure
• Scalable network

Advantages:
• Easy expansion
• Better management

Disadvantages:
• Complex design
• Failure of root affects network

Conclusion:
Computer networks are essential for communication and resource sharing. Different topologies like bus, star, ring, mesh, and tree are used based on requirements of cost, reliability and performance.




10.           What is protocol in internet? Explain the various class of IP address in detail.


Protocol in Internet:
A protocol is a set of rules and standards that define how data is transmitted and received between devices in a network or the internet.

It ensures proper communication, data formatting, error handling and synchronization between sender and receiver.

Examples:
TCP, IP, HTTP, FTP, SMTP, DNS

Functions of Protocol:
• Data formatting
• Addressing
• Error detection and correction
• Flow control
• Connection management

IP Address:
An IP address is a unique logical address assigned to each device on a network for identification and communication.

IPv4 is a 32-bit address system.

Classes of IP Address:

1.    Class A
Range: 1.0.0.0 to 126.255.255.255
Default Mask: 255.0.0.0
Network/Host: 8/24 bits
Use: Very large networks
Example: 10.0.0.1

2.    Class B
Range: 128.0.0.0 to 191.255.255.255
Default Mask: 255.255.0.0
Network/Host: 16/16 bits
Use: Medium networks
Example: 172.16.0.1

3.    Class C
Range: 192.0.0.0 to 223.255.255.255
Default Mask: 255.255.255.0
Network/Host: 24/8 bits
Use: Small networks
Example: 192.168.1.1

4.    Class D
Range: 224.0.0.0 to 239.255.255.255
Use: Multicasting
Example: 224.0.0.1

5.    Class E
Range: 240.0.0.0 to 255.255.255.255
Use: Research and experimental
Example: 250.1.1.1

Special IP Addresses:
• 127.0.0.1 → Loopback address
• 0.0.0.0 → Default network
• 255.255.255.255 → Broadcast address

Conclusion:
Protocol defines rules for communication on the internet, and IP addressing ensures unique identification of devices. IPv4 classes are used to organize networks based on size and purpose.

 


 


11.           What is subnetting? Why do we need the concept of Subnetting in networking? Describe the ARP, DHCP and ICMP.


Subnetting is the process of dividing a large network into smaller logical networks called subnets. It is done by borrowing bits from the host part of an IP address. It is usedt o improve efficiency and better management of IP addresses.

Why Subnetting is Needed:
• Reduces network traffic
• Improves network performance
• Better security control
• Efficient use of IP addresses
• Easier network management

Example:
A large network is divided into smaller departments like HR, IT, Admin.

ARP (Address Resolution Protocol):
ARP is a protocol used to find the physical (MAC) address from a known IP address.

Working:

1.     Device sends ARP request

2.     All devices receive request

3.     Matching IP device replies with MAC address

4.     Communication starts

Use:
Maps IP address to MAC address in LAN

DHCP (Dynamic Host Configuration Protocol):
DHCP is a protocol that automatically assigns IP addresses to devices in a network.

Working:

1.     Device sends request

2.     DHCP server assigns IP address

3.     Provides subnet mask, gateway, DNS

Advantages:
• Automatic IP configuration
• Reduces manual work
• Avoids IP conflict

ICMP (Internet Control Message Protocol):
ICMP is used for sending error messages and network diagnostic information.

Working:
It communicates network issues between devices.

Common Uses:
• Ping command
• Traceroute

Functions:
• Reports errors
• Checks connectivity
• Helps in troubleshooting

Example:
If a destination is unreachable, ICMP sends error message.

Conclusion:
Subnetting improves network efficiency and management. ARP helps find MAC addresses, DHCP assigns IP addresses automatically, and ICMP is used for error reporting and network diagnostics


.


12.           What is IEE 802 Standard? Explain Every point Detailly.


IEEE 802 is a set of networking standards developed by the Institute of Electrical and Electronics Engineers (IEEE) for Local Area Networks (LAN) and Metropolitan Area Networks (MAN).

It mainly defines the rules for Data Link Layer and Physical Layer in OSI model.

Main IEEE 802 Standards:

1.      IEEE 802.1 (LAN/MAN Management)
Function:
• Defines network management and bridging
• Supports VLAN and network architecture
Key Features:
• Spanning Tree Protocol (STP)
• VLAN tagging (802.1Q)

2.      IEEE 802.2 (Logical Link Control - LLC)
Function:
• Provides error control and flow control
• Interface between network layer and MAC layer
Features:
• Ensures reliable communication
• Multiplexing of network protocols

3.      IEEE 802.3 (Ethernet)
Function:
• Defines wired LAN using CSMA/CD
Features:
• Most widely used LAN standard
• Supports different speeds (10 Mbps to 100 Gbps)
• Uses MAC addressing

Example:
Ethernet cables in LAN

4.      IEEE 802.4 (Token Bus)
Function:
• Uses token passing in bus topology
Features:
• Collision-free communication
• Used in industrial networks (now rarely used)

5.      IEEE 802.5 (Token Ring)
Function:
• Uses token passing in ring topology
Features:
• No collision
• Deterministic access
• Used in IBM networks

6.      IEEE 802.11 (Wireless LAN - WiFi)
Function:
• Defines wireless networking
Features:
• Uses radio waves
• Supports mobility
• Security protocols like WPA/WPA2

Example:
WiFi networks in homes and offices

7.      IEEE 802.15 (Wireless PAN)
Function:
• Short range wireless communication
Features:
• Used in Bluetooth devices
• Low power consumption

8.      IEEE 802.16 (WiMAX)
Function:
• Wireless broadband access for MAN
Features:
• Long range communication
• High speed internet access

9.      IEEE 802.3u / 802.3ab (Fast/Gigabit Ethernet)
Function:
• High-speed Ethernet standards
Features:
• Fast data transmission
• Used in modern LANs

Conclusion:
IEEE 802 standards define protocols for LAN and MAN communication. They ensure compatibility, reliability, and efficient data transfer across wired and wireless networks.


13.           Differentiate IpV4 and IpV6.

Basis

IPv4

IPv6

Defination

IPv4 (Internet Protocol version 4) is a 32-bit addressing system used to identify devices on a network.

 

IPv6 (Internet Protocol version 6) is a 128-bit addressing system designed to replace IPv4 due to address shortage.

 

Address size

32-bit

128-bit

Address format

Decimal (e.g. 192.168.1.1)

Hexadecimal (e.g. 2001:0db8::1)

Address space

About 4.3 billion

Extremely large (2^128)

Header size

20–60 bytes

Fixed 40 bytes

Configuration

Manual or DHCP

Auto configuration (SLAAC)

Security

Optional

Built-in (IPSec)

Broadcasting

Supports broadcast

No broadcast, uses multicast

Fragmentation

Done by sender and router

Done only by sender

NAT usage

Required due to shortage

Not required

Speed

Relatively slower

Faster and efficient

Compatibility

Widely used

Modern replacement

Features

Features of IPv4:
• Simple design
• Widely supported
• Limited address space

Huge address space
• Better security
• Efficient routing
• No address exhaustion problem

 



14.           Define Signal in digital communication. Discuss briefly characteristic of signal with block diagram.


In digital communication, a signal is a physical quantity (voltage, current, or electromagnetic wave) that carries information from sender to receiver.

In digital communication, signals are represented in binary form (0 and 1).

Types of Signal:

1.     Analog Signal

2.     Digital Signal

Characteristics of Signal:

1.     Amplitude:
It is the height of the signal wave. It represents strength of signal.

2.     Frequency:
It is the number of cycles per second. Measured in Hertz (Hz).

3.     Phase:
It represents the position of the waveform relative to time.

4.     Wavelength:
Distance between two consecutive identical points of wave.

5.     Time Period:
Time taken to complete one cycle.

6.     Bandwidth:
Range of frequencies contained in a signal.

Block Diagram of Signal Transmission:

Information Source → Transmitter → Channel → Receiver → Destination

Explanation:
• Source generates data
• Transmitter converts data into signal
• Channel carries signal
• Receiver reconstructs original data
• Destination gets output

Signal Representation:

Analog Signal:
Continuous wave form (smooth curve)

Digital Signal:
Discrete levels (0 and 1 pulses)

Comparison:

Basis

Analog Signal

Digital Signal

Nature

Continuous

Discrete

Noise

High effect

Low effect

Accuracy

Less

High

Transmission

Complex

Easy

Conclusion:
A signal is the carrier of information in communication systems. Its main characteristics like amplitude, frequency, and phase define how data is transmitted efficiently in digital communication systems.


 



15.           Define Signal in digital communication. Discuss briefly characteristic of signal with block diagram.


Signal:
A signal in digital communication is a representation of data in the form of electrical or electromagnetic variations used to transmit information from sender to receiver.

In digital systems, signals are mainly represented using binary values 0 and 1.

Types of Signal:

1.    Analog signal (continuous form)

2.    Digital signal (discrete form)

Characteristics of Signal:

Amplitude:
Strength or height of the signal wave, indicates signal power.

Frequency:
Number of cycles per second, measured in Hertz (Hz), indicates speed of signal variation.

Phase:
Position of the signal wave relative to a reference point in time.

Wavelength:
Distance between two successive identical points of a wave.

Time Period:
Time required to complete one full cycle of a wave.

Bandwidth:
Range of frequencies occupied by the signal.

Block Diagram:

Information Source → Transmitter → Channel → Receiver → Destination

Explanation:
Source generates data, transmitter converts it into signal, channel carries it, receiver decodes it, and destination receives output.

Signal Types Comparison:

Analog Signal:
Continuous waveform, more affected by noise.

Digital Signal:
Discrete pulses (0 and 1), less affected by noise and more accurate.

Conclusion:
Signal is the basic carrier of information in digital communication. Its Characteristics such as amplitude, frequency, and phase determine the quality and efficiency of data transmission.


16.           Describe detailly TCP/IP model structure into two process to process communication.

TCP/IP Model:
TCP/IP (Transmission Control Protocol / Internet Protocol) is a networking model used for communication over the Internet. It defines how data should be packaged, addressed, transmitted, routed and received.

TCP/IP Model Layers:

1.     Application Layer

2.     Transport Layer

3.     Internet Layer

4.     Network Access Layer

5.     Application Layer
Function:
• Provides services to user applications
• Handles high-level protocols

Examples:
HTTP, FTP, SMTP, DNS

Process:
User request → Application protocol prepares data

2.     Transport Layer (Process-to-Process Communication Layer)
Function:
This layer is responsible for process-to-process communication between source and destination applications.

Key Roles:
• Segmentation and reassembly
• Flow control
• Error control
• Port addressing

Protocols:
TCP, UDP

Explanation:
• TCP → reliable communication (connection-oriented)
• UDP → fast communication (connectionless)

Process-to-Process Communication:
• Uses port numbers to identify applications
• Ensures correct delivery of data to specific process

Example:
Web browser (client) communicates with web server using TCP port 80/443

3.     Internet Layer
Function:
• Logical addressing and routing
• Transfers packets across networks

Protocol:
IP, ICMP, ARP

Explanation:
• Finds best path for data delivery
• Uses IP address for identification

4.     Network Access Layer
Function:
• Handles physical transmission of data
• Combines Data Link + Physical layer functions

Examples:
Ethernet, WiFi

Data Flow Process:

Sender Application → TCP/UDP → IP → Network Medium → Receiver IP → TCP/UDP → Application

Two Process Communication:

1.     Source Process:
Application creates data and sends it to transport layer using port number.

2.     Destination Process:
Transport layer delivers data to correct application using port number.

Conclusion:
TCP/IP model enables communication between processes on different devices through layered architecture. The transport layer plays a key role in process-to-process communication using TCP and UDP protocols.


17.           “Is it nessessary to assign ip address in your device?” Explain.


Yes, it is necessary to assign an IP address to every device in a network for communication.

Explanation:
An IP address is a unique logical identifier for a device in a network. Without an IP address, a device cannot be identified or communicate with other devices over a network or the Internet.

Why IP Address is Necessary:

1.    Unique Identification:
Every device must have a unique IP address to avoid conflict and ensure correct delivery of data.

2.    Communication:
IP address allows devices to send and receive data over LAN or Internet.

3.    Routing:
Routers use IP addresses to find the correct path for data transmission.

4.    Internet Access:
Without IP address, a device cannot access online services.

5.    Data Delivery:
Ensures data reaches the correct destination device.

Types of IP Assignment:

1.    Static IP:
• Manually assigned
• Fixed address
• Used in servers

2.    Dynamic IP:
• Automatically assigned by DHCP
• Changes over time
• Used in home networks

What happens without IP address:
• Device cannot connect to network
• No internet access
• No communication with other devices

Conclusion:
Assigning an IP address is essential because it enables identification, communication, and data transfer between devices in a network. Without IP addressing, networking is not possible.


18.           Discuss the significance of the layer switch in the context of local area network.

Layer Switch (Multilayer Switch):
A layer switch is a networking device that works at higher layers of the OSI model (mainly Layer 2 and Layer 3). It combines switching and routing functions in a LAN.

Significance of Layer Switch in LAN:

1.     High Speed Data Transfer:
It forwards data frames quickly using hardware-based switching, improving network performance.

2.     IP Routing within LAN:
Layer 3 switch can route data between different VLANs and subnets inside a LAN.

3.     VLAN Support:
It supports Virtual LAN (VLAN) which divides a network into smaller logical networks for better management and security.

4.     Reduced Network Traffic:
By segmenting network traffic, it reduces unnecessary broadcast and congestion.

5.     Improved Security:
It isolates different departments or users using VLANs, improving data security.

6.     Efficient Bandwidth Usage:
Only required data is forwarded to specific segments, reducing bandwidth wastage.

7.     Low Latency:
Faster than traditional router-based communication inside LAN.

8.     Better Network Management:
Helps administrators manage large networks easily.

Difference between Switch and Layer Switch:

Basis

Switch (Layer 2)

Layer Switch (Layer 3)

Function

Data forwarding

Switching + Routing

Layer

Data Link Layer

Data Link + Network Layer

Routing

Not supported

Supported

Speed

High

Very high

Conclusion:
Layer switches play an important role in modern LANs by improving speed, security, and efficiency. They support VLANs and routing, making them essential for large and complex network environments.


 

19.           Explain the concept of VLAN and role in network manager.


VLAN (Virtual Local Area Network):
A VLAN is a logical grouping of devices in a network that allows them to communicate as if they are in the same physical LAN, even if they are located in different physical segments.

In simple words, VLAN divides a single physical network into multiple logical networks.

Working:
• Network switch assigns VLAN ID to ports
• Devices in same VLAN can communicate directly
• Devices in different VLANs need routing

Types of VLAN:

1.    Port-based VLAN

2.    MAC-based VLAN

3.    Protocol-based VLAN

Role of VLAN in Network Management:

1.    Network Segmentation:
Divides large networks into smaller logical groups like HR, IT, Admin.

2.    Improved Security:
Devices in one VLAN cannot directly access another VLAN.

3.    Reduced Broadcast Traffic:
Limits broadcast domains, improving performance.

4.    Better Performance:
Less congestion due to separated traffic.

5.    Easy Management:
Network administrators can easily manage departments separately.

6.    Flexibility:
Users can be grouped logically without changing physical location.

Example:
HR department computers in VLAN 10, IT department in VLAN 20.

Working Diagram:
Switch
── VLAN 10 (HR users)
└── VLAN 20 (IT users)

Conclusion:
VLAN is an important networking concept used to logically separate networks within the same physical infrastructure. It improves security, performance, and management efficiency in modern networks.


20.           What Is link state routing protocol? Explain detailly


Link State Routing Protocol:
Link State Routing Protocol is a type of dynamic routing protocol in which each router builds a complete map (topology) of the network and independently calculates the best path to every destination using shortest path algorithms.

Examples:
• OSPF (Open Shortest Path First)
• IS-IS (Intermediate System to Intermediate System)

Working Process:

1.     Neighbor Discovery:
Each router discovers directly connected neighboring routers.

2.     Link State Advertisement (LSA):
Routers share information about their links (status, cost, bandwidth) with all routers in the network.

3.     Topology Database:
Each router stores received LSAs to build a complete network map.

4.     Shortest Path Calculation:
Each router uses Dijkstra’s Shortest Path First (SPF) algorithm to find best routes.

5.     Routing Table Update:
Best paths are stored in routing table for forwarding data.

Features:
• Uses complete network topology
• Fast convergence
• Efficient routing decisions
• Supports large networks

Advantages:
• Accurate routing information
• Faster recovery from failures
• Less routing loops
• Better scalability than distance vector

Disadvantages:
• High memory usage
• Complex implementation
• Requires more CPU processing

Working Flow:
Neighbor Discovery → LSA Flooding → Topology Database → SPF Algorithm → Routing Table

OSPF Example:
Most widely used link state protocol in enterprise networks.

Conclusion:
Link State Routing Protocol is an advanced routing method where routers share complete network information and calculate the best path using shortest path algorithms, making it efficient and reliable for modern networks.



21.           What is client server model? how it is used in application layer model?


Client Server Model:
The Client Server Model is a network architecture in which clients request services and servers provide services over a network.

Client:
A device or application that requests services or resources.

Server:
A powerful system that provides services, data, or resources to clients.

Working:

1.    Client sends request

2.    Server processes request

3.    Server sends response

4.    Client receives data

Example:
Web browser (client) requests a web page from a web server.

Client Server Model in Application Layer:

The Application Layer is the top layer of both OSI and TCP/IP models where user interaction takes place. The client-server model operates mainly in this layer using application protocols.

How it works in Application Layer:

1.    Client Application:
User uses applications like browser, email, or FTP client to request services.

2.    Application Protocols:
Protocols define communication rules between client and server:
• HTTP/HTTPS → Web browsing
• FTP → File transfer
• SMTP → Email sending
• DNS → Domain name resolution

3.    Server Application:
Server processes request and provides required service.

Process Flow:
Client Application → Request (HTTP/FTP/DNS) → Server → Response → Client

Advantages:
• Centralized control
• Easy management
• Secure data handling
• Efficient resource sharing

Disadvantages:
• Server failure affects all clients
• High cost for server setup
• Requires maintenance

Conclusion:
Client-server model is a fundamental network architecture where clients request services and servers provide them. It is widely used in the application layer through protocols like HTTP, FTP, SMTP, and DNS.



 

22.           Explain detailly about routing and routing with protocol


Routing is the process of selecting the best path for data packets to travel from source to destination in a network.

It is performed by routers using IP addresses and routing tables.

Objectives of Routing:
• Find best path
• Deliver data efficiently
• Avoid congestion
• Ensure reliable communication

Routing Table:
A routing table is a database in router that stores possible routes and their metrics (cost, hop count, etc.).

Types of Routing:

1.     Static Routing:
• Manually configured routes
• Fixed paths
• Used in small networks

Advantages:
• Simple
• Secure
Disadvantages:
• Not flexible
• Hard to manage in large networks

2.     Dynamic Routing:
• Automatically updates routes using protocols
• Used in large networks

Advantages:
• Automatic updates
• Scalable
Disadvantages:
• Complex
• Requires more resources

Routing Protocols:
Routing protocols help routers exchange information and find best paths.

Types of Routing Protocols:

1.     Distance Vector Routing Protocol:
• Uses hop count to find best path
• Routers share routing table with neighbors

Example:
RIP (Routing Information Protocol)

Features:
• Simple
• Slower convergence
• May cause routing loops

2.     Link State Routing Protocol:
• Each router builds complete network map
• Uses shortest path algorithm

Example:
OSPF

Features:
• Fast convergence
• Accurate routing
• High resource usage

3.     Hybrid Routing Protocol:
• Combines distance vector and link state

Example:
EIGRP

Features:
• Efficient
• Fast and scalable

Working of Routing:

1.     Packet received

2.     Router checks routing table

3.     Best path selected

4.     Packet forwarded to next hop

Conclusion:
Routing is essential for data transfer between networks. Routing protocols help routers dynamically determine the best path, ensuring efficient, reliable, and fast communication across networks
.


 


23.           Communication and communication System.


Communication is the process of exchanging information, ideas, or data between two or more devices or persons.

In computer networks, communication refers to data transfer between sender and receiver using transmission media.

Types of Communication:

1.    Simplex: one-way communication (TV broadcasting)

2.    Half Duplex: both ways but one at a time (walkie-talkie)

3.    Full Duplex: both ways simultaneously (telephone, internet)

Communication System:
A communication system is a setup used to transfer data from sender to receiver efficiently and reliably.

Basic Components of Communication System:

1.    Source:
Generates information (computer, user, sensor)

2.    Input Transducer:
Converts data into electrical signal (microphone, scanner)

3.    Transmitter:
Encodes and sends data into transmission medium

4.    Transmission Medium:
Channel used to carry data (cable, fiber, wireless)

5.    Noise:
Unwanted signal that disturbs communication

6.    Receiver:
Receives and decodes the signal

7.    Output Transducer:
Converts signal back into usable form (speaker, monitor)

Block Diagram:
Source → Input Transducer → Transmitter → Channel → Receiver → Output Transducer

Characteristics of Communication System:
• Reliability
• Speed
• Accuracy
• Bandwidth efficiency

Advantages:
• Fast information exchange
• Resource sharing
• Global connectivity

Conclusion:
Communication is the process of exchanging data, while a communication system is the complete setup that enables this exchange efficiently using different components and transmission methods.


 


24.           What is the role of Quality of Service( QoS) in networking? How does it affect the performance of efficiency of data transfer.

Quality of Service (QoS):
QoS refers to the ability of a network to provide better service to selected network traffic by prioritizing important data and managing bandwidth, delay, and packet loss.

Role of QoS in Networking:

1.     Traffic Prioritization:
Important data like voice and video is given higher priority than normal data.

2.     Bandwidth Management:
Allocates proper bandwidth to different applications based on need.

3.     Reducing Delay:
Ensures time-sensitive data (VoIP, video calls) is delivered quickly.

4.     Reducing Packet Loss:
Controls congestion to prevent data loss.

5.     Jitter Control:
Maintains smooth delivery of packets in real-time applications.

6.     Network Efficiency:
Improves overall utilization of network resources.

QoS Parameters:

1.     Bandwidth:
Amount of data transferred per second.

2.     Delay (Latency):
Time taken for data to travel from source to destination.

3.     Jitter:
Variation in delay between packets.

4.     Packet Loss:
Loss of data packets during transmission.

Effect of QoS on Performance:

1.     Improves Real-Time Applications:
Better quality in video calls, online gaming, and streaming.

2.     Reduces Network Congestion:
Prevents overload by controlling traffic flow.

3.     Better User Experience:
Smooth and uninterrupted communication.

4.     Efficient Resource Usage:
Ensures optimal use of available bandwidth.

Without QoS:
• Network becomes slow
• High delay and jitter
• Poor video/audio quality

With QoS:
• Stable performance
• Prioritized traffic
• Reliable communication

Conclusion:
QoS plays a vital role in networking by managing traffic and ensuring reliable, fast, and efficient data transmission, especially for real-time applications.


25.           Discuss detailly about the basic component of computer network and the network


 

Computer Network:
A computer network is an interconnection of computers and devices that allows sharing of data, resources, and communication.

Basic Components of Computer Network:

1.     Nodes (Devices):
These are devices connected in a network.

Types:
• End devices: computers, mobiles, printers, servers

Function:
• Send and receive data

2.     Network Interface Card (NIC):
A hardware component that connects a device to a network.

Function:
• Converts data into signals
• Provides MAC address

3.     Transmission Media:
Path through which data travels.

Types:
• Guided (cable, fiber optic)
• Unguided (wireless, radio waves)

Function:
• Carries data from sender to receiver

4.     Networking Devices:

a) Hub:
• Broadcasts data to all devices

b) Switch:
• Sends data to specific device using MAC address

c) Router:
• Connects different networks using IP address

d) Modem:
• Converts analog signals to digital and vice versa

 

e) Access Point:
• Provides wireless connectivity

5.     Server:
A powerful computer that provides services and resources.

Examples:
• Web server
• File server

6.     Protocols:
Rules that govern communication.

Examples:
• TCP/IP
• HTTP
• FTP
• DNS

Function:
• Ensure proper data communication

7.     Network Topology:
Arrangement of network devices.

Types:
• Bus
• Star
• Ring
• Mesh
• Tree

8.     Network Software:
Software used to manage and control network operations.

Examples:
• Network operating system
• Firewall

Conclusion:
The basic components of a computer network work together to enable communication, resource sharing, and data transfer efficiently across devices.


 

 


26.           What are TCP/UDP ?TCP and UDP are backbone of any communication system.


TCP (Transmission Control Protocol):
TCP is a connection-oriented transport layer protocol that ensures reliable data transmission between devices.

Features of TCP:
• Connection-oriented (3-way handshake)
• Reliable delivery
• Error detection and correction
• Flow control and congestion control
• Data arrives in order

Working:

1.    Connection established (SYN, SYN-ACK, ACK)

2.    Data sent in segments

3.    Receiver acknowledges data

4.    Retransmission if error occurs

Advantages:
• Highly reliable
• Ordered delivery
• Suitable for important data

Disadvantages:
• Slower due to overhead
• More resource consumption

Examples:
HTTP, HTTPS, FTP, SMTP

UDP (User Datagram Protocol):
UDP is a connectionless transport layer protocol that provides fast but less reliable communication.

Features of UDP:
• No connection setup
• No guarantee of delivery
• No ordering of packets
• Lightweight and fast

Working:

1.    Data sent directly without connection

2.    No acknowledgment required

Advantages:
• Fast transmission
• Low overhead
• Suitable for real-time applications

Disadvantages:
• No reliability
• Packet loss possible

Examples:
Video streaming, online gaming, VoIP

Difference between TCP and UDP:

Basis

TCP

UDP

Connection

Connection-oriented

Connectionless

Reliability

Reliable

Unreliable

Speed

Slower

Faster

Acknowledgment

Yes

No

Ordering

Maintains order

No order guarantee

Conclusion:
TCP and UDP are the main transport protocols in networking. TCP is used where reliability is important, while UDP is used where speed is more important than accuracy.


27.           What is DNS? Explain the concept of DHCP.

 

DNS (Domain Name System):
DNS is a system that translates human-readable domain names into IP addresses.

Example:
www.google.com → 142.250.190.36

Working of DNS:

1.    User enters domain name in browser

2.    DNS resolver checks cache

3.    If not found, request goes to DNS server

4.    DNS server returns IP address

5.    Browser connects to web server using IP

Features:
• Acts like phonebook of internet
• Hierarchical system
• Fast name resolution

Advantages:
• Easy to remember names instead of IP
• Faster browsing experience
• Distributed system

DHCP (Dynamic Host Configuration Protocol):
DHCP is a network protocol that automatically assigns IP addresses and other network settings to devices.

Working of DHCP (DORA Process):

1.    Discover:
Client sends request for IP address

2.    Offer:
DHCP server offers an IP address

3.    Request:
Client requests the offered IP

4.    Acknowledge:
Server confirms and assigns IP

Information Provided by DHCP:
• IP address
• Subnet mask
• Default gateway
• DNS server address

Advantages of DHCP:
• Automatic IP configuration
• Reduces manual work
• Avoids IP conflicts
• Easy network management

Conclusion:
DNS converts domain names into IP addresses for easy access, while DHCP automatically assigns IP addresses and network settings to devices, making networking simple and efficient.


Computer Network — Important “Define …” Questions (Exam-Oriented Long Definitions)

1. Define Computer Network

A computer network is an interconnection of two or more computers and other devices that are connected through communication links for the purpose of sharing data, resources, and services.

The main objective of a computer network is to enable communication and resource sharing among connected devices. Resources such as files, printers, software, internet connection, and storage devices can be shared through a network.

A computer network may be connected using wired media like twisted pair cable, coaxial cable, and optical fiber or wireless media like radio waves and WiFi.

Features:

·      Resource sharing

·      Fast communication

·      Centralized management

·      Remote access

·      Reliability

Advantages:

·      File and printer sharing

·      Cost reduction

·      Easy communication

·      Data backup and management

Examples:

·      Internet

·      LAN in office

·      WiFi network

Conclusion:

Computer networks play an important role in modern communication systems by enabling efficient data sharing and connectivity between devices.

2. Define Protocol

A protocol is a set of rules and standards that govern communication between devices in a network. It defines how data is formatted, transmitted, received, and processed during communication.

Protocols ensure that devices from different manufacturers can communicate properly with each other.

Protocols perform functions such as:

·      Data formatting

·      Error detection

·      Flow control

·      Addressing

·      Synchronization

·      Connection establishment

Examples of Protocols:

·      TCP/IP

·      HTTP

·      FTP

·      SMTP

·      DNS

Characteristics:

·      Standardized communication

·      Reliable data transfer

·      Error handling mechanism

·      Interoperability

Conclusion:

Protocols are essential for network communication because they provide common rules that allow devices to exchange information correctly and efficiently.

3. Define Layered Architecture

Layered architecture is a networking design approach in which communication tasks are divided into different layers, where each layer performs specific functions independently.

In computer networks, layered architecture simplifies communication by breaking complex networking processes into smaller manageable parts.

Each layer:

·      Performs a specific task

·      Provides services to upper layer

·      Receives services from lower layer

Need of Layered Architecture:

·      Simplifies network design

·      Easy troubleshooting

·      Standardization

·      Protocol independence

·      Easy modification

Examples:

·      OSI Model

·      TCP/IP Model

Advantages:

·      Modular design

·      Easy maintenance

·      Interoperability

·      Flexibility

Conclusion:

Layered architecture is important in networking because it organizes communication functions systematically and improves network efficiency and standardization.

4. Define OSI Reference Model

OSI (Open System Interconnection) Reference Model is a seven-layer networking model developed by ISO to standardize communication between different computer systems.

The OSI model divides network communication into seven layers where each layer performs a specific networking function.

Seven Layers of OSI Model:

1.  Physical Layer

2.  Data Link Layer

3.  Network Layer

4.  Transport Layer

5.  Session Layer

6.  Presentation Layer

7.  Application Layer

Functions:

·      Standardizes communication

·      Simplifies troubleshooting

·      Supports interoperability

·      Separates networking tasks

Advantages:

·      Modular structure

·      Easy protocol development

·      Easy fault isolation

Disadvantages:

·      Complex structure

·      Some layers overlap

Conclusion:

OSI model is a reference framework that helps understand how data communication occurs in computer networks.

5. Define TCP/IP Model

TCP/IP model is a communication model used for data transmission over the Internet. It defines how data should be transmitted between devices in a network.

TCP/IP stands for Transmission Control Protocol / Internet Protocol.

The TCP/IP model contains four layers:

1.  Application Layer

2.  Transport Layer

3.  Internet Layer

4.  Network Access Layer

Functions:

·      End-to-end communication

·      Routing and addressing

·      Reliable transmission

·      Internet communication

Features:

·      Scalable

·      Reliable

·      Flexible

·      Widely used

Protocols Used:

·      TCP

·      UDP

·      IP

·      HTTP

·      FTP

·      SMTP

Conclusion:

TCP/IP model is the foundation of modern Internet communication and provides reliable data transfer between interconnected networks.

6. Define Switching

Switching is the process of transferring data from source to destination through intermediate networking devices and communication links.

Switching helps establish communication between sender and receiver efficiently.

Objectives of Switching:

·      Efficient use of bandwidth

·      Reduce delay

·      Enable communication

·      Share communication channels

Types of Switching:

1.  Circuit Switching

2.  Packet Switching

3.  Message Switching

Advantages:

·      Better communication

·      Efficient data transfer

·      Resource sharing

Conclusion:

Switching is a fundamental concept in networking that allows data to travel efficiently across networks.

16. Define DHCP

DHCP (Dynamic Host Configuration Protocol) is a network protocol that automatically assigns IP addresses and other network configurations to devices.

Information Provided:

·      IP address

·      Subnet mask

·      Gateway

·      DNS server

Advantages:

·      Automatic configuration

·      Reduces manual work

·      Avoids IP conflicts

Conclusion:

DHCP simplifies network management by automatically configuring network devices.


7. Define Circuit Switching

Circuit switching is a communication technique in which a dedicated communication path is established between sender and receiver before data transmission begins.

The connection remains dedicated throughout the communication session.

Phases:

1.  Connection establishment

2.  Data transfer

3.  Connection termination

Features:

·      Dedicated path

·      Fixed bandwidth

·      Continuous transmission

Advantages:

·      Reliable communication

·      Fixed delay

·      No congestion during communication

Disadvantages:

·      Bandwidth wastage

·      Expensive

·      Not suitable for burst traffic

Example:

Traditional telephone network

Conclusion:

Circuit switching provides reliable communication using a dedicated path but is less efficient for modern data communication.

8. Define Packet Switching

Packet switching is a communication technique in which data is divided into small packets and transmitted independently through different routes in a network.

Each packet contains source and destination addresses.

Working:

1.  Data divided into packets

2.  Packets travel independently

3.  Destination reassembles packets

Features:

·      No dedicated path

·      Dynamic routing

·      Efficient bandwidth utilization

Advantages:

·      Cost effective

·      Efficient communication

·      Supports multiple users

Disadvantages:

·      Variable delay

·      Packet loss possible

·      Out-of-order delivery

Example:

Internet communication

Conclusion:

Packet switching is widely used in modern computer networks because it efficiently utilizes network resources.

9. Define Multiplexing

Multiplexing is a technique in which multiple signals are combined and transmitted over a single communication channel.

At the receiver side, signals are separated using demultiplexing.

Objectives:

·      Efficient bandwidth utilization

·      Reduce transmission cost

·      Support multiple users

Types:

1.  Frequency Division Multiplexing (FDM)

2.  Time Division Multiplexing (TDM)

3.  Wavelength Division Multiplexing (WDM)

Advantages:

·      Efficient communication

·      Better channel utilization

·      Cost saving

Disadvantages:

·      Complex implementation

·      Synchronization required

Conclusion:

Multiplexing improves communication efficiency by allowing multiple signals to share the same transmission medium.

10. Define Flow Control

Flow control is a mechanism used to control the rate of data transmission between sender and receiver to prevent data loss.

It ensures that the sender does not send data faster than the receiver can process.

Objectives:

·      Prevent receiver overflow

·      Maintain reliable communication

·      Improve efficiency

Types:

1.  Stop-and-Wait Flow Control

2.  Sliding Window Flow Control

Advantages:

·      Reliable transmission

·      Prevents congestion

·      Improves communication quality


 

11. Define IP Address

An IP address is a unique logical address assigned to each device connected to a network for identification and communication.

IP address helps identify the source and destination devices during communication.

Types:

1.  IPv4

2.  IPv6

Features:

·      Unique identification

·      Logical addressing

·      Routing support

Example:

192.168.1.1

Conclusion:

IP addresses are essential for communication and routing in computer networks.

12. Define Routing

Routing is the process of selecting the best path for data packets to travel from source to destination in a network.

Routing is performed by routers using routing tables and routing algorithms.

Objectives:

·      Best path selection

·      Efficient delivery

·      Congestion avoidance

Types:

1.  Static Routing

2.  Dynamic Routing

Routing Protocols:

·      RIP

·      OSPF

·      BGP

Advantages:

·      Efficient communication

·      Network scalability

·      Reliable transmission

Conclusion:

Routing is an essential networking process that ensures packets reach the correct destination efficiently.

13. Define TCP

TCP (Transmission Control Protocol) is a reliable, connection-oriented transport layer protocol used for end-to-end communication.

TCP ensures reliable data delivery using acknowledgment, sequencing, retransmission, and flow control.

Features:

·      Reliable communication

·      Error checking

·      Ordered delivery

·      Flow control

Applications:

·      HTTP

·      FTP

·      Email

Advantages:

·      High reliability

·      Error recovery

·      Data integrity

Disadvantages:

·      Slower than UDP

·      More overhead

Conclusion:

TCP is widely used in applications where reliable communication is required.

14. Define UDP

UDP (User Datagram Protocol) is a connectionless transport layer protocol that provides fast communication without guaranteeing reliability.

UDP sends data without establishing a connection between sender and receiver.

Features:

·      Fast communication

·      No acknowledgment

·      Low overhead

Applications:

·      Online gaming

·      Video streaming

·      VoIP

Advantages:

·      Faster transmission

·      Lightweight protocol

Disadvantages:

·      No reliability

·      Packet loss possible

Conclusion:

UDP is suitable for real-time applications where speed is more important than reliability.

15. Define DNS

DNS (Domain Name System) is a naming system that translates human-readable domain names into IP addresses.

DNS acts like the phonebook of the Internet.

Working:

1.  User enters domain name

2.  DNS server searches IP address

3.  IP address returned

4.  Browser connects to server

Advantages:

·      Easy to remember domain names

·      Faster browsing

·      Distributed system

Example:

www.google.com → IP address

Conclusion:

DNS simplifies Internet usage by converting domain names into machine-readable IP addresses.

17. Define ARP (Address Resolution Protocol)

ARP (Address Resolution Protocol) is a network protocol used to map a known IP address to its corresponding physical MAC address in a local area network (LAN).

In communication, devices use IP addresses for logical identification, but actual data transmission inside a LAN occurs using MAC addresses. ARP helps find the MAC address of the destination device.

Working of ARP:

1.  Sender checks ARP cache table.

2.  If MAC address is not found, ARP request is broadcasted.

3.  All devices receive the request.

4.  Device with matching IP sends ARP reply.

5.  Sender stores MAC address in ARP cache.

Features:

·      Works in LAN

·      Uses broadcast communication

·      Maps IP to MAC address

Advantages:

·      Simplifies communication

·      Automatic address mapping

·      Reduces manual configuration

Disadvantages:

·      Broadcast overhead

·      Vulnerable to ARP spoofing

Example:

If device wants to send data to 192.168.1.5, ARP finds corresponding MAC address.

Conclusion:

ARP is an important protocol that enables communication between devices in a local network by converting logical IP addresses into physical MAC addresses.


18. Define ICMP (Internet Control Message Protocol)

ICMP is a network layer protocol used for sending error messages and diagnostic information between network devices.

ICMP helps detect communication problems in networks.

Functions:

·      Error reporting

·      Network diagnostics

·      Connectivity testing

·      Route checking

Common Uses:

·      Ping command

·      Traceroute

Features:

·      Works with IP protocol

·      Reports network problems

·      Provides feedback mechanism

Advantages:

·      Helps troubleshooting

·      Detects unreachable hosts

·      Measures network performance

Example:

When destination host is unreachable, ICMP sends an error message.

Conclusion:

ICMP is essential for monitoring, troubleshooting, and maintaining reliable network communication.


19. Define Subnetting

Subnetting is the process of dividing a large network into smaller logical subnetworks called subnets.

Subnetting is performed by borrowing bits from the host portion of an IP address.

Objectives of Subnetting:

·      Efficient IP address utilization

·      Reduce network traffic

·      Improve security

·      Better network management

Advantages:

·      Reduces congestion

·      Improves performance

·      Easier troubleshooting

·      Better administration

Example:

A company divides its network into HR, IT, and Finance subnets.

Features:

·      Logical network division

·      Efficient address allocation

·      Smaller broadcast domains

Conclusion:

Subnetting improves network performance, security, and efficient management of IP addresses.



 

20. Define VLAN (Virtual Local Area Network)

A VLAN is a logical grouping of devices within a physical network that allows devices to communicate as if they belong to the same LAN.

VLAN divides one physical network into multiple logical networks.

Working:

·      Switch ports are assigned VLAN IDs.

·      Devices in same VLAN communicate directly.

·      Different VLANs require routing.

Types:

1.  Port-based VLAN

2.  MAC-based VLAN

3.  Protocol-based VLAN

Advantages:

·      Improved security

·      Reduced broadcast traffic

·      Better network management

·      Increased flexibility

Disadvantages:

·      Complex configuration

·      Requires VLAN-capable switches

Example:

HR department in VLAN 10 and IT department in VLAN 20.

Conclusion:

VLAN improves security, performance, and management by logically segmenting a network.

21. Define CSMA/CD

CSMA/CD (Carrier Sense Multiple Access with Collision Detection) is a medium access control protocol used in Ethernet networks to manage data transmission and detect collisions.

Before transmitting data, a device checks whether the communication channel is free or busy.

Working:

1.  Device senses channel.

2.  If channel is free → transmit data.

3.  If collision occurs → stop transmission.

4.  Send jam signal.

5.  Wait random time and retransmit.

Features:

·      Collision detection

·      Shared communication medium

·      Used in Ethernet LAN

Advantages:

·      Simple implementation

·      Efficient under low traffic

·      Fair access mechanism

Disadvantages:

·      Performance decreases under heavy traffic

·      Collisions waste bandwidth

Conclusion:

CSMA/CD helps control access to shared communication media and reduces data collision problems in Ethernet networks.

22. Define Token Passing Protocol

Token passing is a controlled access protocol in which a special frame called token circulates among devices, and only the device holding the token can transmit data.

It prevents collisions in the network.

Working:

1.  Token moves from device to device.

2.  Device with token sends data.

3.  After transmission, token is released.

4.  Token moves to next device.

Features:

·      Collision-free communication

·      Deterministic access

·      Equal opportunity for devices

Advantages:

·      Efficient under heavy load

·      No collisions

·      Reliable communication

Disadvantages:

·      Token loss may disrupt communication

·      Complex maintenance

Example:

Token Ring network

Conclusion:

Token passing provides organized and collision-free network communication by controlling access through a token mechanism.


 

23. Define PPP (Point-to-Point Protocol)

PPP is a data link layer protocol used for direct communication between two network devices over serial links.

PPP provides authentication, error detection, and reliable communication.

Functions:

·      Encapsulation

·      Authentication

·      Error detection

·      Link establishment

Features:

·      Supports multiple protocols

·      Reliable communication

·      Full-duplex communication

Components:

1.  LCP (Link Control Protocol)

2.  NCP (Network Control Protocol)

Advantages:

·      Simple protocol

·      Error detection support

·      Widely supported

Applications:

·      Dial-up connections

·      Router-to-router communication

Conclusion:

PPP is a widely used protocol for reliable point-to-point communication in computer networks.

24. Define HDLC (High-Level Data Link Control)

HDLC is a bit-oriented data link layer protocol used for reliable and synchronous communication.

It provides framing, flow control, and error detection.

Features:

·      Bit-oriented protocol

·      Reliable communication

·      Supports full-duplex communication

Types of Frames:

1.  Information frame (I-frame)

2.  Supervisory frame (S-frame)

3.  Unnumbered frame (U-frame)

Advantages:

·      High efficiency

·      Error control support

·      Reliable transmission

Applications:

·      WAN communication

·      Router communication

Conclusion:

HDLC is a reliable protocol used for efficient and error-controlled data transmission in networks.

25. Define CRC (Cyclic Redundancy Check)

CRC is an error detection technique used in computer networks to detect errors in transmitted data using polynomial division.

The sender generates a remainder using generator polynomial and appends it to data before transmission.

Working:

1.  Data divided by generator polynomial.

2.  Remainder generated.

3.  Remainder attached to data.

4.  Receiver performs same division.

5.  Non-zero remainder indicates error.

Features:

·      Detects transmission errors

·      High accuracy

·      Widely used

Advantages:

·      Efficient error detection

·      Simple implementation

·      Reliable communication

Applications:

·      Ethernet

·      Data transmission systems

Conclusion:

CRC is an important error detection mechanism that improves reliability in digital communication.

26. Define Hamming Distance

Hamming distance is the number of bit positions in which two binary strings differ.

It is used in error detection and correction techniques.

Example:

Data 1 = 1011101
Data 2 = 1001001

Differing bits = 2

Therefore, Hamming distance = 2

Applications:

·      Error detection

·      Error correction

·      Digital communication

Features:

·      Measures data difference

·      Improves communication reliability

Conclusion:

Hamming distance helps determine the number of errors between binary data sequences.


 

27. Define Routing Protocol

A routing protocol is a set of rules used by routers to exchange routing information and determine the best path for data transmission.

Routing protocols help routers maintain routing tables dynamically.

Types:

1.  Distance Vector Routing Protocol

2.  Link State Routing Protocol

3.  Hybrid Routing Protocol

Examples:

·      RIP,OSPF,EIGRP,BGP

Functions:

·      Route discovery

·      Path selection

·      Route maintenance

Advantages:

·      Dynamic path selection

·      Efficient communication

·      Automatic route updates

Conclusion:

Routing protocols ensure efficient and reliable data delivery across interconnected networks.

28. Define NAT (Network Address Translation)

NAT is a networking technique that converts private IP addresses into public IP addresses for Internet communication.

It allows multiple devices in a private network to share a single public IP address.

Working:

1.  Device sends packet using private IP.

2.  Router converts private IP into public IP.

3.  Response returns to router.

4.  Router forwards packet to correct device.

Types:

Static  NAT,Dynamic NAT, PAT (Port Address Translation)

Advantages:

·      Conserves public IP addresses

·      Improves security

·      Supports private networking

Disadvantages:

·      Adds processing overhead

·      Complex troubleshooting

Conclusion:

NAT is widely used to conserve IPv4 addresses and improve network security.

29. Define Congestion Control

Congestion control is a mechanism used to regulate network traffic and prevent network overload.

Congestion occurs when network traffic exceeds available resources.

Objectives:

·      Prevent packet loss

·      Improve performance

·      Reduce delay

·      Efficient bandwidth utilization

Types:

1.  Open-loop congestion control

2.  Closed-loop congestion control

Techniques:

·      Traffic shaping

·      Leaky bucket

·      Token bucket

Advantages:

·      Improves network efficiency

·      Reduces packet loss

·      Maintains communication quality

Conclusion:

Congestion control is essential for maintaining stable and efficient network communication.

30. Define Cryptography

Cryptography is the science of securing information by converting readable data into unreadable form using encryption techniques.

It protects data from unauthorized access.

Objectives:

·      Confidentiality

·      Integrity

·      Authentication

·      Non-repudiation

Types:

1.  Symmetric key cryptography

2.  Asymmetric key cryptography

Terms:

·      Plaintext

·      Ciphertext

·      Encryption

·      Decryption

Advantages:

·      Data security

·      Secure communication

·      Privacy protection

Applications:

Online banking,VPN,Secure email

Conclusion:

Cryptography is a fundamental security technique used to protect digital communication and sensitive information.


1. Difference Between OSI Model and TCP/IP Model

Basis

OSI Model

TCP/IP Model

Full Form

Open System Interconnection

Transmission Control Protocol/Internet Protocol

Developed By

ISO

DARPA

Number of Layers

7 Layers

4 Layers

Nature

Reference model

Protocol suite

Session & Presentation Layer

Separate layers

Included in Application layer

Network Layer

Supports connection-oriented and connectionless service

Mostly connectionless

Transport Layer

TP0–TP4 protocols

TCP and UDP

Usage

Theoretical model

Practical Internet model

Flexibility

Less flexible

More flexible

Example

Academic learning

Internet communication

2. Difference Between Circuit Switching and Packet Switching

Basis

Circuit Switching

Packet Switching

Path

Dedicated path established

No dedicated path

Transmission

Continuous

Divided into packets

Bandwidth

Reserved

Shared dynamically

Delay

Fixed delay

Variable delay

Efficiency

Less efficient

More efficient

Reliability

High

Moderate

Cost

Expensive

Economical

Suitable For

Voice communication

Data communication

Example

Telephone

Internet

.


3. Difference Between Analog Signal and Digital Signal

Basis

Analog Signal

Digital Signal

Nature

Continuous

Discrete

Values

Infinite values

Binary values (0 and 1)

Noise Effect

High

Low

Accuracy

Less accurate

More accurate

Transmission

Difficult

Easy

Storage

Difficult

Easy

Examples

Radio signal

Computer data

4. Difference Between Guided Media and Unguided Media

Basis

Guided Media

Unguided Media

Communication Path

Physical cable

Wireless

Signal Direction

Guided through medium

Travels through air

Speed

High

Moderate

Security

More secure

Less secure

Cost

Installation costly

Lower installation cost

Interference

Less

More

Examples

Fiber optic, twisted pair

WiFi, radio waves



 

5. Difference Between Twisted Pair and Optical Fiber

Basis

Twisted Pair

Optical Fiber

Material

Copper wire

Glass/plastic fiber

Transmission

Electrical signals

Light signals

Speed

Lower

Very high

Bandwidth

Low

Very high

Cost

Cheap

Expensive

Interference

Affected by EMI

Immune to EMI

Security

Less secure

Highly secure

Distance

Short distance

Long distance

6. Difference Between FDM and TDM

Basis

FDM

TDM

Division Basis

Frequency

Time

Transmission

Simultaneous

Sequential

Signal Type

Analog

Digital

Bandwidth Usage

Lower efficiency

Higher efficiency

Interference

Possible

Very low

Synchronization

Not required

Required

Example

Radio broadcasting

Digital telephone system


7. Difference Between Bit Stuffing and Byte Stuffing

Basis

Bit Stuffing

Byte Stuffing

Unit Added

Bits

Bytes/characters

Used In

Bit-oriented protocol

Character-oriented protocol

Purpose

Avoid flag confusion

Avoid delimiter confusion

Method

Insert 0 after five 1s

Insert escape character

Example Protocol

HDLC

PPP


 

 

 

 

 

8. Difference Between PPP and HDLC

Basis

PPP

HDLC

Full Form

Point-to-Point Protocol

High-Level Data Link Control

Communication

Point-to-point

Point-to-point and multipoint

Orientation

Byte-oriented

Bit-oriented

Error Detection

Yes

Yes

Authentication

Supported

Not supported

Complexity

Simple

More complex

Applications

Internet dial-up

WAN communication


9. Difference Between Stop-and-Wait ARQ and Go-Back-N ARQ

Basis

Stop-and-Wait ARQ

Go-Back-N ARQ

Frames Sent

One at a time

Multiple frames

Efficiency

Low

Higher

Sliding Window

No

Yes

Acknowledgment

Individual

Cumulative

Retransmission

Single frame

All frames after error

Complexity

Simple

Moderate

10. Difference Between Go-Back-N ARQ and Selective Repeat ARQ

Basis

Go-Back-N ARQ

Selective Repeat ARQ

Retransmission

All frames after error

Only erroneous frame

Efficiency

Moderate

High

Buffer Requirement

Less

More

Complexity

Simple

Complex

Bandwidth Utilization

Lower

Better

Acknowledgment

Cumulative

Individual

 


 

 

11. Difference Between CSMA/CD and Token Passing

Basis

CSMA/CD

Token Passing

Access Method

Random access

Controlled access

Collision

Possible

No collision

Performance Under Heavy Load

Poor

Better

Complexity

Simple

Complex

Delay

Variable

Predictable

Example

Ethernet

Token Ring

12. Difference Between IPv4 and IPv6

Basis

IPv4

IPv6

Address Size

32-bit

128-bit

Address Format

Decimal

Hexadecimal

Address Space

Limited

Very large

Header Size

Variable

Fixed

Security

Optional

Built-in IPSec

Configuration

Manual/DHCP

Auto configuration

Broadcast

Supported

Not supported

NAT

Required

Not required

13. Difference Between Static Routing and Dynamic Routing

Basis

Static Routing

Dynamic Routing

Configuration

Manual

Automatic

Routing Updates

Manual

Automatic

Complexity

Simple

Complex

Scalability

Poor

Good

Suitable For

Small networks

Large networks

Overhead

Low

High

Adaptability

Low

High

 

 

14. Difference Between Distance Vector and Link State Routing

Basis

Distance Vector

Link State

Network Knowledge

Neighbor information only

Complete topology

Algorithm

Bellman-Ford

Dijkstra

Convergence

Slow

Fast

Routing Loops

More common

Rare

Resource Usage

Low

High

Example

RIP

OSPF

15. Difference Between Unicast, Broadcast and Multicast

Basis

Unicast

Broadcast

Multicast

Communication Type

One-to-one

One-to-all

One-to-many

Receiver

Single device

All devices in network

Selected group of devices

Bandwidth Usage

Efficient

High

Moderate

Traffic Amount

Low

Very high

Controlled

Delivery

Specific destination only

Sent everywhere

Sent only to group members

Example

Email, web browsing

ARP request

Video conferencing, IPTV

16. Difference Between ARP and RARP

Basis

ARP

RARP

Full Form

Address Resolution Protocol

Reverse Address Resolution Protocol

Function

IP to MAC

MAC to IP

Usage

Find MAC address

Find IP address

Common Usage

Widely used

Rarely used

Network Layer Support

IPv4

Older systems

17. Difference Between TCP and UDP

Basis

TCP

UDP

Connection

Connection-oriented

Connectionless

Reliability

Reliable

Unreliable

Speed

Slower

Faster

Acknowledgment

Required

Not required

Ordering

Maintained

Not guaranteed

Error Recovery

Supported

Not supported

Header Size

Larger

Smaller

Examples

HTTP, FTP

Gaming, streaming

18. Difference Between HTTP and HTTPS

Basis

HTTP

HTTPS

Full Form

HyperText Transfer Protocol

HyperText Transfer Protocol Secure

Security

Not secure

Secure

Encryption

No

Uses SSL/TLS

Port Number

80

443

Data Protection

No

Yes

Usage

Normal websites

Secure websites

19. Difference Between Symmetric and Asymmetric Cryptography

Basis

Symmetric Cryptography

Asymmetric Cryptography

Keys Used

Same key

Public and private keys

Speed

Faster

Slower

Security

Lower

Higher

Key Distribution

Difficult

Easier

Examples

AES, DES

RSA

20. Difference Between Plaintext and Ciphertext

Basis

Plaintext

Ciphertext

Meaning

Original readable data

Encrypted unreadable data

Readability

Human-readable

Not readable

Security

Not secure

Secure

Conversion

Input to encryption

Output of encryption

Static Routing vs Dynamic Routing

Basis

Static Routing

Dynamic Routing

Definition

Routes are manually configured by network administrator

Routes are automatically learned using routing protocols

Route Update

Manual

Automatic

Flexibility

Low

High

Complexity

Simple

Complex

Scalability

Suitable for small networks

Suitable for large networks

Network Traffic

Very low overhead

Generates routing traffic

Adaptability

Cannot adapt automatically to failures

Automatically adapts to network changes

Security

More secure

Less secure compared to static

Maintenance

Difficult in large networks

Easier in large networks

Cost

Low

Higher

Routing Protocol Needed

No

Yes

Examples

Small office network

Internet, enterprise network

 


 


Computer Network — Most Important Short Notes Cheatsheet

1. Checksum

Definition:

Checksum is an error detection technique used in data communication to detect errors during transmission.

Working:

·      Data is divided into equal segments.

·      Segments are added using binary addition.

·      Complement of sum becomes checksum.

·      Receiver performs same calculation.

·      If result differs → error detected.

Features:

·      Simple error detection method

·      Used in TCP/IP protocols

·      Detects transmission errors

Advantages:

·      Easy implementation

·      Fast error checking

Disadvantages:

·      Cannot correct errors

·      Less reliable than CRC

Applications:

·      TCP

·      UDP

·      IP header verification


2. Sliding Window

Definition:

Sliding window is a flow control mechanism that allows sender to send multiple frames before receiving acknowledgment.

Working:

·      Sender maintains a window of frames.

·      Window slides forward after acknowledgment.

·      Improves transmission efficiency.

Features:

·      Used in TCP

·      Supports continuous transmission

·      Improves bandwidth utilization

Advantages:

·      High efficiency

·      Better throughput

·      Reduced waiting time

Disadvantages:

·      More complex

·      Requires buffering


3. Piggybacking

Definition:

Piggybacking is a technique where acknowledgment is combined with outgoing data frame to improve efficiency.

Working:

·      Receiver delays ACK temporarily.

·      ACK is attached with outgoing data.

Advantages:

·      Reduces network overhead

·      Efficient bandwidth usage

Disadvantages:

·      Delay may occur if no outgoing data

Example:

Used in full duplex communication.


4. Fragmentation

Definition:

Fragmentation is the process of dividing large packets into smaller fragments for transmission.

Need:

Different networks support different Maximum Transmission Unit (MTU).

Types:

1.  Transparent Fragmentation

2.  Non-transparent Fragmentation

Advantages:

·      Supports transmission across networks with small MTU

·      Improves compatibility

Disadvantages:

·      Increases overhead

·      Reassembly complexity


5. Channelization

Definition:

Channelization is a multiple access technique where available bandwidth is divided among users.

Types:

1.  FDMA

2.  TDMA

3.  CDMA

Advantages:

·      Efficient bandwidth sharing

·      Supports multiple users

Applications:

·      Cellular networks

·      Wireless communication



 

6. FDMA (Frequency Division Multiple Access)

Definition:

FDMA divides communication channel into multiple frequency bands.

Features:

·      Each user gets separate frequency

·      Simultaneous communication possible

Advantages:

·      No waiting time

·      Continuous transmission

Disadvantages:

·      Bandwidth wastage

·      Guard band required

Applications:

·      Radio communication

·      First generation mobile systems


7. TDMA (Time Division Multiple Access)

Definition:

TDMA divides communication into different time slots.

Features:

·      Users share same frequency

·      Transmission occurs sequentially

Advantages:

·      Efficient bandwidth usage

·      Reduced interference

Disadvantages:

·      Requires synchronization

Applications:

·      GSM networks


8. CDMA (Code Division Multiple Access)

Definition:

CDMA allows multiple users to use same channel simultaneously using unique codes.

Features:

·      Spread spectrum technology

·      High security

Advantages:

·      Better capacity

·      Less interference

·      Secure communication

Disadvantages:

·      Complex implementation

Applications:

·      3G mobile communication


9. Polling

Definition:

Polling is a controlled access method where a central controller asks each device whether it wants to transmit data.

Working:

·      Controller checks devices sequentially.

·      Device transmits only when permitted.

Advantages:

·      No collision

·      Controlled communication

Disadvantages:

·      Slow process

·      Central controller failure affects network


10. Token Bus

Definition:

Token Bus is a network access method where a token is passed logically in bus topology.

Features:

·      Collision-free communication

·      Deterministic access

Advantages:

·      Efficient under heavy load

Disadvantages:

·      Complex maintenance


11. Token Ring

Definition:

Token Ring is a network where token circulates in ring topology and only token holder can transmit.

Features:

·      No collision

·      Equal access to devices

Advantages:

·      Reliable communication

Disadvantages:

·      Failure of one node may affect network


12. VLAN (Virtual Local Area Network)

Definition:

VLAN is a logical grouping of devices within the same physical network.

Features:

·      Logical segmentation

·      Improved security

·      Reduced broadcast traffic

Advantages:

·      Better network management

·      Improved performance

Applications:

·      Office departments

·      Enterprise LAN



 

13. ICMP (Internet Control Message Protocol)

Definition:

ICMP is a network layer protocol used for error reporting and diagnostics.

Functions:

·      Reports unreachable destinations

·      Supports ping and traceroute

Advantages:

·      Helps troubleshooting

·      Checks connectivity

Example:

Ping command


14. OSPF (Open Shortest Path First)

Definition:

OSPF is a link-state dynamic routing protocol.

Features:

·      Uses Dijkstra algorithm

·      Fast convergence

·      Supports large networks

Advantages:

·      Efficient routing

·      Scalable

Disadvantages:

·      Complex configuration


15. BGP (Border Gateway Protocol)

Definition:

BGP is a path-vector routing protocol used between autonomous systems on the Internet.

Features:

·      Internet backbone routing

·      Policy-based routing

Advantages:

·      Highly scalable

·      Stable routing

Disadvantages:

·      Complex management


16. WWW (World Wide Web)

Definition:

WWW is a collection of interconnected web pages accessed through Internet.

Components:

·      Web browser

·      Web server

·      HTTP protocol

Advantages:

·      Easy information access

·      Global connectivity


17. IMAP (Internet Message Access Protocol)

Definition:

IMAP is an email protocol used to access and manage email directly on server.

Features:

·      Emails remain on server

·      Multi-device synchronization

Advantages:

·      Access from anywhere

Disadvantages:

·      Requires internet connection


18. POP3 (Post Office Protocol Version 3)

Definition:

POP3 is an email protocol used to download emails from server to local device.

Features:

·      Offline reading possible

·      Downloads and deletes mail from server

Advantages:

·      Simple and fast

Disadvantages:

·      Limited synchronization


19. SNMP (Simple Network Management Protocol)

Definition:

SNMP is a protocol used for monitoring and managing network devices.

Components:

1.  SNMP Manager

2.  SNMP Agent

3.  Management Information Base (MIB)

Advantages:

·      Centralized monitoring

·      Easy network management


20. RSA

Definition:

RSA is an asymmetric encryption algorithm using public and private keys.

Features:

·      Secure communication

·      Digital signatures

Advantages:

·      High security

Disadvantages:

·      Slower than symmetric encryption


21. VPN (Virtual Private Network)

Definition:

VPN creates a secure encrypted connection over public networks.

Features:

·      Data encryption

·      Privacy protection

Advantages:

·      Secure remote access

·      Protects sensitive data

Applications:

·      Remote office access

·      Secure browsing



 

22. Plaintext and Ciphertext

Plaintext:

Original readable data.

Ciphertext:

Encrypted unreadable data.

Conversion:

Plaintext → Encryption → Ciphertext

Ciphertext → Decryption → Plaintext


23. Public Key Cryptography

Definition:

Public key cryptography uses two keys:

1.  Public key

2.  Private key

Working:

·      Public key encrypts

·      Private key decrypts

Advantages:

·      Secure communication

·      Digital signatures

Example:

RSA

Good—now we’ll upgrade your sheet to HIGH-YIELD EXAM SHORT NOTES (most repeated + 10-mark ready concepts) for CACS303.


🔥 MOST IMPORTANT SHORT NOTES (HIGH PRIORITY)


1. ARQ (Automatic Repeat Request)

Definition:

ARQ is an error control method used to ensure reliable data transmission by retransmitting lost or damaged frames.

Types:

1.  Stop-and-Wait ARQ

2.  Go-Back-N ARQ

3.  Selective Repeat ARQ

Working:

·      Sender sends frames

·      Receiver sends ACK

·      If error → retransmission occurs

Advantages:

·      Reliable communication

·      Error recovery

Disadvantages:

·      Delay due to retransmission


2. CRC (Cyclic Redundancy Check)

Definition:

CRC is a powerful error detection technique using binary division.

Working:

·      Data divided by generator polynomial

·      Remainder = CRC bits

·      Sent with data

·      Receiver checks remainder

Advantages:

·      Very strong error detection

·      Widely used

Disadvantages:

·      No error correction

·      Complex calculation


3. Flow Control

Definition:

Flow control is a technique used to manage data transmission speed between sender and receiver.

Types:

·      Stop-and-Wait

·      Sliding Window

Purpose:

·      Prevent receiver overflow

·      Ensure smooth communication


4. Congestion Control

Definition:

Congestion control prevents too much data from entering the network.

Causes:

·      High traffic

·      Limited bandwidth

·      Packet collision

Techniques:

·      Leaky Bucket

·      Token Bucket

·      TCP congestion control


5. Leaky Bucket Algorithm

Definition:

Traffic shaping algorithm that controls data flow at a fixed rate.

Working:

·      Data enters bucket

·      Leaves at constant rate

·      Overflow → packet loss

Advantage:

·      Smooth traffic flow


6. Token Bucket Algorithm

Definition:

Controls data transmission using tokens.

Working:

·      Tokens generated at fixed rate

·      Data sent only if token available

Advantage:

·      Allows burst traffic



 

7. IP Datagram Fragmentation

Definition:

Breaking large IP packets into smaller fragments for transmission.

Fields:

·      Identification

·      Fragment offset

·      MF flag

Issue:

·      Reassembly required at destination


8. NAT (Network Address Translation)

Definition:

NAT converts private IP addresses into public IP addresses.

Types:

·      Static NAT

·      Dynamic NAT

·      PAT (Port Address Translation)

Advantages:

·      Saves IP addresses

·      Security improvement


9. DNS (Deep Exam Version)

Definition:

DNS converts domain names into IP addresses.

Hierarchy:

Root → TLD → Authoritative server

Types of Query:

·      Recursive

·      Iterative


10. DHCP (Important 10-mark)

Definition:

Automatically assigns IP configuration to devices.

DORA Process:

·      Discover

·      Offer

·      Request

·      Acknowledge

Advantages:

·      Automatic configuration

·      No IP conflict


11. FTP (File Transfer Protocol)

Definition:

Used to transfer files between client and server.

Modes:

·      Active mode

·      Passive mode

Ports:

·      20 (data)

·      21 (control)


12. SMTP (Email Sending Protocol)

Definition:

SMTP is used to send emails over the Internet.

Working:

Client → SMTP server → Mail server → Receiver


13. HTTP vs HTTPS (Very Important)

HTTP:

·      No encryption

·      Port 80

HTTPS:

·      Secure (SSL/TLS)

·      Port 443

Key Point:

HTTPS = HTTP + Security layer


14. Sliding Window Protocol

Definition:

Allows multiple frames to be sent before acknowledgment.

Types:

·      Go-Back-N

·      Selective Repeat

Advantage:

·      High efficiency


15. MAC Address

Definition:

Unique hardware address of NIC.

Format:

48-bit hexadecimal

Example:

00:1A:2B:3C:4D:5E


16. LAN, MAN, WAN

Type

Meaning

Range

LAN

Local Area Network

Small area

MAN

Metropolitan Area Network

City

WAN

Wide Area Network

Global


17. Network Devices (VERY IMPORTANT)

Hub:

Broadcasts data to all

Switch:

Sends data using MAC address

Router:

Connects different networks using IP

Modem:

Converts analog ↔ digital


18. Firewall

Definition:

Security system that controls network traffic.

Types:

·      Packet filtering

·      Stateful

·      Proxy firewall

Purpose:

·      Prevent unauthorized access


19. VPN

Definition:

Creates secure tunnel over internet.

Features:

·      Encryption

·      Privacy


20. Cryptography Basics

Definition:

Technique to secure data using encryption.

Types:

·      Symmetric (AES)

·      Asymmetric (RSA)

Goal:

CIA Triad:

·      Confidentiality

·      Integrity

·      Availability


21. Digital Signature

Definition:

Used to verify authenticity of data.

Working:

Hash + encryption using private key

Purpose:

·      Authentication

·      Integrity


22. OSI vs TCP/IP (Exam Favorite)

Already covered earlier → VERY HIGH WEIGHT


23. CSMA/CD vs CSMA/CA

CSMA/CD:

·      Used in Ethernet

·      Detects collision

CSMA/CA:

·      Used in WiFi

·      Avoids collision


24. Ethernet (IEEE 802.3)

Definition:

Most common LAN technology.

Features:

·      Uses CSMA/CD

·      High speed LAN


25. WiFi (IEEE 802.11)

Definition:

Wireless LAN technology.

Features:

·      Uses radio waves

·      Mobility support


1. IEEE 802.1 (LAN/MAN Management)

·      Deals with network management

·      Supports VLAN and bridging

·      Spanning Tree Protocol (STP)


2. IEEE 802.2 (LLC – Logical Link Control)

·      Provides error and flow control

·      Interface between Network layer and MAC layer

·      Multiplexing of protocols


3. IEEE 802.3 (Ethernet) MOST IMPORTANT

·      Wired LAN standard

·      Uses CSMA/CD

·      Frame-based communication

·      Speed: 10 Mbps to 100 Gbps

📌 Example:
LAN cable networks in offices, schools


4. IEEE 802.4 (Token Bus)

·      Uses token passing in bus topology

·      No collision

·      Mostly obsolete now


5. IEEE 802.5 (Token Ring)

·      Uses ring topology

·      Token passing mechanism

·      No collision


6. IEEE 802.11 (WiFi) VERY IMPORTANT

·      Wireless LAN standard

·      Uses radio waves

·      Supports mobility

·      Security: WPA, WPA2

📌 Example:
WiFi in home, college, offices


7. IEEE 802.15 (WPAN)

·      Short range communication

·      Used in Bluetooth

·      Low power devices


8. IEEE 802.16 (WiMAX)

·      Wireless MAN

·      Long range broadband access