Unit 8.5 - Data Input, Collection, and Validation
Network Topologies, Hardware Infrastructure, and Transmission Media
- Network Classifications by Geographic Scope:
- Personal Area Network (PAN): Connects digital devices positioned in close proximity to an individual person (typically within a range of ). PANs support personal devices such as smartwatches, wireless headphones, external sensors, and personal digital assistants.
- Local Area Network (LAN): Connects computing devices across a small, dedicated geographic area, such as a single room, school building, private residence, or business office. LANs enable the shared utilization of physical hardware, central applications, and local storage pools.
- Wide Area Network (WAN): Connects disparate computing systems across large geographical areas, typically by interconnecting multiple distinct LANs across cities, regions, or countries. Companies with distributed commercial branches use WAN infrastructure. The global Internet represents the largest existing WAN; all public Internet connections form part of a WAN, though not all WAN networks are public Internet connections.

Wireless Network Categories:
- Wireless Personal Area Network (WPAN): Most commonly implemented using Bluetooth protocols over operating distances of up to . WPAN technology is characterized by low power consumption, cost-effective chipsets, and operational convenience for short-range links (e.g., computer mice, wireless headsets, mobile phone pairing).
- Wireless Local Area Network (WLAN): Implemented using Wi-Fi radio standards within domestic residences and office buildings. Standard transmission ranges average approximately indoors, extending further in open spaces without structural obstructions like concrete walls. WLAN eliminates structural cabling expenses while supporting mobile endpoints such as laptops, tablets, smartphones, and smart televisions.
- Wireless Wide Area Network (WWAN): Utilizes cellular telecommunications infrastructure, incorporating cellular masts, transceiver towers, and satellite links over regional ranges up to per tower. WWAN utilizes , , and cellular standards for voice-over-IP (VoIP), real-time Global Positioning System (GPS) tracking, emergency services communication, and mobile broad-area broadband.
Hardware Components of Network Infrastructure:
- Network Interface Controller (NIC): A hardware card or embedded chipset that must be present in every computing device to enable communication over a network. Every physical NIC is programmed during manufacturing with a globally unique Media Access Control (MAC) address that cannot be modified.

- Network Switch: A hardware intermediary that interconnects multiple devices across a local network using Ethernet cables. The switch maintains an internal forwarding table of all MAC addresses associated with its physical ports. When receiving incoming data frames, the switch routes the data solely to the specific destination port matching the recipient MAC address, preventing network congestion.

Wireless Access Point (WAP): Transceiving hardware connected to a wired infrastructure that broadcasts radio frequency signals to establish a wireless footprint, enabling Wi-Fi-equipped client devices to join the local wired network.
Router: A networking device that joins distinct, separate networks together (such as connecting an internal private LAN to an external public WAN). Routers inspect logical destination addresses and determine the optimal, fastest path for packet transmission across network boundaries.
All-in-One Devices (Wireless Routers): Common multi-function consumer network hardware that integrates a router, a WAP, and a four-port physical switch into a single chassis. The WAP provides Wi-Fi access, while the built-in switch enables up to four physical Ethernet cable connections.
- Transmission Media Comparison:
Copper Cable (Ethernet / Twisted Pair): Transmits binary data as electrical voltage pulses. Copper cabling achieves throughputs of approximately over maximum reliable runs of . It is cost-effective but susceptible to electromagnetic interference and signal degradation over distance.
Fibre-Optic Cable: Transmits binary data as pulses of light through flexible, ultra-thin strands of drawn glass or transparent plastic. It achieves bandwidth capacities up to (approximately times greater than copper), sustains signal integrity over substantially longer distances, and is entirely immune to electromagnetic interference. Physical installation requires specialized termination tools and higher initial expenditure.
- Wireless Standards and Bandwidth Capabilities:
Wi-Fi 7: Capable of theoretical data transmission rates reaching up to .
Bluetooth 5.0 (and later): Operates with data throughput capacities of up to .
Cellular: Provides average mobile data speeds of approximately .
Cellular: Delivers operational mobile throughput ranging between and .
Cellular Tiers:
- Low-band : Sustains transfer speeds of .
- Mid-band : Sustains transfer speeds of .
- High-band (mmWave): Delivers bandwidth up to , primarily deployed within dense urban environments.
Smart Device Integration: Smart appliances (such as the iRobot Roomba robotic vacuum cleaner) rely on local WLANs. These autonomous appliances require a stable Wi-Fi band to link to cloud management applications, allowing users to configure cleaning schedules, define targeted rooms, and modulate suction power levels.
- Dedicated Server Roles in Client-Server Architectures:
File Server: Centrally hosts user documents and data files, managing hierarchical access rights and enabling multi-user network sharing.
Print Server: Manages network print queues, routing multiple client print jobs to spoolers and shared physical printers efficiently.
Mail Server: Manages transmission, routing, and mail storage (e.g., Microsoft Exchange).
Web Server: Stores HTML, media assets, and scripts to serve web pages over HTTP/HTTPS upon client browser request (e.g., Apache HTTP Server, Nginx).
- Internet Communication Protocols, Addressing, and Name Resolution:
Private IP Addressing: Subnets using prefixes such as
192.168.x.xare reserved for local private networks (home Wi-Fi, school laboratories, corporate LANs), enabling internal communication without consuming globally routable public IPv4 space.Domain Name System (DNS) Resolution Process:
- The user inputs a human-readable Uniform Resource Locator (URL) into a web browser (e.g.,
www.google.com). - The local operating system dispatches an address resolution request to a designated DNS recursive server.
- The DNS server traverses distributed naming tables to discover the corresponding numerical IP address (e.g.,
142.250.186.46). - The resolving IP address is returned to the client device.
- The client device establishes an end-to-end TCP/IP socket connection directly with the destination host server using that numerical IP.
- The target web server transmits requested page resources to the browser.
- The user inputs a human-readable Uniform Resource Locator (URL) into a web browser (e.g.,
URL Structural Anatomy: A URL consists of distinct functional layers:
- Protocol Scheme:
https://(defines encrypted data transmission via TLS/SSL). - Subdomain:
www.(identifies the specific server cluster or system partition). - Domain Name:
example(identifies the registered domain identity). - Top-Level Domain (TLD):
.com(specifies organizational or geographic registry category). - Resource Path / File:
/page(points to the specific directory or document asset on the web server).
- Protocol Scheme:
Network Security Threats, Transmission Errors, and Defensive Systems
- Data Transmission Modes:
- Serial Data Transmission: Transmits individual binary digits sequentially, one bit at a time, along a single conductive path or communications channel. Serial architecture prevents timing skew across conductors over longer physical runs.

Parallel Data Transmission: Transmits multiple binary digits simultaneously (typically or one byte across eight parallel lines) alongside a synchronized clock pulse. It is predominantly used over short distances (internal buses, ribbon connectors) because signal attenuation and electromagnetic crosstalk introduce propagation delay and timing skew over longer distances.
- Transmission Errors and Detection:
Causes of Data Corruption: Electromagnetic interference, atmospheric noise across wireless channels, and sudden electrical power surges across network appliances can cause bits to invert (bit flipping: changing to , or to ).
Echo Checking Protocol:
When a destination host receives a packet of data, it immediately echoes a duplicate copy of that received data back to the transmitting host.
The transmitting host compares the echoed string against the original payload stored in its memory buffer.
If the transmission matches the stored copy, no error is flagged. If a mismatch is detected, the transmitting host initiates a retransmission of the original data packet.
Limitations of Echo Checking: Echo checking doubles total traffic volume across the transmission link, and it cannot distinguish whether corruption occurred during the forward transmission or on the return return path.
Malicious Software (Malware) Taxonomies:
Computer Viruses: Software designed to replicate by inserting malicious code copies into benign host files, executables, or system boot sectors. Once executed, viruses spread across local memory and network storage to modify, corrupt, or erase files without administrative consent.
Case Study: The ILOVEYOU Bug (May 2000):
- Originated via malicious electronic mail containing the subject line
ILOVEYOUand an attachment titledLOVE-LETTER-FOR-YOU.TXT.vbs. - Upon manual execution by the recipient, the Visual Basic Script iterated through the victim's Microsoft Outlook address book, automatically transmitting duplicate messages to all saved contacts.
- The payload overwrote local user files (including images and documents), infecting approximately computers globally, generating damages estimated between \n5.5\text{ billion} and \n15\text{ billion}, and requiring organizations to temporarily disconnect their primary mail exchange servers.
- Originated via malicious electronic mail containing the subject line

Ransomware: Software that systematically locks access to host systems or executes cryptographic encryption on storage disks, rendering user databases, documents, and programs inaccessible. Attackers display ransom demands requiring financial payments to obtain decryption keys.
- Case Study: WannaCry: Proliferated internationally across systems running unpatched variants of the Microsoft Windows operating system, threatening permanent data deletion unless a ransom fee was remitted.
Spyware: Covert malicious programs designed to monitor and collect user interactions, operating telemetry, and sensitive credentials without consent. Spyware variants include adware and trojans that secretly track navigation patterns, intercept financial payment card data, and implement keylogging.
Indicators of System Spyware Infection: Noticeable drop in hardware execution speed, frequent operating crashes, unexplained bandwidth consumption (indicating exfiltration of data), unauthorized modification of browser default pages or search bars, and abnormal pop-up advertisements.
- Unauthorised Access and Exploitation Techniques:
Social Engineering Attack Vectors:
- Phishing: Broad-scale deceptive emails crafted to mimic reputable organizations, enticing users to reveal credentials.
- Spear Phishing: Highly customized, targeted phishing directed at specific individuals or high-profile corporate employees.
- Voice Phishing (Vishing): Voice-based telephone fraud designed to solicit confidential personal data.
- Smishing: Short Message Service (SMS) text messages containing fraudulent redirection links.
- Pretexting: Fabricating an elaborate scenario or persona to manipulate a victim into disclosing sensitive records.
- Baiting: Enticing victims with an attractive offer (e.g., free software downloads, physical infected USB flash drives left in public spaces).
- Quid Pro Quo: Promising a specific technical service or benefit in exchange for administrative passwords.
- Tailgating (Piggybacking): Physically following an authorized badge-holder through an access-controlled entry door.
- Dumpster Diving: Searching through physical waste receptacles to retrieve disposed documents, passwords, or hardware details.
- Watering Hole Attack: Compromising an authentic website frequently visited by a targeted group to infect its visitors.
- Business E-mail Compromise (BEC): Impersonating corporate executives via email to authorize unauthorized financial wire transfers.
- Honey Trap: Utilizing fictitious romantic or emotional overtures to manipulate targets into compromising security.
- Rogue Security Software: Fake antivirus notices prompting victims to pay for software that actually contains malware.
- Social Media Exploitation: Harvesting personal timeline details to answer security challenge questions.
- Impersonation: Directly assuming a false identity to deceive support personnel.
Password Cracking Mechanisms:
- Brute-Force Attack: Submitting every potential character permutation sequentially until the correct string matches.
- Dictionary Attack: Iterating through an indexed lexicon of standard words and common dictionary substitutions.
- Hybrid Attack: Combining dictionary words with algorithmic appended digits and special characters.
- Credential Stuffing: Automating unauthorized login attempts using databases of compromised username/password pairs breached from other platforms.
- Keylogging: Software or hardware interception tools that silently record every physical keystroke pressed by a user.
- Shoulder Surfing: Directly watching a user's hands or monitor while they input credentials.
- Rainbow Table Attack: Matching cryptographic password hashes against precomputed tables containing plaintext-hash pairings.
Dormant Account Vulnerabilities: Failure to immediately revoke access privileges for terminated staff allows unauthorized access to private network resources.
- Defensive Software and Perimeter Security Hardware:
Antivirus Software: Executes continuous, real-time heuristic and signature scanning across incoming data chunks. Upon identifying malicious signatures, it isolates the payload in a quarantine repository to prevent execution, prompting administrative disposal.
Anti-Spyware Software: Systematically audits local storage directories, running memory, and browser plugins to detect adware, monitoring trackers, and covert trojans, severing unauthorized exfiltration channels.
Network Firewalls: Physical appliances or software modules deployed at network boundaries between internal private LANs and external public WANs. Firewalls filter incoming and outgoing packets according to security rule sets (such as blocking specific ports, dropping unapproved protocols, or filtering unauthorized domain addresses).

Computer Architecture, Operating Systems, and Primary Memory Management
System Software vs. Applications Software:
- System Software: Programs designed to manage, control, and optimize underlying computer hardware components while supporting the execution of end-user programs. System software is divided into operating systems and utility programs.
- Applications Software: User-facing programs developed to perform specific productive tasks, such as word processors, graphic design packages, spreadsheets, and database management systems.
- Utility Programs: Specialized tools that keep computer systems running securely and smoothly (e.g., defragmenters, disk clean-up tools, compression software like WinZip or WinRAR, file managers, antivirus software).
Core Functions of an Operating System:

Hardware Control and Device Driver Management: Utilizes device drivers to translate high-level system calls into hardware-specific execution signals for keyboards, mice, printers, monitors, and network interfaces.
File and Storage Management: Manages logical directories, folder hierarchies, and file creation/modification permissions on secondary storage drives.
Memory Management: Dynamically allocates portions of physical Random Access Memory (RAM) to active processes and prevents applications from corrupting each other's memory space.
Processor Scheduling (Processor Time Organization): Allocates Central Processing Unit (CPU) clock cycles across competing operational threads, giving the appearance of simultaneous multitasking.
Error Handling: Manages processing exceptions, operational faults, and hardware interrupts without causing the core operating kernel to halt.
System Security: Implements user authentication, validates access control lists, enforces cryptographic permissions, and protects user profiles.
- User Interface Typologies:
Command-Line Interface (CLI): Users interact directly through typed text syntax and parameter switches at a command prompt. CLIs provide high processing efficiency and low memory consumption, but require memorization of system commands.
Graphical User Interface (GUI): Features visual elements based on the WIMP metaphor (Windows, Icons, Menus, Pointers), allowing intuitive operation on personal computers, laptops, tablets, and smartphones.
Natural Language / Voice Interface: Accepts auditory commands via acoustic microphones and speech-processing algorithms (e.g., smart home speakers).
Network Operating System (NOS): Specialized system software installed on enterprise servers to manage shared network resources, enforce central security policies, and maintain user access directories. Common client systems connect to the NOS host.
- Primary Memory Architecture (RAM vs. ROM):

- Random Access Memory (RAM):
- Volatile memory: requires a continuous electrical charge; all stored contents are lost when system power is disconnected.
- High-speed read-and-write memory used to store active programs, loaded libraries, and open user files currently in use by the CPU.
- Increasing physical RAM capacity enables the CPU to access more instructions simultaneously without relying on slower virtual memory swaps to disk storage.
- Read-Only Memory (ROM):
- Non-volatile memory: retains written data permanently without requiring continuous electrical power.
- Read-only memory: end users cannot alter or write new data to factory-programmed ROM chips.
- Stores the critical system boot-up program (e.g., BIOS/UEFI), which executes power-on self-tests, identifies connected hardware, locates the operating system kernel on secondary storage, and loads it into RAM.

| Functional Characteristic | Random Access Memory (RAM) | Read-Only Memory (ROM) |
|---|---|---|
| Volatility | Volatile (data lost upon power shut-off) | Non-volatile (data retained permanently) |
| Access Capability | Read and Write access | Read-only access |
| Primary Contents | Active programs, executing operating system modules, open documents | Factory boot-up instructions (bootstrap program) |
| Modification | Continually updated by software processes | Programmed by hardware manufacturer |
Data Representation, Binary Number Systems, and Compression Techniques
ASCII Character Encoding:
- Computers process data using binary logic (s and s), requiring standardized numeric encoding systems to store text across different platforms.
- The American Standard Code for Information Interchange (ASCII) maps individual letters, numerals, and punctuation symbols into standard bytes ().
- Standard 8-bit ASCII representations for common characters include:
- Character
'A'=01000001 - Character
'B'=01000010 - Character
'C'=01000011 - Character
'H'=01001000 - Character
'i'=01001001 - Text string
'Hi'=01001000 01101001 - Character
'a'=01100001,'b'=01100010,'c'=01100011,'d'=01100100 - Character
'e'=01100101,'f'=01100110,'g'=01100111,'h'=01101000 - Character
'i'=01101001,'j'=01101010,'k'=01101011,'l'=01101100 - Character
'm'=01101101,'n'=01101110,'o'=01101111,'p'=01110000 - Character
'q'=01110001,'r'=01110010,'s'=01110011,'t'=01110100 - Character
'u'=01110101,'v'=01110110,'w'=01110111,'x'=01111000 - Character
'y'=01111001,'z'=01111010
Positional Number Systems: Denary vs. Binary:
- Denary (Base 10): Uses ten distinct digits (); place values are calculated as powers of ten (, , , etc.).
- Binary (Base 2): Uses two distinct digits ( and ); each bit corresponds to an operational transistor state (OFF or ON). An 8-bit byte assigns column place values calculated as powers of two:

Bit Significance: The leftmost bit is the Most Significant Bit (MSB), possessing the highest place value (); the rightmost bit is the Least Significant Bit (LSB), possessing the lowest place value ().
- Binary to Denary Conversion Method:
Multiply each binary bit by its positional column weight and sum the products.
Example 1: Convert to denary:
- Example 2: Convert to denary:
Additional Conversion Exercises:
Denary to Binary Conversion (Repeated Division-by-2 Method):
Divide the denary integer by .
Record the integer remainder ( or ) in a separate column.
Divide the resulting quotient by .
Repeat until the quotient reaches .
Transcribe the recorded remainders from bottom to top (most recent remainder becomes the MSB).
Example: Convert into an 8-bit binary number:
Reading the remainders upwards yields: .
Additional Exercises:
Data Compression Principles:
Decreases total file size by reducing the redundant binary bits used to encode data.
Advantages: Reduces secondary storage consumption, shortens transmission times across local and wide-area connections, and decreases network bandwidth requirements.
Disadvantages: Requires processing overhead to decompress files before execution, and lossy compression formats permanently discard some original data.
Run-Length Encoding (RLE): A lossless compression algorithm that replaces repeating sequential data values (runs) with a single instance of the data value paired with a run count indicating its frequency.

- Example: The uncompressed text string
AAAAAis stored under RLE as5A. - Bitmap Image RLE Matrix: A simple black-and-white grid of pixels can be encoded line by line using codes such as
10W,2W6B2W, or2W1B4W1B2W, whereWdenotes white pixels andBdenotes black pixels.
Logic Gates, Boolean Operators, and Combinational Circuits
- Fundamental Logic Gates:

- AND Gate: Produces an output of (TRUE) if and only if all inputs are .
- OR Gate: Produces an output of (TRUE) if at least one input is .
- NOT Gate (Inverter): A single-input gate that outputs the inverted state of its input ( becomes , and becomes ).
| Input | Input | Output | Output |
|---|---|---|---|
| Input | Output |
|---|---|
- Combinational Logic Circuits Analysis:
- Circuit 1: NOR Configuration ()

| Intermediate Node | Final Output | ||
|---|---|---|---|
- Circuit 2: OR-AND Branched Logic ()

| Node | Node | Final Output | ||
|---|---|---|---|---|
- Circuit 3: Multi-Gate Combinational Logic

- The circuit feeds inputs and into an initial NOR gate (), alongside a NOT gate on line (). Both outputs and feed into a terminating NAND gate ().
| Node | Node | Final Output | ||
|---|---|---|---|---|
- Three-Input Circuit Evaluations:
- Truth Table Test 1: Evaluating and :
| Output | Output | |||
|---|---|---|---|---|
*Truth Table Test 2: Evaluating , , and Z = X \text{ OR } Y$:*\n\n| ABCX = \text{NOT } AY = B \text{ AND } CZ = X \text{ OR } Y |\n| :---: | :---: | :---: | :---: | :---: | :---: |\n| 000101 |\n| 001101 |\n| 100000 |\n| 101000 |\n| 010101 |\n| 011111 |\n| 110000 |\n| 111011 |\n\n# Algorithms, Flowcharts, and Linear Searching Mechanisms\n\n* **Algorithmic Foundations:** An algorithm is a sequence of defined, step-by-step instructions designed to solve a computational problem. Algorithms are formally planned using flowcharts or pseudocode before writing computer code.\n* **Pseudocode Standards:**\n * Uses clear keywords representing structured operations (e.g., `START`, `STOP`, `INPUT`, `OUTPUT`, `IF`, `THEN`, `ELSE`, `ENDIF`, `WHILE`).\n * Lacks strict syntax, brackets, or colons required by specific programming languages.\n * Uses a single line per operational instruction.\n * Variables act as named, temporary memory locations whose stored values can be read and edited during execution.\n* **Basic Linear Algorithm Example:**\n\n```text\nSTART\n number = 6\n number = number + 4\n OUTPUT number\nSTOP\n```\n\n* **Salary Increase Calculation Algorithm (10% Increase):**\n * *Pseudocode Implementation:*\n\n```text\nSTART\n salary = INPUT "What is your current salary?"\n salaryIncrease = salary * 1.10\n OUTPUT salaryIncrease\nSTOP\n```\n\n* *Flowchart Representation:*\n\n\n\n* *Python Code:* Rounding to two decimal places is handled by `round(variable, 2)`:\n\n```python\nsalary = float(input("What is your current salary? "))\nsalaryIncrease = salary * 1.10\nprint("Your new salary is now", round(salaryIncrease, 2))\n```\n\n* **Selection Structures (Conditional Branching):**\n * Selection evaluates a condition to determine the next instruction to execute. Conditions evaluate to boolean `TRUE` or `FALSE`.\n * *Conditional Operators:* `
- Spreadsheet Validation Configuration:
- Validation Criteria: Allow
Whole number, dataBetweenminimum1and maximum500. - Input Message: Title left blank, message text:
Max 500. - Error Alert: Style
Stop, TitleError message, Error Message:You can order a maximum of 500 cupcakes.
Augmented Reality (AR) vs. Virtual Reality (VR):
- Augmented Reality (AR): Superimposes real-time, interactive, computer-generated digital imagery, annotations, and spatial assets onto the user's view of the physical world.
- Virtual Reality (VR): Replaces the physical environment entirely with a fully simulated, immersive three-dimensional digital environment accessed via head-mounted displays (HMDs) and sensory haptic gloves.
- Industrial and Societal Applications of AR and VR:
- Industrial Maintenance and Real-Time Guidance: Technicians follow animated visual cues and component schematics overlaid directly onto machinery to perform precise maintenance.
- Workforce Training & Skill Acquisition: Technicians and assembly workers practice complex mechanical repairs in simulated environments without physical risk.
- Aviation and Medical Training: Flight simulators allow pilots to experience emergency procedures safely, while medical students perform virtual surgical procedures without endangering patients.
- Education: Students explore anatomical systems, scientific processes, or historical sites virtually, increasing engagement and lowering costs.
- E-Commerce and Retail Showrooms: Consumers visualize how products (furniture, vehicles) appear in physical spaces before purchase.
- Gaming: Titles like Pokémon GO combine real-world location tracking with virtual overlays.
- Virtual Tourism: Virtual travel enables users to explore remote or extreme environments (such as deep oceanic trenches or planetary surfaces) without physical travel.
Artificial Intelligence, Machine Learning, and Robotics:
- Machine Learning (ML): A branch of Artificial Intelligence where software analyzes statistical patterns in historical training data to improve performance on tasks without explicit, hardcoded instructions (e.g., smart assistant alarms, video streaming recommendations, navigation travel times).
- Autonomous Programming: Self-governing systems capable of real-time spatial analysis, decision-making, and physical action without human intervention.
- Autonomous Robotics Deployments:
- Warehouse Automation (e.g., Amazon fulfillment): Mobile transport units navigate distribution hubs, avoid collisions, and select optimal routes to transfer inventory.
- Automated Medical Diagnostics: Computer-vision models analyze diagnostic radiology scans to identify early pathological anomalies (such as tumor margins).
- Autonomous Domestic Cleaners (e.g., Roomba): Onboard sensors and SLAM algorithms map rooms, clean around obstacles, and automatically return to docking stations for recharging.
- Industrial Robotic Arms: Factory robots dynamically weld, fasten, and spray-paint automotive parts, adjusting motion trajectories based on real-time sensor feedback.