Unit 2: Fundamentals of Computer Systems Study Notes
Assessment and Unit Overview
Universal Importance: Knowledge of computer system fundamentals is essential for every computing professional. Understanding how hardware components and data perform allows for identifying and solving industry-varied problems.
Role of Programmers: They utilize knowledge of computer operations to develop superior software.
Course Coverage: This unit explores current systems, component parts, software execution, data handling, transmission methods, and impacts on organizations and individuals.
Assessment Details: * Format: Written examination set and marked by Pearson. * Duration: Maximum of . * Content: Knowledge and understanding of hardware, software, component interaction, and data usage. * Total Marks: .
Grade Descriptors: * Level 3 Pass: Applying concepts to familiar vocational contexts, deconstructing problems in common situations, and identifying impacts of systems to recommend improvements. * Level 3 Distinction: Analyzing complex data to draw conclusions, synthesizing knowledge to develop effective justified solutions, and evaluating effectiveness to make justified recommendations.
Assessment Criteria (AO): * AO1: Demonstrate knowledge/understanding of facts, terms, standards (1–5 marks). * AO2: Apply knowledge to real-life scenarios (1–5 marks). * AO3: Select and use technologies to explore outcomes/solutions (1–6 marks). * AO4: Analyze and evaluate data to recommend justified solutions (6–12 marks). * AO5: Make connections between technologies and solutions to resolve problems (6–12 marks).
Computer Hardware and Software
Hardware Definition: Physical components that can be touched, such as computers, screens, keyboards, mice, printers, cabling, mobile devices, and servers.
Software Definition: Less tangible elements including the operating system (OS), programs that control the system, and stored data.
Multi-functional Devices (MFDs): * Devices performing multiple functions (e.g., a printer with a built-in scanner and photocopier). * Often include fax circuits for sending/receiving images via telephone lines. * Mobile devices are multi-functional as they combine a phone, camera, and computer.
Personal Computers (PCs): * Used widely for work and home tasks involving word processors, spreadsheets, databases, and programming environments. * Desktop PCs: Usually stationary with cabled network connections. * Laptops: Portability within wireless (WiFi) networks.
Mobile Devices: * Incorporate computers, cameras, and (in smartphones/smartwatches) phones. * Progress in battery life and power has made modern mobile devices more powerful than many older PCs.
Servers: * Powerful computers running network OSs (e.g., Microsoft Windows Server). * Control networks and user workstations (client computers). * Features include large memory, extensive disc space, and duplicated (redundant) internal components for high reliability.
Internal Components and Performance
Processors in MFDs: Specialized computers connecting to touchscreens and networks (WiFi or wired via RJ45 ports). RJ45 is the standard for ethernet cable plugs and sockets.
Motherboard: The main circuit board connecting the processor, RAM, backing storage, and external peripherals (keyboard, mouse, monitor).
CPU (Central Processing Unit): * Actions program code via calculations, logical operations, and relational comparisons. * Control Unit: Actions the code. * ALU (Arithmetic and Logic Unit): Handles calculations and logic. * Heat Dispersal: CPUs generate extreme heat. Heat sinks (metal with large surface area) and fans are used. Laptops use flatter heat pipes. Without cooling, a CPU could melt in about a minute.
Memory (RAM): * Random Access Memory is volatile (loses data when power is off). * Operates faster than backing storage, allowing the CPU to access active programs and documents directly.
Backing Storage: * Non-volatile storage measured in Gigabytes (GB) or Terabytes (TB). * . * HDD (Hard Disc Drive): Older technology using spinning magnetic discs and moving read/write heads. Performance factors include: * Seek Time: Average time to move heads to a track (). * Data Transfer Rate (DTR): Speed of data travel ( or ). * Spindle Speed: Spinning rate (). * Cache: Fast memory on the drive to speed up access. * Fragmentation: Occurs when files are deleted and reused space is non-contiguous. Requires "defragmentation" to restore performance. * SSD (Solid State Drive): Newer technology using NAND flash memory. * Benefits: No moving parts, faster access (no seek time), shockproof, lower power consumption, no fragmentation issues. * Drawback: Historically more expensive ( the price of HDD in 2016).
System on a Chip (SoC): * Single integrated circuit combining motherboard and CPU functions, used in mobile systems for small size and low power.
LTE Modem: Long Term Evolution modem used by mobile phones for internet data.
External Hardware and connectivity
Input Devices: Used to control or feed data to the computer. Examples: Keyboard, Mouse, Webcam, Microphone, Joystick.
Output Devices: Provide information to the user. Examples: Printers, Screens/Monitors, Projectors, Speakers.
I/O (Input/Output) Devices: * USB (Universal Serial Bus): Version 3 supports up to . Backwards compatible. * Joysticks with Haptic Feedback: Provide tactile sensations (output) in response to software events.
External Storage: * External Hard Drives: Used for backups or capacity expansion. * USB Flash Drives: Small-scale portable storage. * Cloud Storage: Virtual servers accessed via the internet. * SD Cards: High capacity in small physical size (Secure Digital). * Optical Media: DVDs (Digital Versatile Discs) and high-definition Blu-ray discs.
Display Performance Factors: * Refresh Rate: Screen updates per second (). Standard is . * Response Time: Speed of pixel state change (); prevents ghosting. * Brightness: Light output measured in Candela per square metre (). * Contrast: Ratio of light to dark (e.g., ).
Printer Performance Factors: * Printing Speed: Pages per minute (). * First-out Time: Seconds until the first page starts. * Resolution: Dots per inch (), e.g., . * Monthly Duty Cycle: Robustness measured in pages per month.
Factors Affecting Hardware Choice
User Experience: Features must meet specific needs (e.g., large keys for elderly users; high resolution for gamers).
User Needs: Different tasks (video editing vs. office work) require different specs (high CPU/storage vs. multi-core/RAM).
Compatibility: Ability of devices to physical connect and interact correctly.
Cost: Balancing specifications and manufacture quality against a budget.
Efficiency: High performance with low power consumption.
Implementation: * Timescales: Lead times for out-of-stock components. * Testing: Ensuring comfort (weight/touch) before purchase. * Migration: Ease of transferring data/apps to the new system.
Environmental Concerns: Reduction in electricity and cooling costs (marketing and financial benefits).
Security: Protection against physical and cyberattacks (sensitive records like health/police).
Data Storage and Recovery Systems
RAID (Redundant Array of Independent Discs): Using multiple HDDs/SSDs for speed or security. * RAID 0 (Striping): Spreads data across drives. Fast but no fault tolerance ( drives). * RAID 1 (Mirroring): Identical copies. All but one drive can fail ( drives). * RAID 5 (Striping with Parity): Can rebuild data if one drive fails ( drives). * RAID 6 (Double Parity): Can handle two drive failures ( drives).
NAS (Network Attached Storage): A box with drives connecting as a simple file server; alternative to cloud.
Paging: PC technique using backing storage as overflow for RAM (organized in same-sized pages).
Computer Software
Operating Systems (OS): * Real-time (RTOS): Instant responses for safety-critical systems (e.g., aircraft autopilot). * Single-user: Designed for one person. Can be single-task or multi-tasking (smartphones). * Multi-user: For large systems requiring high processing (e.g., weather forecasting).
The Kernel: Core part of OS managing: * Program execution: Loading, resource allocation, termination. * Interrupts: Servicing hardware requests (mouse/keyboard). * Modes: Switching between user mode and system (kernel) mode. * Memory Management: Allocating/reusing RAM. * Multi-tasking: Concurrent execution via CPU time allocation. * Disc Access/File Systems: Organizing storage (FAT32 for low capacity; NTFS for security/recovery/encryption). * Device Drivers: Communicating with hardware components.
User Interfaces: * GUI (Graphical User Interface): Uses WIMP (Windows, Icons, Menus, Pointers). User-friendly but higher processing overhead. * CLI (Command Line Interface): Text-based. Faster, used by technicians for direct OS interaction (e.g., DOS commands like DIR). * Menu-based: Simple, suited for single-tasking (smart TVs).
Software Types: * Proprietary: Privately owned source code (Adobe, Apple, Microsoft). Licensed/purchased; no source modification permitted. * Open-source: Edit-friendly source code (Linux, OpenOffice). Collaborative, usually free, but requires in-house expertise and carries security risks if modified maliciously. * Utility Software: Routine maintenance (Security, Anti-virus, Defrag, Backup, Cleanup). Freedom to upgrade hardware often solves performance issues better than software tweaks.
Computer Architecture
Models: * Von Neumann: Single processor, shared memory for both programs and data. Uses the fetch-execute cycle. * Harvard: Separate memory for programs and data. Common in embedded systems (Arduino, PVR). * Cluster Computing: Hundreds of thousands of processors working in parallel (Supercomputers).
Memory Access: * Uniform Memory Access (UMA): All CPUs access memory at the same speed via a shared memory bus. * Non-Uniform Memory Access (NUMA): CPUs have dedicated local RAM plus shared foreign RAM.
Emulation: Software providing an environment of a different processor family (e.g., PS3 emulator on PC). Slower due to extra software layers.
Instruction Sets: * CISC (Complex Instruction Set): Large range of instructions. * RISC (Reduced Instruction Set): Only common instructions; more efficient. * Width: 8, 16, 32, or 64-bit; higher bits allow addressing more memory.
Registers: * Accumulator: Holds calculation results within the ALU. * Instruction Register (IR/CIR): Holds machine code for decoding. * Memory Address Register (MAR): Holds the RAM address for reading/writing. * Memory Data Register (MDR): Holds data moving to/from RAM. * Program Counter (PC): Holds the address of the next instruction.
Data Representation
Number Systems: * Denary: Base 10. * Binary: Base 2. Columns scale by . * Hexadecimal: Base 16. Uses digits 0–9 and A–F. One hex digit represents 4 bits (a nibble). * BCD (Binary Coded Decimal): Each nibble represents one denary digit (Max value in byte = 99).
Floating Point: Represented by a Mantissa (number) and Exponent (scale). Normalization to 0.1 for positives or 1.0 for two's complement negatives.
Binary Arithmetic: * Two's Complement: Represents negative numbers. Conversion: Invert bits and add 1. Subtraction is performed by adding the two's complement of the subtrahend. * Division: Performed using the "bus stop" method in binary.
Text Representation: * ASCII: 7-bit (128 characters) or Extended 8-bit (256 characters). * UNICODE: 1–4 bytes per character (over 1 million possibilities); compatible with ASCII.
Image Representation: * Raster/Bitmap: Grid of pixels. Quality depends on resolution () and Color Depth (bits per pixel). . * Vector: Based on mathematical formulas and coordinates. Resizable without quality loss. * Compression: * Lossy: discards detail (JPG, MP3, MP4). Efficiency over accuracy. * Lossless: No quality loss (PNG, ZIP). Identifies patterns/blocks of data.
Data Structures and Matrices
Stack: First In, Last Out (FILO). Used for subroutines.
Queue: First In, First Out (FIFO). Used for printing/batch processing.
Array: Adjacent memory for multiple items of the same type. Single (1D), 2D, or Multi-dimensional.
List/Binary Tree: Items point to the address of the next item. Recursive searching/sorting.
Matrices: * Rectangular numeral collections used for wire-framing and graphics. * Storage: Row-major (row by row) or Column-major (column by column) sequence in memory. * Simultaneous Equations: Solved by inverting a matrix and multiplying by the known results matrix.
Transmission and Logic
Communication Channels: * Simplex: One direction (TV broadcast). * Half-duplex: Both directions, one at a time (Walkie-talkie). * Full-duplex: Both directions simultaneously (Phone call).
Transmission Methods: * Serial: Bits travel one after another. Faster over long distances due to no timing skew. * Parallel: Multiple bits travel side-by-side. Timing issues over distance. * Asynchronous: Data sent in packets; receiver synchronizes upon arrival. * Synchronous: Coordinated clock at both ends.
Packets: Contain Header (Preamble, Source/Dest addresses), Data Payload, and Footer (Error check).
Encryption: * Symmetric: Same key for encrypt/decrypt. * Public (Asymmetric): Public key for encryption; Private key for decryption.
Error Detection: * Parity: Adding a bit to ensure 1s are odd or even. * Checksum/CRC: Mathematical calculation on packet contents. * ARQ (Automatic Repeat Request): Retransmission request upon error detection. * FEC (Forward Error Correction): Sending extra data to rebuild corrupted bits locally.
Boolean Logic: * AND: only if all inputs are . * OR: if any input is . * XOR: if inputs are different. * Logic Adders: Half adders for single bits; Full adders (using Carry In/Out) for multi-bit sequences. * Karnaugh Maps: Grids used to simplify complex Boolean expressions.
Questions & Discussion
Discussion - Mobile Device Evolution: How have family/friends' PC and mobile device usage changed over their lifetimes? (Page 3).
Discussion - SSD for Tablets: Why is an SSD better than an HDD for a tablet? (Consider weight, noise, heat, and shock resistance).
Discussion - Input/Output: Identification of common input, output, and storage device types.
Discussion - Data Synchronization: Benefits to businesses of syncing mobile devices with office networks.
Discussion - Matrix Transformations: What transformations occur when multiplying shapes by different matrices?
Pause Point - Met Office: Why does the Met Office use parallel processors (cluster computing) instead of a single fast processor? (Relate to thousands of input sensors).
Pause Point - Security: Identify hardware products (biometrics, swipe cards) used to restrict system access.
Pause Point - Serial vs. Parallel: Why is modern serial (SATA/USB) faster than old parallel (Centronics)?
Pause Point - Corruption causes: What causes corruption in copper (electrical interference), optical (light loss), and WiFi (wave interference)?