NBC 101 • Unit 518 min readVery High Exam Frequency

Basic Services of the Internet: WWW, Email, FTP, Telnet, Gopher, Search Engines & Newsgroups

Unit 5: Internet Technologies, Basic Services & MultimediaFundamentals of Computer

👨‍🏫 Professor's Mental Model: The Universal Digital Utility Box

Jaise ek bade shahar me alag-alag public services hoti hain (Post office chithhi ke liye, Railway parcel service samaan ke liye, Library kitaabon ke liye), waise hi Internet par alag-alag services hain: WWW global visual library hai, Email digital post office hai, FTP heavy file delivery truck hai, Telnet remote access key hai, aur Gopher purane zamane ka electronic catalog system tha!

Academic Lecture Notes & Solved Study Pages

Unit 5 • Core Concepts, Step-by-Step Proofs & Notebook Solutions

4 Notebook Pages
NOTEBOOK PAGE 1 OF 4

1. The World Wide Web (WWW) vs The Internet

Critical Distinction: The Internet is the physical global hardware infrastructure of cables, routers, and servers. The World Wide Web (WWW) is an information service operating on top of the Internet, utilizing hyperlinked multimedia documents.
Key Components of WWW:
• Hypertext & Hypermedia: Text and rich media embedded with clickable links (hyperlinks) connecting documents.
• HTML (HyperText Markup Language): The standard formatting language used to structure web pages.
• HTTP / HTTPS: HyperText Transfer Protocol (Port 80) and HTTPS (HTTP Secure over TLS/SSL encryption - Port 443).
• URL (Uniform Resource Locator): Standardized global address of a web resource:

`https://www.example.com:443/courses/nbc101?unit=4#top`

(Protocol://Domain:Port/Path?QueryParameters#FragmentIdentifier).

NOTEBOOK PAGE 2 OF 4

2. Electronic Mail (E-Mail) Architecture & Protocols

Email is a store-and-forward electronic messaging service consisting of 3 architectural components and 3 core protocols:

Architectural Agents:
• MUA (Mail User Agent): Client application used by humans to compose and read emails (Outlook, Gmail app, Thunderbird).
• MTA (Mail Transfer Agent): Server software responsible for routing and forwarding email across servers (Postfix, Sendmail, Exchange).
• MDA (Mail Delivery Agent): Deposits incoming emails into the recipient's local mailbox storage.
The 3 Core Protocols:

1. SMTP (Simple Mail Transfer Protocol - Port 25 / 587):

• Push Protocol used strictly for SENDING emails from client to server and between intermediate servers.

2. POP3 (Post Office Protocol v3 - Port 110 / 995 SSL):

• Pull Protocol used for RETRIEVING emails. Downloads messages from mail server to local hard drive and deletes them from server.

3. IMAP (Internet Message Access Protocol - Port 143 / 993 SSL):

• Advanced retrieval protocol maintaining continuous two-way synchronization between client and server (changes reflect across all devices).
NOTEBOOK PAGE 3 OF 4

3. File Transfer Protocol (FTP) & Remote Access (Telnet)

File Transfer Protocol (FTP - RFC 959):
• A client-server protocol used for uploading and downloading files across the internet.
• Dual-Port Architecture:
• Control Connection (Port 21): Carries user commands, logins, and status responses.
• Data Connection (Port 20 in Active mode): Exclusively carries raw file data streams.
• Modes: Anonymous FTP (Public access without password) vs Authenticated FTP; Active vs Passive FTP.
Telnet (Teletype Network - Port 23):
• Client-server terminal emulation protocol allowing users to log into and remotely execute commands on a distant host computer.
• Critical Insecurity: Transmits all keystrokes, passwords, and session data in plain readable text over the wire. Has been universally replaced by SSH (Secure Shell - Port 22), which encrypts all traffic.
NOTEBOOK PAGE 4 OF 4

4. Legacy & Modern Discovery: Gopher, Search Engines, Newsgroups & Chat Rooms

Gopher Protocol (Port 70):
• Developed in 1991 at the University of Minnesota as a precursor to the Web.
• Menu-driven hierarchical document search and retrieval system designed for text-oriented terminals.
• Early search tools: Archie (indexed anonymous FTP file archives), Veronica and Jughead (searched text menus across Gopher servers).
• Declined rapidly after Tim Berners-Lee released the graphical, multimedia-capable World Wide Web.
Modern Search Engines:
• Programs that search database indexes for keywords and return relevant URLs.
• 3 Primary Steps: Web Crawling (automated spiders/bots traverse hyperlinks), Indexing (storing words into massive inverted indexes), and Ranking (algorithms like Google PageRank scoring relevance and authority).
Newsgroups (USENET / NNTP - Network News Transfer Protocol, Port 119):
• Worldwide distributed bulletin board discussion system organized into hierarchical topic groups (e.g. `comp.lang.c`, `sci.math`).
Chat Rooms, Instant Messaging (IM) & VoIP:
• Real-time interactive text and voice communication (IRC, WebChat, WhatsApp, Zoom, Skype using SIP and RTP over UDP).
Master Internet Services & Protocols Reference Matrix
ServiceProtocolDefault PortTransmission TypePrimary Role
Web BrowsingHTTP / HTTPS80 / 443Client-Server (TCP)Retrieval of hypermedia web pages and REST APIs
Sending EmailSMTP25 / 587Push Protocol (TCP)Transfers outgoing emails between client and servers
Retrieving EmailPOP3 / IMAP110 / 143Pull Protocol (TCP)POP3 downloads & deletes; IMAP syncs mailboxes
File TransferFTP20 (Data) / 21 (Ctrl)Dual Connection (TCP)Uploading and downloading bulk files
Remote TerminalTelnet / SSH23 (Telnet) / 22 (SSH)Interactive Shell (TCP)Remote terminal execution (SSH provides AES encryption)
Hierarchical DocsGopher70Menu-driven (TCP)Pre-Web hierarchical text document retrieval
NewsgroupsNNTP119Bulletin Board (TCP)Distribution and reading of USENET discussion articles

🎯 University Exam Scoring Blueprint

  • Contrast SMTP, POP3, and IMAP protocols with their operational directions and default ports.
  • Explain why Telnet is considered insecure and identify which protocol replaced it (SSH).
  • Describe the historical significance of the Gopher protocol and why the World Wide Web surpassed it.

Top Viva Questions on Basic Services of the Internet: WWW, Email, FTP, Telnet, Gopher, Search Engines & Newsgroups

2 Questions
1

Why does FTP use two separate port connections (Port 20 and Port 21)?

2

What is the key functional difference between POP3 and IMAP for email retrieval?