Computer Fundamentals Tutorial
Learn Computer Fundamentals step by step: 55 lessons in 10 chapters with examples, quizzes, diagrams and projects.
Start learning →
of lessons completed
Meet the Computer
- What Is a Computer? Learn what a computer really is: a programmable machine that takes input, processes it, stores data and produces output, plus a short history from gears to chips.
- Generations and History of Computers Walk through the five generations of computers, from vacuum tubes and transistors to microchips and AI, and test Moore's law with a Python simulation.
- Hardware and Software Understand hardware and software: physical parts, system and application software, firmware, drivers, and the layers a request passes through from your click to the circuits.
- Types of Computers Compare phones, laptops, servers, embedded devices, supercomputers and the cloud: how they differ in size, power and purpose, and what every computer has in common.
- Where Computers Are Used See how computers are used in education, business, healthcare, banking, science, government and entertainment, and how every use follows the same input-process-output pattern.
- Input and Output Devices Learn how keyboards, mice, touchscreens, sensors, screens and printers connect to a computer, and follow a key press from the switch to a character on screen.
Data Representation
- Bits and Bytes Learn why computers use two states, what bits, bytes and words are, how KB differs from KiB, and how to estimate how much data fits on a disk or in memory.
- Binary, Octal and Hexadecimal Learn positional number systems: convert between decimal, binary, octal and hex by hand and in code, understand two's complement for negatives, and see how overflow happens.
- Text and Character Encoding Learn how computers store text: ASCII, Unicode code points, UTF-8 bytes, emoji, and why broken characters (mojibake) appear when a file is read with the wrong encoding.
- Images, Sound and Video as Data See how pixels, RGB colors, sampling rate, bit depth and frames turn pictures, sound and video into numbers, and why raw media files are so large.
- Compression and File Formats Understand lossless and lossy compression, run-length and Huffman coding, file headers and magic numbers, and why a file extension can lie about what is inside.
Inside the Machine
- The CPU Learn how a CPU works: the ALU, control unit and registers, the fetch-decode-execute cycle, pipelines, cores and threads, and what clock speed in GHz really measures.
- Memory: RAM, Cache and the Memory Hierarchy Understand RAM, memory addresses, volatile vs non-volatile storage, CPU cache levels, locality of reference, virtual memory and swap, with runnable simulators.
- Storage: HDD, SSD and Beyond Compare hard disks and SSDs, learn latency versus throughput, how RAID protects data, why flash wears out, and where cloud storage fits, with runnable models.
- Motherboard, Buses, GPU and Power See how the motherboard connects the CPU, memory and devices, what buses and PCIe lanes are, why a GPU is good at parallel work, and how to read a spec sheet.
- Smartphones, Tablets and the Internet of Things See what is inside a smartphone, how sensors turn the physical world into numbers, how IoT devices connect and report, and simulate a step counter in Python.
Logic and Programs
- Boolean Logic and Logic Gates Learn Boolean logic and logic gates: AND, OR, NOT, XOR and NAND, truth tables, and how gates combine into half and full adders that let a computer do arithmetic.
- Machine Code and Assembly Learn what machine code and assembly are: instruction sets, opcodes and operands, the stored-program idea, and a toy assembler and CPU you can run and change.
- Programming Languages, Compilers and Interpreters Understand high-level and low-level languages, compilers, interpreters and bytecode virtual machines, and watch a tokenizer, parser and interpreter turn text into results.
- Algorithms and Problem Solving Learn what an algorithm is, how to express one with pseudocode and flowcharts, how to check it is correct, and why efficiency matters, with step-counting examples.
- Programming Concepts: Input, Decisions, Loops, Functions and Classes Learn the ideas shared by every programming language: variables, input and output, conditionals, loops, functions and classes, with short runnable Python examples for beginners.
Operating Systems
- What an Operating System Does Learn what an operating system does: the kernel, user space, drivers and system calls, shells and GUIs, Windows, macOS, Linux and Android, and how a computer boots.
- Types of Operating Systems Compare batch, time-sharing, real-time, distributed, embedded and mobile operating systems, and see in Python why a real-time system cares about deadlines.
- Processes, Threads and Scheduling Learn what a process is, how threads differ, how the operating system switches between tasks with round-robin scheduling, and what a deadlock looks like.
- Deadlock and Synchronization in Plain Language Learn what a race condition is, how a lock (mutex) and a semaphore keep shared data safe, and how to avoid deadlock with a simple ordering rule, using Python.
- Memory Management Understand how an operating system manages memory: address spaces, paging, virtual memory, page faults and swapping, plus why apps leak memory and crash.
- File Systems Learn how file systems organize data on disk: files, directories, paths, metadata, permissions, inodes and blocks, NTFS, ext4, APFS, and deleting vs erasing.
- Windows at a Glance A beginner's tour of Microsoft Windows: the desktop, Start menu, Settings, File Explorer, Task Manager, drives and paths, updates and the tools that fix common problems.
- Linux for Newcomers Meet Linux: what the kernel and a distribution are, popular distros, desktop environments, package managers, the file system layout and permissions, with Python demos you can run.
Networks and the Internet
- Networking Basics Learn how computer networks work: LANs and WANs, switches and routers, Wi-Fi versus Ethernet, bandwidth versus latency, and how protocols stack into layers.
- Wi-Fi and Wireless Basics Understand how Wi-Fi works: radio bands and channels, Wi-Fi standards, SSIDs, signal strength, WPA2 and WPA3 security, plus Bluetooth and mobile data, with small Python models.
- The Internet, IP Addresses and DNS Understand how the Internet works: IPv4 and IPv6 addresses, subnets, ports, how DNS turns names into addresses step by step, and what Internet providers do.
- How the Web Works Follow a web page from your browser to a server and back: URL anatomy, HTTP requests and responses, status codes, HTML, the HTTPS handshake idea and cookies.
- Email, the Cloud and Everyday Online Services See how email travels with SMTP and IMAP, what the cloud really is, how SaaS and IaaS differ, and how caching and CDNs make streaming and websites fast.
- Cloud Computing Basics Learn how public, private and hybrid clouds differ, what elasticity and regions mean, how pay-as-you-go pricing works, and compare costs with a Python model.
Security and Care
- Passwords, Hashing and Encryption Learn what makes a password strong, how hashing differs from encryption, how symmetric and public-key cryptography work, and why 2FA and HTTPS matter.
- Malware, Phishing and Safe Habits Learn what viruses, ransomware and spyware do, how phishing and scams trick people, and the habits that keep you safe: updates, least privilege and firewalls.
- Online Privacy and Tracking Learn how websites and apps track you with cookies, trackers and fingerprinting, what VPNs and private browsing really do, and the settings and habits that protect your privacy.
- Backups and Data Recovery Learn why backups matter, the 3-2-1 rule, full versus incremental backups, versioning, how to test a restore, and what data recovery tools can and cannot do.
- Digital Ethics, Copyright and Software Licenses Understand copyright, software licenses (proprietary, open source, Creative Commons), privacy, online etiquette and digital payments, and check license rules in Python.
- Troubleshooting, Performance and Upgrades Learn a systematic way to diagnose computer problems, read Task Manager or Activity Monitor, find the bottleneck, decide on RAM or SSD upgrades and trace boot failures.
Working with Computers
- Files, Folders and Staying Organized Learn how paths and extensions work, how to name and organize files, search effectively, compress and share them, and avoid the common pitfalls of cloud sync.
- The Command Line: First Steps A beginner's guide to the command line: why use a terminal, how to navigate, list, create and read files, connect commands with pipes, and delete safely.
- Spreadsheets and Data Basics Learn how spreadsheets organize data in rows and columns, how formulas, sorting and filtering work, what CSV files are, how databases differ, and how to clean messy data.
- Word Processors, Presentations and Keyboard Shortcuts Learn how word processors use styles and structure, how to build clear presentation slides, and which keyboard shortcuts save time, with Python mail-merge and word-count examples.
- What Is a Database? Learn what a database is: tables, rows and columns, primary and foreign keys, what a DBMS does, why databases beat spreadsheets for shared data, and a first taste of SQL you can run.
- Careers in Computing: Tech and Non-Tech Roles Explore computing careers: software, data, security, networking, IT support, design and product roles, plus non-technical jobs, skills to build and a path from beginner to professional.
Real-World Projects
- Project: A Binary Calculator Build a working binary adder from logic gates, add subtraction with two's complement, and detect carry and overflow flags, then test it against every 8-bit input.
- Project: A Tiny CPU Simulator Build a tiny CPU in JavaScript with registers, memory and an instruction set. Watch fetch-decode-execute run a countdown, then add an assembler with labels.
- Project: A Mini File System Build a tiny file system in JavaScript with directories, paths, inodes, disk blocks and a free-space map. Create, read and delete files, then check the disk.
- Project: Follow a Packet Across the Internet Follow one request from your laptop to a server: simulate a DNS lookup chain, route a packet hop by hop with a latency model, and recover lost data with acknowledgments.
Practice and Review
- Practice: Hardware and Data (with Solutions) Twelve hands-on exercises on units, binary, hexadecimal, two's complement, UTF-8, pixels, cache and storage, each with a runnable editor and a worked solution.
- Practice: OS, Networks and Security (with Solutions) Twelve exercises on scheduling, deadlock, paging, paths, permissions, subnets, DNS, HTTP and hashing, each with a runnable stand-in and a worked solution.
- Computer Fundamentals Interview Questions 40 common computer fundamentals interview questions with concise answers on hardware, data, operating systems, networks and security, with a few runnable checks.
- Computer Fundamentals Cheat Sheet A one-page computer fundamentals cheat sheet: data units, powers of two, number conversions, latency numbers, OS and network layers, ports, status codes.