Important Questions With Detailed Answers For Computer Networks
Important Questions With Detailed Answers For Computer Networks
Analog and Digital Transmission: Analog transmission is the method of transmitting data in a
continuous wave form that changes amplitude, phase, or frequency according to the data. Analog
signals are susceptible to noise and degradation. Digital transmission involves sending data in
binary format (0s and 1s). It offers better noise immunity, efficient error detection, and data
compression.
Difference Table:
Types of Noise:
Thermal Noise: Produced by the random motion of electrons; exists in all electronic
devices.
Crosstalk: Occurs when signals from one line interfere with another.
Impulse Noise: Sudden irregular noise like spikes due to electromagnetic interference.
Attenuation: Loss of signal strength over distance.
Distortion: Signal changes shape due to differing propagation speeds of signal
components.
Transmission Media:
Guided Media: Twisted pair cable, coaxial cable, and fiber optics. Physical media that
direct signals.
Unguided Media: Radio waves, microwaves, and infrared signals transmitted through
the air.
Encoding Techniques:
Asynchronous Transmission: Data is sent one byte at a time, with start and stop bits. Suitable
for low-speed communication.
Synchronous Transmission: Data sent in large blocks or frames with synchronized timing.
More efficient but requires synchronization.
Timing Issues: In synchronous communication, both sender and receiver must share a clock or
use phase-locking mechanisms. Any discrepancy causes miscommunication.
Error Control: Uses techniques like ARQ (Automatic Repeat Request) to detect and
retransmit corrupted frames.
Flow Control: Prevents the sender from overwhelming the receiver. Protocols like Stop-
and-Wait, Sliding Window are used.
Addressing: Each device on the network is given a unique identifier.
Sequencing: Ensures that data is received in the correct order.
Encapsulation and Decapsulation: Wrapping and unwrapping of data as it travels
through layers.
1. Physical Layer: Deals with hardware transmission of raw bitstreams over a medium.
2. Data Link Layer: Ensures error-free transfer of frames between nodes.
3. Network Layer: Manages device addressing, tracks the location of devices, and
determines the best path to move data.
4. Transport Layer: Ensures complete data transfer.
5. Session Layer: Maintains, manages, and terminates connections between applications.
6. Presentation Layer: Translates data between the application and network format.
7. Application Layer: Interfaces directly with end-user software.
TCP/IP Model:
Encapsulation: Each layer adds its header to data before transmission. Upon reception, layers
remove headers (decapsulation).
5. Internetworking
Definition: Internetworking connects different types of networks (e.g., LAN, WAN) using
devices like routers and gateways.
Devices Used:
6. Routing
Definition: Routing is the process of finding a path for data from source to destination across
multiple networks.
Routing Algorithms:
Distance Vector: Based on Bellman-Ford algorithm. Routers share distance vectors with
neighbors (e.g., RIP).
Link State: Routers broadcast information to build a full map of network (e.g., OSPF).
Features:
LAN Topologies:
Comparison:
Common Threats:
Security Techniques:
Cryptography: Encryption (AES, RSA) to protect confidentiality.
Firewall: Filters incoming and outgoing traffic.
IDS/IPS: Detects and prevents attacks.
Authentication Protocols: Ensure user/device legitimacy (e.g., Kerberos).
Definition: MAC (Media Access Control) is responsible for controlling how devices in a
network gain access to a medium and permission to transmit data.
Protocols:
Other Techniques:
Token Passing: Only the device with the token can transmit.
Polling: Central controller asks devices one-by-one to transmit.
MAC Addressing: Each network device has a unique MAC address (48-bit) for identification at
the data link layer.