Computer Hardware and Fundamentals Flashcards
Binary Fundamentals and Data Representation
Definition of Binary System:
Binary is a base-2 positional numeral system written exclusively using combinations of two digits: and .
Computers utilize binary to process data, execute instructions, perform calculations, and handle system functions.
Any input provided to a computer (text, keystrokes, signals) is processed by internal hardware translators that convert the data into binary sequences.
Bits and Bytes:
Bit: The foundational, smallest unit of digital data, representing a single binary value of either or .
Byte: A contiguous group of combined into a single standard unit (e.g., ).

Binary to Decimal Conversion Principles:
Positional values in a binary number correspond to powers of (), increasing exponentially from right to left starting at position (Least Significant Bit, LSB).
In an binary number (byte), the positional weight values from left (Most Significant Bit, MSB) to right (LSB) are:
Position 7:
Position 6:
Position 5:
Position 4:
Position 3:
Position 2:
Position 1:
Position 0:
Each digit state acts as a switch:
indicates the positional value is "Off".
indicates the positional value is "On".
Decimal (base-10) positional values operate on powers of ():
Step-by-Step Conversion Example ():
Given the binary value :
Bit 7 ():
Bit 6 ():
Bit 5 ():
Bit 4 ():
Bit 3 ():
Bit 2 ():
Bit 1 ():
Bit 0 ():
Summation of active positional values: .
Therefore, .

Character Encoding and ASCII
ASCII Background and Standards:
ASCII stands for American Standard Code for Information Interchange.
Standardized originally as a character encoding scheme proposed by the American National Standards Institute (ANSI) in and finalized in under ANSI Standard X3.4.
Created to establish a uniform standard for encoding printed and control symbols across hardware platforms.
By , ASCII became the predominant character encoding standard used across the Internet.
Character Mapping Mechanics:
Maps standard numeric values (decimals through ) to specific characters, including uppercase and lowercase English letters, numerals through , punctuation marks, and non-printing control characters.
Key Decimal Equivalents:
Space character: Decimal (Binary ).
Uppercase character 'A': Decimal (Binary ).
Uppercase character 'M': Decimal (Binary ).
Extended ASCII and Byte Storage:
Most systems extend standard ASCII to use an byte capacity ( character slots, values through ).
The upper slots (values to ) accommodate foreign language accent marks, technical graphics, and specialized symbols.
Text handling in applications (e.g., Notepad in Windows XP/2000):
Text files reserve exactly of storage or memory per character, including spaces (character ).
Sentence structure size example: The string "Four score and seven years ago" uses per visible character and for each separating space character.
Binary text data is frequently formatted in Hexadecimal notation to reduce display overhead.

ASCII Control and Printable Mapping Table Summary:
Control Characters ( to ): Includes NUL (), SOH (), STX (), ETX (), EOT (), ENQ (), ACK (), BEL (), BS (), TAB (), LF (), VT (), FF (), CR (), SO (), SI (), DLE (), DC1 (), DC2 (), DC3 (), DC4 (), NAK (), SYN (), ETB (), CAN (), EM (), SUB (), ESC (), FS (), GS (), RS (), and US ().
Punctuation & Symbols ( to ): Space (),
!(),"(),#(),$(),%(),&(),'(),((),)(),*(),+(),,(),-(),.(),/().Numeric Digits ( to ):
0() through9().Uppercase Alphabet ( to ):
A() throughZ().Lowercase Alphabet ( to ):
a() throughz().Special Character:
DEL().
Central Processing Unit (CPU) Architecture
Core Definition and Purpose:
The Central Processing Unit (CPU) is the core operational component of a computer system, referred to as the "brain of the computer", "central processor", "main processor", or "processor".
Primary operational duties:
Executes all data processing tasks and compute operations.
Temporarily stores operational data, program instructions, and execution results.
Controls, manages, and coordinates all hardware sub-systems.
Processor Performance Metrics & Multi-Core Configurations:
Processor Chip: The physical integrated silicon chip inside the CPU housing processing cores.
Dual-core Processor: A CPU containing independent physical processing cores.
Quad-core Processor: A CPU containing independent physical processing cores.
Clock Speed: The rate at which a processor executes instruction cycles, measured in Megahertz (MHz) or Gigahertz (GHz).

Four Basic Operational Steps (CPU Execution Cycle):
FETCH: Retrieves program instructions stored in system memory.
DECODE: Translates retrieved instructions into machine-level binary control signals.
EXECUTE: Carries out the specified command, mathematical calculation, or logic operation.
STORE: Writes computation results back to memory or directs them to output devices.
Major Internal Sub-units of a CPU:
Arithmetic Logic Unit (ALU):
Subdivided into two operational units:
Arithmetic Unit (AU): Executes mathematical arithmetic operations including addition, subtraction, multiplication, and division.
Logic Unit (LU): Executes boolean logic and evaluation functions including data comparison, sorting, selecting, matching, and merging.
Control Unit (CU):
Orchestrates and directs processing operations across all computer components.
Does not perform actual data processing or store application data.
Functions include managing instruction/data flow, fetching instructions from main memory, interfacing with I/O devices, and synchronizing system timing.
Memory Unit:
Internal storage component (also referred to as primary storage, main memory, internal storage, or RAM) holding raw data, active instructions, and intermediate computation outputs.
Processor Registers:
Ultra-fast, temporary storage cells located directly inside the CPU.
Store operational operands, memory addresses, and active status instructions.
Key CPU Registers:
PC (Program Counter): Tracks memory address of the next instruction to fetch.
CIR (Current Instruction Register): Holds the instruction currently undergoing decoding/execution.
AC (Accumulator): Stores intermediate arithmetic and logical results.
MAR (Memory Address Register): Holds memory locations currently being read from or written to.
MDR (Memory Data Register): Holds data being transferred to or from memory.

System on Chip (SoC) Integration
SoC Concept and Architecture:
A System on Chip (SoC) is an Integrated Circuit (IC) that consolidates all or most major components of an entire computing system onto a single silicon die.
Replaces discrete multi-chip board architecture (separate CPU, RAM, graphics, I/O controllers) with a single compact package.
Driven by Very Large Scale Integration (VLSI) semiconductor advances, allowing millions to billions of transistors to inhabit one die.
Key Hardware Components Integrated in an SoC:
CPU: Main processing core running operating system code and applications.
GPU: Graphics hardware handling image rendering, UI display, and parallel task compute.
Embedded Memory: High-speed on-chip cache and integrated RAM.
I/O Interfaces: Built-in system controllers for USB, PCIe, HDMI, audio, and network links.
Specialized Hardware Accelerators: Dedicated silicon modules for Machine Learning/AI, Digital Signal Processing (DSP), or cryptographic operations.
Power Management Unit: Integrated power control circuitry maximizing energy efficiency.
SoC System Triad Definition:
An SoC is defined by three interconnected operational layers:
Chip Hardware: Embedded processors, custom ASIC logic circuits, embedded memory blocks, and analog/RF components.
Software Layer: Operating systems, compilers, hardware drivers, system firmware, protocol stacks, application code interfaces (C/C++, Assembly), and IDE toolchains (debuggers, linkers, In-Circuit Emulators [ICE]).
System Integration: Turnkey product solutions, foundry/manufacturing consultancy, and technical implementation infrastructure.
Memory Hierarchy and Storage Systems
Random Access Memory (RAM):
Primary memory allowing direct, random access to any storage cell in equal time regardless of sequence.
Classified as Volatile Memory: data persists only while receiving power and clears instantly when power is cut.
RAM Operation Mechanism:
The CPU initiates data retrieval by sending a binary address sequence (s and s) over address wires.
The memory array evaluates the address when the CPU activates the
SETorENABLEcontrol line.When
ENABLEis active, RAM senses stored state bits corresponding to the requested address and sends stored data back to the CPU across data lines.Types of RAM:
Static RAM (SRAM): Holds stored binary states without requiring continuous electrical refresh cycles. Features extremely fast access speeds, but each memory cell takes up substantial physical space on silicon (requiring multiple transistors per cell), making SRAM high-cost and lower in capacity.
Dynamic RAM (DRAM): Requires continuous electrical refresh cycles to maintain charge on integrated memory capacitors. If unrefreshed, charge dissipates and stored data is lost. Offers high density and lower cost per bit.

Primary Storage Comparison: ROM vs. RAM:
Read-Only Memory (ROM):
Permanent, non-volatile primary storage that cannot be modified or deleted during standard operation.
Retains code when system power is off.
Contains critical boot software (BIOS/firmware) directing the hardware to load the Operating System from storage into active system RAM.
RAM Capacity Impact:
Volatile working memory used to load active programs (e.g., MS Word).
Directly determines system multi-tasking performance, operational execution speed, and max concurrent software load.
Standard personal computers typically ship equipped with to of RAM.
Data Capacity Units Scale:
Bit: Smallest binary data unit ( or ).
Byte: .
Kilobyte (KB): (approximated standard: ).
Megabyte (MB): ( display standard).
Gigabyte (GB): ( display standard).
Terabyte (TB): .
Secondary and Backing Storage Devices:
Hard Disk Drive (HDD):
Non-volatile primary backing store inside computers.
Utilizes rotating rigid platters coated with magnetic material read/written via electro-magnetic heads.
External hard drives connect via external cabling (e.g., USB) for backup and expanded capacity.
Floppy Disk:
Portable magnetic media format introduced in the .
Max capacity: (roughly equivalent to of plain text).
Incapable of storing modern image graphics or WordArt due to capacity constraints.

Zip Disk:
Magnetic storage medium developed as a high-capacity backup tool prior to consumer CD-R drives.
Thicker format than floppy diskettes, holding roughly of data ( floppy disk capacity).

Magnetic Tape:
Sequential access magnetic backing media utilized primarily by enterprise organizations for daily archiving.
Operates like analog audio/video tape; retrieving data requires physical sequential winding from the beginning of the ribbon, causing slow data search speeds.

Compact Disk (CD):
Optical storage medium written to and read from by precision optical laser beams inside a disk drive.
Standard CD capacity: (equivalent storage capacity of standard floppy disks).

Flash Memory (USB Flash Drives):
Compact, lightweight, non-volatile, rewritable solid-state storage.
Built around a printed circuit board (PCB) encased in metal/plastic with a protected USB interface.
Commercial sizes range from up to .

Input/Output Ports, Connectors, and Interconnects
Definitions:
Port: A designated physical socket or aperture on a computer system designed to accept cable connections or peripheral interfaces.
Connector: The physical plug attached to a cable or peripheral designed to mate with a specific port standard.
I/O Port Categorization and Standards:
Audio Interfaces:
Audio In / Line In (3.5mm blue jack / RCA).
Headphones / Speaker Out (3.5mm lime green jack).
Microphone In (3.5mm pink jack).
Surround Sound Jacks: Center/subwoofer (orange), Side surround (grey), Rear surround (black).
S/PDIF In & Out: Optical/coaxial digital audio connectivity.
Video Interfaces:
VGA Port: 15-pin analog video connection for monitors.
DVI (Digital Video Interface): High-density digital display connector.
HDMI Port: High-Definition Multimedia Interface delivering uncompressed digital video and multi-channel audio.
Legacy Video: Composite Video In (RCA yellow), S-Video (mini-DIN).
Legacy Connectivity:
PS/2 Ports: 6-pin Mini-DIN interfaces for mouse (green) and keyboard (purple).
Serial Port: DB-9 connector used historically for dial-up modems.
Parallel / LPT1 Printer Port: DB-25 port for legacy printers.
Game Port: 15-pin interface used for legacy joysticks.
Data and Storage Interfaces:
eSATA Port: External Serial ATA connection for external storage drives.
FireWire (IEEE 1394): High-speed legacy serial transfer interface.
Network Communication Ports:
Ethernet Port (RJ-45): Wired Network interface connection.
Telephone Line In (RJ-11): Dial-up modem phone port.
Coaxial/RF Interfaces: Cable TV, FM Reception.


Universal Serial Bus (USB) Generations & Form Factors:
USB 2.0 Forms: Type-A, Type-B, Micro-B, Type-C, Apple Lightning.
USB 3.0 Forms: Type-A (blue internal plastic tab), Type-B, Micro-B, Type-C.

Wireless Communication Standards
Wi-Fi Technology:
Generic designation referring to the IEEE 802.11 communication standard set for Wireless Local Area Networks (WLANs).
Operates across the Physical Layer and Data Link Layer of the OSI networking model.
Connects computers to local networks, fellow nodes, and external Internet infrastructure without physical cabling.
Operational Objectives:
Abstracts hardware networking complexity for users.
Provides cross-manufacturer hardware compatibility.
Eliminates structural wiring, adapters, switches, and pin connectors.

Bluetooth Standard:
Short-range radio frequency communication technology designed to eliminate physical cables between computers and peripheral devices.
Functions explicitly as a low-cost, low-power Cable Replacement Technology.
Operating System (OS) Fundamentals
Definition and Purpose:
An Operating System (OS) is an essential layer of system software managing computer hardware resources and supplying standardized platform execution services for application programs.
Acts as an abstraction layer between user applications and bare physical hardware (CPU, RAM, drives, display monitors, keyboards, printers).

Core Functions of an Operating System:
User Interface Provision: Provides a Graphical User Interface (GUI) or Command-Line Interface (CLI) for system manipulation.
Application Management: Manages program loading, execution, memory allocation, and CPU task scheduling.
Utility Support: Integrates built-in system tools for file management, disk maintenance, and security.
Hardware Control & Resource Allocation: Controls underlying hardware, monitors device operations, and manages input/output routing.
Major Personal Computer Operating Systems:
Microsoft Windows:
Developed by Microsoft; dominant desktop operating system over the last two decades.
Features a GUI desktop enabling users to manage folders and files inside visual windows.
Single-user, multi-tasking operating environment.
Apple Mac OS X:
Version 10 of Apple's Macintosh operating system.
Built as a modular platform overhaul succeeding Mac OS 9 to streamline system updates.
Core operating codebase compiled using C, C++, and Objective-C.