Computer Organization and Architecture Complete Study Guide

Overview of Computer Organization & Architecture

  • Core Definition: Computer architecture and organization refers to the study of the internal design, structuring, and operational implementation of computer systems.
  • Group 10 Contributors: Jhon Erich David, Jerlyn Llorin, Cjay Oliva, Mark Tamin, Kilua Labanan, and Razzel Gutierrez.

Basic Architecture of a Computer

Main Components of a Computer System

  • Central Processing Unit (CPU): The primary execution engine of the computer system.
  • Memory Unit: Storage structure holding data, program instructions, and intermediate results.
  • Input/Output (I/O): Systems facilitating communication between external hardware/users and internal components.
  • System Bus: Interconnect hardware providing data, memory address, and control signal communication pathways.

Central Processing Unit (CPU)

  • Functional Role: Acts as the "brain" of a computer by fetching, decoding, and executing program instructions.
  • Internal Sub-Components:
    • Control Unit (CU): Directs the operations of the processor and manages instruction flows between components.
    • Arithmetic Logic Unit (ALU): Performs mathematical operations (addition, subtraction) and logical comparisons.
  • The Fetch-Decode-Execute Cycle:
    • Fetch: Retrieves an instruction from main memory or cache.
    • Decode: Translates the fetched instruction into operational signals for execution.
    • Execute: Performs the requested command or arithmetic/logical operation.

AMD Ryzen CPU Hardware

CPU Data and Instruction Flow Diagram

Memory Unit

  • Functional Role: The internal storage area in a computer that holds data, programs, and instructions while the system is running and actively processing data.

Memory Unit Operational Architecture

  • Categories of Computer Memory:
    • Primary Memory:
    • RAM (Random Access Memory): Volatile main memory used for direct, high-speed read/write access during active system operation.
    • ROM (Read-Only Memory): Non-volatile memory storing permanent startup instructions and system firmware.
    • Cache Memory: Extremely fast, volatile memory situated close to the CPU to reduce access latency for repeated data requests.
    • Secondary Memory:
    • Hard Disk Drives (HDD): Non-volatile mechanical storage using magnetic platters.
      • 3.5" HDD Internal Components: Platters, Spindle, Read/Write (R/W) Head, Actuator Arm, Actuator Axis, and Actuator.
    • Solid-State Drives (SSD): Non-volatile electronic flash storage containing no moving mechanical parts.
      • 2.5" SSD Internal Components: Cache, Controller, and NAND Flash Memory.
    • USB Flash Drives: Portable, removable non-volatile solid-state memory devices.

HDD vs SSD Structural Anatomy

Input/Output (I/O) System

  • Functional Role: Serves as the communication bridge between a computer and the outside world, allowing it to accept raw external data, process it, and output actionable results.

Input, Processing, Storage, and Output Flow

  • Input Devices:
    • Keyboard: Standard alphanumeric input device.
    • Mouse: Pointing device for graphic interaction.
    • Scanner: Optical scanning device used for digitizing physical documents.
    • Joystick / Gamepad Controller: Multi-axis directional controller utilized for real-time interaction and gaming.

Flatbed Optical Scanner Input Device

Gamepad Controller Input Device

  • Output Devices:
    • Monitor: Display interface rendering graphical output, software applications, and interactive visuals (e.g., Grand Theft Auto V).
    • Printer: Hard-copy output device producing physical printed documents (e.g., Epson InkTank printers).
    • Speaker: Transducer delivering audible sound signals.
    • Earphones: Head-worn personal audio transducer output devices.

Computer Monitor Displaying Graphical Game Output

Epson Printer Output Device

System Bus

  • Functional Role: The electrical pathway enabling communication, address signaling, and data transfer between the CPU processor, memory units, and Input/Output (I/O) devices.