UPSSSC Lower PCS Computer & IT Master Guide

Section 2: Internet, Networking, IP Addressing & Web Technologies

1. Computer Networks & Classification

A Computer Network is an interconnection of two or more autonomous computing devices enabling resource sharing (hardware, files), communication, and central management.

Type Coverage Span Speed / Latency Transmission Tech / Example
PAN (Personal Area Net) Up to ~10 meters High speed / Low latency Bluetooth (IEEE 802.15.1), Zigbee, Smartwatch sync
LAN (Local Area Net) Up to 1 km (Office/Home) Very High (up to 10Gbps) Ethernet (IEEE 802.3), Wi-Fi (IEEE 802.11)
CAN (Campus Area Net) 1 km – 5 km High speed Interconnected LANs across a university/military campus
MAN (Metropolitan Net) 5 km – 50 km (Citywide) Medium speed Coaxial Cable TV networks, Municipal Wi-Fi, ATM networks
WAN (Wide Area Net) Country / Worldwide Lower relative speed Fiber undersea cables, Satellites. The Internet is the largest WAN.

2. Network Topologies in Depth

Topology refers to the structural layout—both physical cabling layout and logical data flow—of nodes in a network.

BUS TOPOLOGY STAR TOPOLOGY RING TOPOLOGY [Node] [Node] [Node] [Node] [Node] ─── [Node] │ │ │ │ │ │ ───┴──────┴──────┴─── Backbone [HUB] ─── [Node] │ │ │ [Node] ─── [Node] [Node]

3. Comprehensive Network Hardware & Devices

Layer (OSI Model) Network Device Primary Function
Layer 1 (Physical) Repeater Amplifies and regenerates weak incoming signals over long distances.
Layer 1 (Physical) Hub Non-intelligent multiport device; broadcasts data to ALL connected ports. Shared collision domain.
Layer 1 (Physical) Modem Converts digital signals to analog (Modulation) & analog to digital (Demodulation).
Layer 2 (Data Link) Switch Intelligent multiport device; unicasts data using a MAC Table (CAM Table). Separate collision domains.
Layer 2 (Data Link) Bridge Divides large LANs into smaller segments based on MAC addresses.
Layer 3 (Network) Router Connects distinct networks (LAN to WAN/Internet); routes packets using IP Addresses.
Layers 4 – 7 Gateway Protocol converter connecting two incompatible networks with different protocols.
Layers 3 – 7 Firewall Hardware/software security system that filters traffic based on defined security rules.

4. Transmission Media

5. OSI Reference Model vs TCP/IP Suite

Mnemonic for 7 OSI Layers (Bottom to Top):
Please Do Not Touch Semantic Pet Animals
(Physical → Data Link → Network → Transport → Session → Presentation → Application)
Layer # OSI Layer Name Data Unit Core Function & Associated Protocols
7 Application Layer Data User interface, web & email applications (HTTP, HTTPS, FTP, SMTP, DNS)
6 Presentation Layer Data Encryption, Decryption, Data Compression, Syntax formatting (SSL, TLS, JPEG)
5 Session Layer Data Establishes, maintains, and terminates session connections (NetBIOS, RPC)
4 Transport Layer Segments / Datagrams End-to-end reliability, port addressing, flow control (TCP, UDP)
3 Network Layer Packets Logical Routing across networks using IP addresses (IP, ICMP, ARP, Router)
2 Data Link Layer Frames Physical MAC addressing, error detection, framing (Switch, Bridge, Ethernet)
1 Physical Layer Bits Raw binary bit transmission over physical media (Hub, Repeater, Cables)

6. Detailed IP Addressing & MAC Addressing

A. IPv4 vs IPv6 Comparison

Feature IPv4 (IP Version 4) IPv6 (IP Version 6)
Address Size32 bits (4 Bytes)128 bits (16 Bytes)
Notation Format4 decimal numbers separated by dots (`192.168.1.1`)8 hex groups separated by colons (`2001:db8::1`)
Total Addresses232 ≈ 4.3 Billion2128 (Virtually unlimited)
Loopback Address`127.0.0.1``::1`

B. IPv4 Classes & Subnet Masks

Class 1st Octet Range Default Subnet Mask Network / Host Bits Primary Purpose
Class A1 – 126`255.0.0.0`8 Net / 24 HostVery Large Organizations
Class B128 – 191`255.255.0.0`16 Net / 16 HostMedium Networks & Universities
Class C192 – 223`255.255.255.0`24 Net / 8 HostSmall Local Networks (Home/Office)
Class D224 – 239UndefinedMulticastingReserved for Multicast Groups
Class E240 – 255UndefinedExperimentalReserved for Research & R&D

*Note: 127.X.X.X is strictly reserved for Loopback internal testing.

C. MAC Address

Hardware/Physical address permanently burned into the Network Card. 48 bits (6 Bytes) long written in Hexadecimal (e.g., `00-1A-2B-3C-4D-5E`). First 24 bits represent the manufacturer OUI.

7. Network Protocols & Port Numbers Cheat-Sheet

Protocol Full Form Port # Key Function
FTPFile Transfer Protocol20 / 21Transferring files between client and server
SSHSecure Shell22Encrypted secure remote terminal access
TELNETTelecommunication Network23Unencrypted plaintext remote terminal access
SMTPSimple Mail Transfer Protocol25Sending / Pushing outgoing email messages
DNSDomain Name System53Translates Domain Names → IP Addresses ("Phonebook of Internet")
DHCPDynamic Host Config Protocol67 / 68Automatically assigns IP addresses to network devices
HTTPHypertext Transfer Protocol80Unencrypted web page transfer over WWW
POP3Post Office Protocol v3110Downloading email from server to client (deletes on server)
IMAPInternet Message Access Protocol143Synchronized email retrieval keeping copy on server
HTTPSHTTP Secure443Encrypted web transmission via SSL/TLS

8. World Wide Web & Web Browsers

9. Practice Questions (UPSSSC Pattern)

1. How many physical cable links are required to build a fully connected Full Mesh topology with 6 computer nodes?
A) 12    B) 15 [Formula: 6×5/2]    C) 30    D) 36
2. Which IPv4 address octet range represents Class C networks?
A) 1 – 126    B) 128 – 191    C) 192 – 223    D) 224 – 239
3. Which OSI layer is responsible for data encryption, compression, and syntax formatting?
A) Application Layer    B) Presentation Layer    C) Session Layer    D) Transport Layer
4. Which protocol is used specifically to send (push) outgoing emails from a client to a server?
A) POP3    B) IMAP    C) SMTP    D) SNMP