←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Revision

Computer Networks · Unit 4 Revision

Quick summary and key points for Unit 4

Open Systems and Layered Network Architectures: Concepts, Protocols, and Interfaces

Overview: When a browser sends a request, transport prepares delivery between applications.

What is an Open System?

  • An Open System is a computer system that adheres to open, publicly available, vendor-independent standards (such as TCP/IP or ISO OSI).
  • Any manufacturer (Apple, Dell, Lenovo) can build equipment that complies with open standards, guaranteeing that devices from different…

Why Use a Layered Architecture? (The Post Office Analogy)

  • Think of how you mail a physical handwritten letter through India Post:
  • You (Sender): Write the letter, seal it in an envelope, write the recipient’s address, and stick a postal stamp.
  • Local Post Office: Collects letters from your area, sorts them by PIN code, and packs them into mailbags.
  • Airport / Railways: Transports mailbags across cities without ever opening or reading your letter!
  • Destination Post Office: Unpacks the mailbag and gives it to the local postman.
  • Friend (Receiver): Receives the envelope, opens it, and reads your letter.

View diagram · Layered Communication Model

Protocols vs. Interfaces

  • In exams, this distinction is frequently asked:
  • Protocol: A set of formal rules governing communication between peer entities on the same layer on two different…
  • Interface: The set of operations and services that a lower layer offers to the layer immediately above it inside the…
  • Service Access Point (SAP): The specific software doorway or port where Layer N-1 delivers services to Layer N.

💡 DAVV Exam Tip

  • Question (5 Marks): “Explain the concept of layered architecture in computer networks.
    • Differentiate: Protocol = Horizontal communication between peer layers on different machines; Interface = Vertical communication between…

The ISO-OSI 7-Layer Reference Model: Architecture and Layer Functions

Overview: On a shared medium, MAC decides when a station may send and supplies local addressing.

Easy Mnemonic to Remember the 7 Layers

  • To remember the 7 layers from top (Layer 7) to bottom (Layer 1):
  • “All People Seem To Need Data Processing”
  • A - Application (Layer 7)
  • P - Presentation (Layer 6)
  • S - Session (Layer 5)
  • T - Transport (Layer 4)
  • N - Network (Layer 3)
  • D - Data Link (Layer 2)

The 7 Layers and Their Core Duties

  • Read down the layers to follow a message towards the medium.
  • Application Layer Network services to user apps: HTTP, FTP, SMTP, DNS
  • Presentation Layer Translation, Encryption (SSL/TLS), and Data Compression (JPEG/ZIP)
  • Session Layer Dialog control, session establishment, and Checkpoints/Sync points
  • Transport Layer End-to-end delivery, Port numbers, Flow & Error control (TCP / UDP)
  • Network Layer Logical IP addressing and packet Routing across networks (Routers)
  • Data Link Layer Framing, physical MAC addressing, Hop-to-Hop error control (Switches)
  • Physical Layer Transmission of raw bits over physical copper/fiber cables (Hubs/Repeaters)

View diagram · The ISO OSI 7-Layer Architecture

💡 DAVV Exam Tip

  • Practice Question: “Explain the ISO-OSI 7-layer reference model with a neat diagram.
    • Draw the 7-layer stack diagram with Layer 7 at the top and Layer 1 at the bottom.
    • Write the Data Units: Bits -> Frames -> Packets -> Segments -> Data.
    • Give at least 3 distinct bullet points for every layer.

Physical Layer: Transmission Devices, Media, and Working Principles

Overview: A repeater restores a signal for the next cable segment.

Core Responsibilities of the Physical Layer

  • Representation of Bits: Defines how a bit 0 and bit 1 are represented as electrical voltages or light pulses.
  • Data Rate (Transmission Speed): Defines the duration of a bit and number of bits sent per second (bps).
  • Synchronization of Bits: Synchronizes sender and receiver clocks to ensure bits are sampled at the exact right microsecond.
  • Physical Topologies: How devices are wired (Star, Bus, Ring, Mesh).
  • Transmission Modes: Direction of signal flow (Simplex, Half-Duplex, Full-Duplex).

Transmission Modes (Simplex vs. Half-Duplex vs. Full-Duplex)

  • Simplex allows transfer in one direction only.

View diagram · The Three Transmission Modes

Physical Layer Hardware Devices

  • 1. Repeater: An electronic device that receives a weak, attenuated electrical or optical signal, cleans away noise, **regenerates (amplifies) the signal…
  • Extends the maximum physical length of a network cable (e.g., beyond the 100-meter limit of Cat6 copper).
  • 2. Hub (Multi-Port Repeater): A non-intelligent broadcast device with 8, 16, or 24 ports.
  • How it Works: When a frame enters port 1, the Hub blindly copies and broadcasts that electrical signal out of all other ports.
  • Disadvantage: Creates a single large collision domain; causes massive collisions.

DTE vs. DCE Interface

  • DTE (Data Terminal Equipment): The end user device that creates or consumes digital data (e.g., your desktop PC or router).
  • DCE (Data Circuit-terminating Equipment): The communication device that connects the DTE to the telecom network lines (e.g., a Modem).
  • EIA-232 (RS-232): The standard 25-pin or 9-pin cable interface used to connect a DTE to a DCE.

💡 DAVV Exam Tip

  • Question (5 Marks): “Explain the functions of the Physical Layer.
    • Define the 5 duties of Layer 1.
    • Give the 3 transmission modes with real-world analogies: TV broadcast (Simplex), Walkie-talkie (Half-Duplex), Telephone call…