Network Devices, Protocols & Web Technologies Formulas & Cheat Sheet
Complete chapter-wise reference, step-by-step formula explanations, structured table, and board exam trap warnings.
Core Concepts & Theoretical Foundations
- Hardware Devices: Modem (Modulator-Demodulator: converts analog to digital & vice versa), RJ45 (8-pin Ethernet connector), Hub (broadcast device, physical layer), Switch (intelligent packet filter based on MAC address, data link layer), Repeater (amplifies attenuated signals), Gateway (connects dissimilar networks with different protocols), Router (finds optimal packet path using IP routing tables).
- Network Protocols: TCP/IP (Transmission Control Protocol: reliable packet delivery; IP: logical addressing), IPv4 (32-bit, 4 octets e.g. 192.168.1.1) vs IPv6 (128-bit hexadecimal), MAC Address (48-bit physical hardware address burned into NIC, 6 pairs of hex digits separated by hyphens/colons).
- Application Protocols: HTTP (port 80) vs HTTPS (port 443, SSL/TLS encrypted), FTP (file transfer, port 20/21), SMTP (Simple Mail Transfer Protocol for SENDING emails), POP3/IMAP (for RECEIVING emails), VoIP (Voice over IP).
- Web Technologies: DNS (Domain Name System: translates human domain names into numerical IP addresses), URL anatomy: `protocol://domain:port/path?query#hash`, Static vs Dynamic web pages, Cookies vs Cache.
Chapter Formulas & Equations (10 entries)
| # | Topic / Formula Name | Mathematical Form & Equation | Conditions, Meaning & Board Tips |
|---|---|---|---|
| 1 | IPv4 vs IPv6 Address Capacity Formula |
|
IPv6 completely eliminates the global address exhaustion crisis of 32-bit IPv4. |
| 2 | MAC Address Bit Length & Format |
|
First 3 bytes identify manufacturer (OUI); last 3 bytes are unique device serial. |
| 3 | URL Structural Anatomy |
|
Standard uniform resource locator syntax specification (RFC 3986). |
| 4 | Hub vs Switch Collision Domains |
|
Switches eliminate frame collisions by buffering and unicasting packets to destination ports. |
| 5 | DNS Resolution Mapping Identity |
|
Distributed hierarchical directory service converting human-friendly strings to network routing integers. |
| 6 | Standard Well-Known Port Numbers |
|
Enables destination operating systems to route packets to the correct listening application service. |
| 7 | Email Transport Protocol Split |
|
SMTP is a push protocol; POP3 and IMAP are pull retrieval protocols. |
| 8 | Bandwidth vs Throughput Relationship |
|
Throughput accounts for packet loss, protocol overhead, and intermediate router latency. |
| 9 | Subnet Mask Usable Hosts Formula |
|
Standard Class C /24 subnet has 2^8 - 2 = 254 usable host IP addresses. |
| 10 | Parity Bit Error Detection Identity |
|
Detects single-bit transmission errors across noisy communication channels. |
Step-by-Step Worked Board Exam Examples
Example 1: A school network administrator needs to connect two computer labs located 120 meters apart. Computers inside each lab connect via a Star topology. (i) Name the device needed inside each lab. (ii) Name the device required between the two labs to prevent signal attenuation. (iii) Suggest an appropriate transmission cable.
1. Inside each lab: Multiple computers need to be interconnected in a Star topology -> A Switch (or Hub).
2. Distance between the labs is 120 meters (exceeds the 100-meter copper limit) -> A Repeater is needed to amplify the signal.
3. Cable choice: For 120m, either Cat6 Twisted Pair with a repeater or an Optical Fiber cable (which easily spans kilometers without repeaters) can be used.
Example 2: State whether the following addresses are MAC addresses or IP addresses, and state their format: (a) 192.168.1.25 (b) 00:1B:44:11:3A:B7 (c) 2001:0db8:85a3:0000:0000:8a2e:0370:7334
1. (a) 192.168.1.25: IPv4 Address (32-bit dotted-decimal notation, 4 octets).
2. (b) 00:1B:44:11:3A:B7: MAC Address (48-bit physical hardware address in 6 hexadecimal pairs).
3. (c) 2001:0db8:...: IPv6 Address (128-bit hexadecimal address in 8 colon-separated groups).
Common Mistakes to Avoid in Exam
- Confusing Hub with Switch: A Hub broadcasts incoming frames to ALL ports indiscriminately; a Switch inspects destination MAC addresses and forwards packets ONLY to the intended recipient port.
- Stating SMTP is used to download emails: SMTP is used ONLY for SENDING emails; POP3 or IMAP is used to retrieve/download emails.
- Thinking MAC address changes when moving to a new Wi-Fi: A MAC address is burned permanently into the NIC hardware and does not change; an IP address is a logical network address assigned dynamically by DHCP.
- Confusing HTTP with HTTPS: HTTPS runs over Transport Layer Security (TLS/SSL) encryption on port 443, whereas HTTP transmits plaintext over port 80.
Target Practice Questions
Q1. Which protocol is responsible for reliable packet sequencing and error-free retransmission?
Correct Answer: Transmission Control Protocol (TCP).
Q2. Name the protocol used for transferring files between a client and server over a network.
Correct Answer: FTP (File Transfer Protocol).
Q3. How many bits are there in an IPv6 address?
Correct Answer: 128 bits (16 bytes).
Frequently Asked Questions
Q. What is the difference between a Router and a Gateway?
A Router forwards data packets between similar networks using IP addresses and routing algorithms. A Gateway acts as a protocol converter connecting two completely dissimilar networks that operate on different communication protocols.
Q. What is the Domain Name System (DNS)?
DNS is a distributed hierarchical lookup system that translates human-friendly domain names (like `www.google.com`) into numerical IP addresses (like `142.250.190.46`) required by network routers.
Q. Why is POP3 being replaced by IMAP for mobile email clients?
POP3 downloads emails to a single local device and deletes them from the server, preventing synchronization. IMAP keeps emails on the central server, allowing seamless synchronization across multiple devices (phones, laptops).
Q. What is VoIP?
Voice over Internet Protocol (VoIP) is a communication methodology enabling telephone voice calls and multimedia sessions to be transmitted over IP networks (Internet) rather than traditional circuit-switched PSTN lines.
Q. What are Cookies in web browsing?
Cookies are small text files stored by a web browser on the user's computer containing session tokens, shopping cart contents, or user preferences to maintain state across stateless HTTP requests.