←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 1 Revision

Quick summary and key points for Unit 1

Network Goals and Applications

Overview: In a college lab, twenty PCs can share one printer.

What is a Computer Network?

  • In simple words, a Computer Network is a collection of two or more computers or electronic devices connected together using cables or…
  • Think of your College Computer Lab!

Primary Goals of Computer Networks

  • Why do businesses, colleges, and governments build computer networks?
  • 1. Resource Sharing: Hardware Sharing: Multiple users share expensive peripherals like laser printers, scanners, and high-capacity storage servers.
  • Software & Data Sharing: Instead of installing software from 50 separate CDs, software is installed on a central server.
  • 2. High Reliability (Fault Tolerance): If a bank has all its customer data on only one computer and that computer’s hard disk dies, all customer money records are lost.
  • In a network, data is duplicated across multiple machines.
  • 3. Cost Reduction (Money Saving): Centralized network servers are vastly cheaper to maintain than buying individual standalone high-end computers for every employee.
  • 4. Scalability: You can easily expand your network.
  • 5. Fast Communication Medium: Enables real-time communication tools: email, WhatsApp messaging, Zoom video calls, and UPI instant money transfers.

View diagram · 5 Primary Goals of Computer Networks

Real-World Applications of Computer Networks

  • A. Business Applications: Resource Sharing: Sharing printers, scanners, and enterprise databases (ERP/CRM).
  • Client-Server Architecture: Employees access company financial records from their desks via desktop clients connected to a central database server.
  • E-Commerce & Online Banking: Platforms like Amazon, Flipkart, and NetBanking rely 100% on network communication.
  • B. Home and Personal Applications: Internet Access: Surfing web pages, watching YouTube, streaming Netflix, and scrolling Instagram.
  • Personal Communication: WhatsApp chats, video calls with family, email.
  • Smart Home Devices (IoT): Controlling smart TVs, Alexa, and smart bulbs from your smartphone over Wi-Fi.

💡 DAVV Exam Tip

  • Question (5 Marks): “What is a Computer Network?
    • Give the 2-line simple definition: Collection of interconnected autonomous computers.
    • Explain the 5 goals: Resource Sharing, High Reliability, Cost Reduction, Scalability, and Fast Communication.
    • Give the college lab printer example for Resource Sharing.

Network Structure and Services: Connection-Oriented vs Connectionless

Overview: When you open a library website, your laptop is an end system.

Network Structure: Edge vs. Core

  • A computer network is divided into two primary zones:
  • The Network Edge (End Systems / Hosts):
  • The devices that you and I use: laptops, smartphones, desktop PCs, web servers, smart TVs.
  • These devices sit at the “edges” of the network and run user applications (browsers, games, apps).
  • The Network Core (The Backbone):
  • The mesh of routers, switches, optical fiber cables, and satellite links that move data packets between end systems across cities and…

Point-to-Point vs. Broadcast Transmission

  • Point-to-point communication connects two endpoints on a link.
  • Point-to-Point (Unicast) Dedicated link between exactly two machines.
  • Broadcast Link A single shared communication channel.

View diagram · Point-to-Point vs Broadcast Transmission

Network Services: Connection-Oriented vs. Connectionless

  • This is one of the most frequently asked questions in BCA exams:
  • Connection-Oriented (TCP) Handshake first ➔ Data transfer ➔ Disconnect.
  • Connectionless (UDP) Send packets directly with no handshake.
  • Real-Life Analogy: Making a telephone call (dial number, wait for “Hello”, talk, hang up).
  • Connection Setup: Compulsory 3-way handshake before sending any data.
  • Reliability & ACK: 100% Reliable: Receiver sends Acknowledgement (ACK).
  • Packet Sequence: Packets arrive in the exact correct order (1, 2, 3, 4).
  • Speed & Overhead: Slower due to handshake, acknowledgements, and error checks.

View diagram · Two Fundamental Network Service Types

💡 DAVV Exam Tip

  • Question (10 Marks): “Differentiate between Connection-Oriented and Connectionless services with suitable examples.”
    • Draw the comparison table with parameters: Handshake, Reliability, Packet ordering, Speed, Protocols.
    • Mention TCP as connection-oriented and UDP as connectionless.

Network Standardization: ISO, IEEE, IETF, and ITU-T

Overview: A laptop and a router from different companies can exchange frames because both follow agreed rules.

Why Do We Need Standards?

  • In networking, Standards are agreed-upon rules, specifications, and protocols that ensure devices built by different manufacturers (like…

De Facto vs. De Jure Standards

  • In exams, this distinction is frequently asked:
  • De Facto (“By Fact / By Convention”) Standards that became popular simply because they were widely adopted by the public, not by law.
  • De Jure (“By Law / By Regulation”) Official standards formally written, debated, and approved by recognized legal standards bodies.

View diagram · De Facto vs De Jure Standards

Major International Standards Organizations

  • 1. ISO (International Organization for Standardization): Global federation of national standards bodies across 160+ countries.
  • Best known in computer science for creating the OSI 7-Layer Reference Model.
  • 2. IEEE (Institute of Electrical and Electronics Engineers): Famous for creating the IEEE 802 Standards that govern LANs and MANs:
  • IEEE 802.3: Wired Ethernet LAN.
  • IEEE 802.11: Wi-Fi Wireless LAN.
  • IEEE 802.15: Bluetooth (Wireless Personal Area Network - WPAN).
  • 3. IETF (Internet Engineering Task Force): The open international community of network engineers who develop the core protocols of the Internet.
  • Standards are published as RFCs (Request for Comments), such as RFC 791 (IPv4) and RFC 2616 (HTTP).

💡 DAVV Exam Tip

  • Question (5 Marks): “Differentiate between De Facto and De Jure standards with examples.”
    • Define De Facto: Standard by market practice/popularity without formal law (TCP/IP).
    • Define De Jure: Standard formally ratified by an official committee (OSI, IEEE 802.3).
    • List the 3 famous IEEE standards: 802.3 (Ethernet), 802.11 (Wi-Fi), 802.15 (Bluetooth).

Networking Models: Client-Server vs Peer-to-Peer (P2P)

Overview: In a client-server lab, students send print jobs to a print server that manages the queue.

Client-Server Architecture

  • In a Client-Server network, one central powerful computer (the Server) manages resources, security, and databases, while other normal…
  • Client 1 Sends Request ➔ Gets Response
  • Client 2 Sends Request ➔ Gets Response
  • Client 3 Sends Request ➔ Gets Response
  • How it Works: Clients never talk directly to each other; they communicate exclusively through the central server.
  • Real-Life Examples:
  • Opening a website on Chrome: Your laptop is the Client; Google’s web server is the Server.
  • Sending money via UPI: Your PhonePe app is the Client; your Bank’s core server is the Server.

View diagram · Client-Server Architecture

Peer-to-Peer (P2P) Architecture

  • In a Peer-to-Peer network, there is no central server.
  • How it Works: Each computer acts as both a Client and a Server simultaneously!
  • If Peer A wants a file from Peer B, it acts as a client.
  • Real-Life Examples: BitTorrent file sharing, Blockchain / Bitcoin networks, sharing files between two phones using Wi-Fi Direct or QuickShare.

View diagram · Peer-to-Peer (P2P) Architecture

Comparison Table: Client-Server vs. Peer-to-Peer

  • Central Authority: Has a central dedicated server managing everything.
  • Role of Devices: Strict separation: Clients only request; Server only serves.
  • Security & Backup: Very easy; all files and backups are stored in one central server room.
  • Single Point of Failure: Yes: If the central server crashes, the entire network goes down.
  • Setup Cost: Expensive (must buy powerful servers and network OS licenses).
  • Performance with Scale: Server can get congested if millions of clients connect at once.

💡 DAVV Exam Tip

  • Question (10 Marks): “Compare Client-Server and Peer-to-Peer networking models.
    • Draw the Central Server hierarchy diagram vs P2P ring diagram.
    • Write the 6-point comparison table above.
    • Mention Single Point of Failure (SPOF) as a key weakness of Client-Server systems.

Network Topologies: Bus, Star, Ring, Tree, Mesh, and Hybrid

Overview: In a star, unplugging one student’s cable normally disconnects only that PC.

What is a Network Topology?

  • In simple words, Network Topology is the geometric arrangement or layout of computers, cables, and other devices in a network.

Physical vs. Logical Topology

  • Physical Topology: How the actual wires and computers look in the room (e.g., all cables plugged into a central switch box on the wall looks…
  • Logical Topology: The actual path that electronic signals take between computers (e.g., whether signals move in a circle or broadcast to…

Bus Topology

  • In a Bus Topology, all computers are connected to a single continuous central transmission cable called the Backbone Cable.
  • Working & Key Points: When PC 1 sends a message, it travels down the backbone in both directions.
  • Terminators: Placed at both ends of the cable to absorb signals and prevent signal reflection (bouncing waves that corrupt data).
  • Advantage: Requires the least amount of cable; cheapest to install.
  • Disadvantage: If the main backbone cable breaks anywhere, the entire network goes down!

View diagram · Bus Topology Architecture

  • In a Star Topology, every computer is connected via its own separate cable to a central device—usually a Switch or Hub.
  • Working & Key Points: Real-Life Example: Your college lab!
  • Advantage: High fault tolerance.
  • Disadvantage: If the central switch loses power or burns out, the whole lab stops working.

View diagram · Star Topology Architecture

Ring Topology

  • In a Ring Topology, every computer is connected to exactly two neighboring computers, forming a closed circular loop.
  • Working & Key Points: Data travels in one single direction (unidirectional) around the circle.
  • Token Passing: To prevent collisions, an electronic “token” circulates around the ring.
  • Disadvantage: If a single cable breaks or one computer is turned off, the entire ring breaks.

Mesh Topology (Full Mesh)

  • In a Full Mesh Topology, every single computer is directly connected to every other computer by a dedicated point-to-point cable.
  • Formula for Number of Cables: For N computers, the number of cables required is:
  • Formula: Number of Links = (N(N - 1)) / (2)
  • Example: For 6 computers: (6 × 5 / 2) = 15 cables.
  • Advantage: Maximum reliability and security.
  • Disadvantage: Extremely expensive and complicated to install due to the massive number of wires.

Tree and Hybrid Topologies

  • Tree Topology: Combines characteristics of Star and Bus topologies.
  • Hybrid Topology: A combination of two or more different topologies (e.g., Star-Ring or Star-Bus).

💡 DAVV Exam Tip

  • Question (10 Marks): “Explain different network topologies with diagrams.
    • Draw neat diagrams for Bus, Star, and Ring.
    • Give the Mesh formula: N(N-1)/2.
    • Mention why Star is the most popular topology in modern offices.

Topology Selection Criteria and Performance Evaluation

Overview: A star suits a single classroom where each desk can reach a central switch.

Key Criteria for Selecting a Network Topology

  • Decide how many links and devices the site can afford.
  • 1. Installation Cost Cable length, switches, hubs, and labor costs
  • 2. Reliability & Fault Tolerance Can the network continue operating if one cable is cut?
  • 3. Ease of Troubleshooting How fast can an engineer pinpoint a broken wire?
  • 4. Scalability (Future Growth) How easy is it to add 50 new computers next year?
  • 5. Data Traffic Volume Can it handle heavy file transfers without collisions?

View diagram · 5 Key Topology Selection Factors

In-Depth Evaluation Matrix for Exams

  • Cable Length: Very Low
  • Hardware Cost: Lowest (No switches)
  • Ease of Setup: Very Easy
  • Fault Isolation: Difficult (Whole bus dies)
  • Scalability: Poor (Adding PCs slows bus)
  • Best Practical Fit: Small temporary setups

💡 DAVV Exam Tip

  • Question (5 Marks): “What factors should an engineer consider when selecting a network topology?”
    • Name the 5 factors: Cost, Cable Length, Reliability, Scalability, and Ease of Maintenance.
    • Recommend Star Topology for standard office/college labs and explain why (easy troubleshooting and isolated PC failure).