Introduction to Computers and Hardware Systems

Computer Fundamentals & System Components

  • Computer Definition: A general-purpose electronic device programmed to execute a finite set of arithmetic and logical operations, consisting of at least one processing element, a sequencing and control unit, and memory.
  • Four Parts of a Computer System:
    • Hardware: The interconnected mechanical and electronic devices that can be physically touched to control computer operations, input, and output.
    • Software: Sets of electronic instructions and programs that direct the computer to perform tasks (both system-level management and user-facing applications).
    • People (Users): Computer operators who design, build, program, and maintain computer systems.
    • Data: Raw facts stored and processed numerically according to software instructions.

The four components of a complete computer system: hardware, software, data, and people

  • Core System Hardware Categories:
    • Central Processing Unit (CPU): Hardware on the motherboard that executes program instructions by performing basic arithmetic, logical, and input/output operations.
    • Random Access Memory (RAM): Temporary, volatile memory holding active data and instructions; loses its contents when power is shut off.
    • Input & Output Devices: Hardware facilitating user interaction by receiving instructions/data or returning processed results.
    • Storage Devices: Non-volatile magnetic or optical media (such as hard disks, floppy disks, CD-ROMs, and DVD-ROMs) used to preserve data not currently processed by the CPU.

Internal hardware components of a system unit including CPU, motherboard, power supply, and drive bays

Data Representation & Memory Measurement

  • Binary Numbering System: Digital computers understand only two electrical states (00 and 11), called bits (the smallest unit of recognized data).
  • Bytes: Groups of 8 bits8\,\text{bits} representing characters, symbols, or data values.
  • Memory & Storage Measurement Prefixes:
    • Kilobyte (KB): 210 bytes=1024 B2^{10}\,\text{bytes} = 1024\,\text{B}
    • Megabyte (MB): 220 bytes=1024 KB2^{20}\,\text{bytes} = 1024\,\text{KB}
    • Gigabyte (GB): 230 bytes=1024 MB2^{30}\,\text{bytes} = 1024\,\text{MB}
    • Terabyte (TB): 240 bytes=1024 GB2^{40}\,\text{bytes} = 1024\,\text{GB}
    • Petabyte (PB): 250 bytes2^{50}\,\text{bytes}
  • Measurement Conversions:
    • 20 MB=20×1024×1024 bytes=20×220 bytes20\,\text{MB} = 20 \times 1024 \times 1024\,\text{bytes} = 20 \times 2^{20}\,\text{bytes}
    • 1024 GB=1024×230×8 bits=240×8 bits1024\,\text{GB} = 1024 \times 2^{30} \times 8\,\text{bits} = 2^{40} \times 8\,\text{bits}
    • 1024 KB=1024230 TB=1220 TB1024\,\text{KB} = \frac{1024}{2^{30}}\,\text{TB} = \frac{1}{2^{20}}\,\text{TB}
  • Decimal-to-Binary Conversions:
    • Decimal 8710=1010111287_{10} = 1010111_{2}
    • Decimal 10510=11010012105_{10} = 1101001_{2}

Computer System Classifications

  • Classification by Size:
    • Microcomputers (Personal Computers): Single-chip microprocessor systems designed for individual use; includes desktop computers, laptops, tablets, smartphones, PDAs, in-car computers ("carputers"), and game consoles.
    • Minicomputers (Midrange Computers): Multi-user systems occupying the intermediate spectrum between personal computers and mainframes (e.g., SPARC, POWER, and Itanium-based systems by Oracle Corporation, IBM, and Hewlett-Packard).
    • Mainframe Computers: Large, institutional machines capable of serving hundreds to millions of users simultaneously for high-volume transactions; performance measured in MIPS (million instructions per second).
    • Supercomputers: The most powerful systems designed for intensive numerical computations (e.g., weather forecasting, fluid dynamics, nuclear simulations); processing speed measured in FLOPS (floating-point operations per second).
  • Classification by Function:
    • Servers: Dedicated computers providing services to client machines across networks (e.g., database servers, file servers, web servers).
    • Workstations: Specialized single-user systems configured with enhanced hardware capabilities beyond standard personal computers.
    • Embedded Computers: Specialized computers integrated permanently into devices or appliances (e.g., cars, washing machines, DVD players) running non-modifiable code from non-volatile memory.

Input and Output Peripherals

  • Keyboards: Input devices sending character signals via an insertion cursor.
    • Operational Sequence: Key pressed →\rightarrow Keyboard controller sends scan code to buffer →\rightarrow Controller sends interrupt request to system software →\rightarrow System software reads scan code from buffer →\rightarrow System software passes scan code to the CPU.

Processing path of a keyboard input from key press to CPU execution

  • Pointing Devices & Touch Systems:
    • Mouse: Common desktop pointing device using optical or laser tracking to move an on-screen pointer; key operations include pointing, clicking, double-clicking, dragging, and right-clicking.
    • Pens/Styluses: Pressure-sensitive or electronic input pens used on tablet computers and mobile devices.
    • Touch Screens: Multi-touch display interfaces supporting direct hand interaction and gesture commands.
  • Optical & Biometric Scanners:
    • Barcode Readers: Optical impulse scanners reading UPC, ISBN, Code 39, DataBar, and QR codes using decoder circuitry.
    • Image Scanners & OCR: Optical scanners capturing physical documents at typical resolutions of 300 DPI300\,\text{DPI}; Optical Character Recognition (OCR) software transforms scanned character graphics into editable digital text.
    • Biometric Readers: Identity verification hardware matching unique biological traits (fingerprints, faces, voices, signatures).
  • Audio, Visual & Display Hardware:
    • Audio & Digital Cameras: Microphones translate analog sound into digital data via sound cards; speech recognition (ASR/STT) converts voice to text; digital cameras capture still images as pixel grids.
    • Cathode Ray Tube (CRT) Monitors: Early monochrome video display terminals; evolved via the IBM Color Graphics Adapter (1981: 4 colors, 320×200320 \times 200 resolution) and Enhanced Graphics Adapter (1984: 16 colors, 640×350640 \times 350 resolution); provided viewing angles near 180∘180^\circ.

Review Questions

  • Question 1: Explain the four parts of a computer system.
  • Question 2: Identify four types of computer hardware.
  • Question 3: List five units of measure for computer memory and storage.
  • Question 4: Explain the four most common types of computer systems by size.
  • Question 5: Explain the four most common types of computer systems by function.
  • Question 6: Differentiate workstations from personal computers.
  • Question 7: Identify four types of personal computers.
  • Question 8: List two reasons why computers use the binary number system.
  • Question 9: Convert (127)10(127)_{10} to binary.
  • Question 10: Convert (101011)2(101011)_{2} to Decimal.
  • Question 11: Convert 1024 MB1024\,\text{MB} to KB.
  • Question 12: Convert 1 bit1\,\text{bit} to GB.