Computer Science: Networking and the Internet
Fundamentals of Computer Networks
Network Definition:
A computer network is defined as a collection of computers and peripheral devices interconnected by communication channels to facilitate the exchange, transmission, and sharing of data, commands, and hardware resources.
Geographic Classifications of Networks:
Local Area Network (LAN):
Spans a strictly limited geographical area.
Typical deployment settings include a school computer laboratory, a single office suite, or an individual office building.
Wireless Local Area Network (WLAN):
A localized network implemented using high-frequency radio waves or spread-spectrum technology rather than physical cabling, widely known as Wi-Fi.
Operates over short operational distances, generally specified as a transmission range of less than .
Metropolitan Area Network (MAN):
Encompasses a geographic scope larger than a LAN but smaller than a WAN, typically spanning an entire city, municipality, or metropolitan campus area to interconnect multiple local sites.
Wide Area Network (WAN):
Covers extensive, dispersed geographical areas without boundary limitations.
Interlinks computing systems between distinct cities, counties, states, or across worldwide global distances.
Private Inter-Networks:
Internet (lowercase 'i') / Intranet:
Represents an internal, private network consisting of interconnected LANs and subnets confined strictly within a single business enterprise, academic institution, or corporate organization.
Functions using standard Internet protocols while remaining securely isolated from the public Internet.
Network Topologies and Interconnection Devices
Network Topology:
Defines the geometric arrangement, physical layout, or logical mapping pattern in which the nodes (computers, printers, and intermediate systems) of a network are interconnected.

Core Topology Architectures:
Bus Topology:
Nodes are directly attached in parallel to a single shared central backbone communication cable.
Ring Topology:
Devices are connected in a continuous circular loop where data travels sequentially from node to node in a designated direction.
Star Topology:
Each peripheral device or computer is connected via dedicated individual lines to a centralized hub, switch, or central controller.
Wireless Topology:
Nodes communicate via radio frequency links mediated through a central wireless access point (WAP) or arranged ad hoc.
Irregular (Mesh) Topology:
Features arbitrary, non-uniform point-to-point interconnections among nodes, offering multiple redundant routing paths.
Network Connecting Devices:
Bridge:
A dedicated computer or hardware appliance designed to interconnect two distinct network segments that operate on compatible communication protocols and uniform network architectures (e.g., bridging two bus-based LANs).
Router:
A sophisticated computing device or dedicated network appliance that connects two or more networks operating on different architectures, topologies, or low-level protocols (e.g., interfacing a star network to a ring topology, or connecting a LAN to a WAN).
Evaluates destination network addresses to determine the optimal physical path for message forwarding.
The Internet: Architecture, Origins, and Addressing
Definition of the Public Internet:
The global, worldwide federation of interconnected networks consisting of millions of public, private, academic, governmental, and commercial LANs and WANs linked together to share data and services.
Historical Origins of the Internet:
ARPANET:
Commissioned as an experimental networking initiative by the Pentagon's Advanced Research Projects Agency (ARPA).
Initial Launch: Became operational in September with an initial topology consisting of .
Core Objective 1: To allow scientific researchers, academic institutions, and military contractors situated at widely dispersed geographical locations to collaborate and share computing power, resources, and data.
Core Objective 2: To engineer a decentralized, fault-tolerant network framework capable of continuing basic communications and functionality even if a significant portion of the network infrastructure was disabled or destroyed in military conflicts.
Addressing Architecture:
Internet Protocol (IP) Address:
A unique numerical identifier assigned to every individual host computer and device connected to the Internet.
Example IPv4 Format:
199.95.72.10Network Portion: The initial segment of the numerical address indicates the specific network to which the system belongs.
Host Portion: The trailing segment designates the specific individual computer or interface within that identified network.
Domain Name System (DNS):
Provides human-readable alphanumeric host names as user-friendly alternatives to numeric IP addresses.
Domain Name Servers (DNS): Maintain a distributed hierarchical directory mapping alphanumeric domain names directly to their corresponding numerical IP addresses.
Hierarchical Structure (e.g.,
compsci.iup.edu):compsci: Identifies the specific host computer or workstation.iup: Represents the organization's registered domain.edu: Represents the Top-Level Domain (TLD) classifying the entity type (e.g., educational institution).
Internet Governance and Standards Organizations:
Control Model:
No single sovereign entity, corporation, or government owns, commands, or controls the Internet; it functions as an autonomous, cooperative, public, and open internetwork.
Operational consistency is maintained through international standards bodies and consortia.
World Wide Web Consortium (W3C):
Oversees fundamental Web research and drafts standard specifications, guidelines, and formats including HTTP, HTML, and XML.
Internet2 (I2):
An advanced non-profit research and development consortium composed of educational, corporate, and governmental leaders developing next-generation high-bandwidth network technologies.
OASIS (Organization for the Advancement of Structured Information Standards):
Focuses on structured commerce standards, standardizing open formats for Business-to-Business (B2B) electronic commerce, such as electronic business XML (ebXML).
Internet Software Models and Applications
Network Program Architectural Classifications:
Client / Server Model:
A centralized computing architecture where centralized servers supply persistent resources, file access, and services upon request to client systems.
Peer-to-Peer (P2P) Model:
A decentralized architecture where all participant computers share equivalent responsibilities and privileges, exchanging data and processing resources directly with one another without requiring a central coordination server.
Standard Internet Application Programs:
Electronic Mail (E-mail): Asynchronous textual messaging and file attachment delivery system.
File Transfer Protocol (FTP): Client-server protocol designed specifically for transferring files across networked computers.
Telnet: A character-oriented terminal protocol enabling interactive, remote command-line login and system administration on distant networked servers.
Chat: Interactive, real-time textual conferencing systems operating across designated channels or chat rooms.
Instant Messaging (IM): Real-time point-to-point text and media communications between specific authenticated users.
World Wide Web (Web): Distributed hypertext browsing service.
Online Network Games: Real-time multi-user interactive networked gaming environments (such as interactive tank simulation games).
The World Wide Web and Web Technologies
Definitions and Access Mechanisms:
Web Page:
A discrete electronic document authored in Hypertext Markup Language (HTML) and stored in files ending with either
.htmlor.htm.
Web Site:
A structured collection of interrelated Web pages hosted and maintained at a specific registered domain address.
Uniform Resource Locator (URL):
The global addressing scheme utilized to locate and retrieve documents across the Web.
Structural syntax breakdown (e.g.,
http://www.nationalgeographic.com/travel/index.html):Protocol:
http(Hypertext Transfer Protocol).Domain Name:
www.nationalgeographic.com.Path:
travel/index.html(the internal directory directory path and specific target file).
Web Page Components:
Hypertext Markup Language (HTML):
Tags describe structural text elements, layout configurations, and links.
Illustrative HTML Code:
html <html> <body lang=EN-US link="#1818b7"> <div class=Section1> ¨K57K ¨K58K ¨K56K
Graphics and Standard Internet Image Formats:
Embedded into pages using image markup: ``.
Standard Image Formats:
BMP (Bit Map): Extension
.bmp.GIF (Graphics Interchange Format): Pronounced "JIFF", extension
.gif.JPEG (Joint Photographic Experts Group): Pronounced "JAY-peg", extension
.jpg.PCX (PC Paintbrush): Extension
.pcx.
Video and Streaming Media:
Consists of synchronized, full-motion sequences of images paired with audio channels and played back at variable framerates.
MPEG serves as the primary standard compression codec for digital video.
Streaming video enables simultaneous real-time playback while the file is transferring across the link.
Interactive Controls:
Form fields, radio buttons, checkboxes, and input elements designed to collect user input, pass system arguments, and issue commands to underlying web server applications.
Hyperlinks:
Selectable connections linked to text strings, graphic illustrations, designated image maps, or interactive controls.
Marked up using anchor tags:
<a href="http://www.nationalgeographic.com/travel.html">.Target Link References:
An anchor location situated elsewhere within the identical Web page.
A different discrete Web page located on the same host Web site.
An external Web page hosted on an entirely separate, remote Web site.
Extensible Markup Language (XML):
A versatile markup paradigm where the tag library is explicitly customizable and extensible by the author.
Conveys explicit contextual and semantic data meaning rather than merely dictating visual browser rendering.
Illustrative XML Code:
xml <?xml version="1.0" encoding="UTF-8"?> <SurveyPage SurveySessionID="ghjykoo" SurveyNo="10"> <SurveyItems> <SurveyItem ItemNo="5" ItemType="QuestionPP" QuestionNo="2"> <ItemText>Please indicate which class hours you would prefer</ItemText> </SurveyItem> <SurveyItem ItemNo="6" ItemType="MultipleChoice"> <ItemText>Prefer? </ItemText> <Subitem SubitemNo="1">Normal daytime (8:00-5:00)</Subitem> <Subitem SubitemNo="2">Evening (6:00-9:00)</Subitem> </SurveyItem> </SurveyItems> </SurveyPage>
Data Transmission Media and Transfer Rates
Data Transfer Rate Foundations:
The measurement of the physical speed and throughput capacity at which a communication channel or network line conveys binary information.
Direct proportionality: a higher transfer rate directly accelerates the upload and download durations for data.
Standard Transfer Units:
Bits per second ()
Kilobits per second ()
Megabits per second ()
Gigabits per second ()
Physical (Wired) Transmission Media:
Tangible, touchable transmission conductors including twisted-pair copper wire, coaxial cables, and fiber-optic strands used to route electromagnetic or optical pulses.
Network Line Comparisons:
Dial-up: Operates at transfer rates up to ; billed at local or long-distance telephone service rates.
ISDN (BRI - Basic Rate Interface): Operates at transfer rates up to ; approximate monthly cost ranges from \10\,\text{to}\,\.
ADSL (Asymmetric Digital Subscriber Line): Operates at transfer rates spanning ; approximate monthly cost ranges from \40\,\text{to}\,\.
Cable TV (CATV): Operates at transfer rates spanning ; approximate monthly cost ranges from \30\,\text{to}\,\.
T1 Line: Dedicated line delivering a synchronous bandwidth of ; approximate monthly cost is .
T3 Line: High-capacity line running at ; approximate monthly cost is .
ATM (Asynchronous Transfer Mode): High-speed switching technology delivering ; approximate monthly cost is .
Wireless Transmission Media:
Propagates electromagnetic and infrared waves directly through open atmospheric air or the vacuum of space without guided physical conductors.
Wireless Media Throughput Comparisons:
Cellular Radio: Operates at legacy speeds from .
Infrared: Operates at short range across bandwidths of .
Broadcast Radio: Yields speeds up to .
Microwave Radio: High-frequency terrestrial directional transmission delivering .
Communications Satellite: Orbital transponders relaying ground signals at speeds of .
Network Architectures, Protocols, and Layered Stacks
Proprietary vs. Open Network Technologies:
Proprietary Technologies: The underlying technical formats, internal designs, and protocols remain trade secrets owned exclusively by a specific corporate vendor (e.g., Novell).
Open Standards: Technical specifications, schemas, and protocol definitions reside fully within the public domain, encouraging unhindered vendor interoperability (e.g., Ethernet, TCP/IP, UDP, Token Ring).
Local Network Technologies:
Ethernet:
A dominant contention-based LAN technology historically built on bus topology principles.
Utilizes CSMA/CD (Carrier Sense Multiple Access with Collision Detection): networked nodes listen to detect if the transmission line is clear before sending; when simultaneous transmissions collide, nodes abort, back off, and attempt retransmission.
Token Ring:
A deterministic access LAN technology based primarily on ring topology (and secondarily star configurations).
Regulates network traffic through a circulating control frame called a token.
Only the single device currently possessing the circulating token is granted access rights to broadcast data onto the circuit; exactly one token exists per network ring.
Packet Switching and Internet Protocols:
Packet Switching: The engineering technique of partitioning larger contiguous application messages into small, manageable discrete chunks called packets, routing these packets across disparate paths, and reassembling them correctly upon arrival at the final destination.
Internet Protocol (IP):
Governs the logical addressing, structure, and packet packaging required for multi-hop network traversing.
Every packet contains strict destination and source routing headers allowing routers to pass it hop-by-hop across intermediate networks.
Example IP Packet Header Breakdown:
Raw Hexadecimal Segment:
4500 00E5 08DB 0000 8011 8D24 9050 4169
Transmission Control Protocol (TCP):
Works collaboratively above IP (as TCP/IP) to deliver reliable, connection-oriented transport.
Verifies delivery through mandatory packet receipts and acknowledgements, automatically resending missing chunks; inherently less resource-efficient due to packet acknowledgement overhead.
User Datagram Protocol (UDP):
Provides unreliable, connectionless, lightweight transport service.
Does not generate delivery acknowledgements or perform packet retransmissions, yielding minimal latency and high efficiency.
Ideally suited for real-time video, audio streaming, and applications where immediate packet arrival outweighs absolute data recovery.
Four-Layer Network Hierarchy:
Application Layer: Contains user programs and client applications producing or consuming payload data (e.g., Web Browsers, Telnet, Instant Messaging, Online Games).
Transport Layer: Manages end-to-end data transfer control by chopping continuous messages into packet segments or managing packet reliability (TCP or UDP).
Network Layer: Enforces routing, logical device addressing, and packet header wrapping (Ethernet/Token Ring configured with IP).
Link Layer: Handles physical hardware communication media, device drivers, and electrical or optical signaling.
End-to-End Transmission Process Across Network Layers:
Origination Host (Sending Process):
Application Layer: Application (such as an IM client) generates the core message text.
Transport Layer: Chops the broad message string into discrete packet units.
Network Layer: Appends the target destination logical IP address to each packet.
Link Layer: Appends the intermediate hardware address and transmits the signal onto physical media.
Intermediate Routing Nodes (Forwarding Process):
Link Layer: Receives the hardware signal and passes the packet upward.
Network Layer: Reads the packet's destination IP, calculates next-hop routing tables, and re-assigns a new intermediate physical address.
Link Layer: Emits the packet back onto outbound physical media toward the subsequent router.
Destination Host (Receiving Process):
Link Layer: Intercepts incoming signal and moves the raw frame up the local stack.
Network Layer: Strips away routing logic and acknowledges destination match.
Transport Layer: Validates packet sequence and reassembles the partitioned packet units into the original complete message format.
Application Layer: Receives the complete reassembled message payload and renders the final communication to the recipient interface (e.g., displays within the IM window).