Skip to content
๐Ÿ’ป

Programming Basics

50 lessons

Start from zero. Learn what programming is, how code works, and the core concepts every developer needs.

  1. 1

    What Is Programming?

    Learn what programming is, why it matters, and how creating software differs from just using it.

  2. 2

    What Is Code?

    Understand what source code is, how it differs from machine code, and why we use programming languages.

  3. 3

    How Programs Work

    Learn how a program runs step by step, what execution order means, and how programs make decisions.

  4. 4

    Variables

    Learn what variables are, how to create them, and how they store data your program can reuse.

  5. 5

    Data Types

    Understand strings, numbers, booleans, and more โ€” the fundamental kinds of data every program works with.

  6. 6

    Conditions (if/else)

    Learn how programs make decisions with if, else if, and else โ€” the foundation of branching logic.

  7. 7

    Loops (for & while)

    Learn how loops repeat code automatically โ€” for loops for counted repeats and while loops for conditional ones.

  8. 8

    Functions

    Learn how functions bundle reusable code, take inputs, and return outputs โ€” the building blocks of programs.

  9. 9

    Arrays

    Learn how arrays store ordered lists of values, how to access items by index, and how to loop over them.

  10. 10

    Objects

    Learn how objects group related data with keys and values โ€” the most common way to structure information.

  11. 11

    Errors

    Learn what errors are, the difference between syntax and runtime errors, and how to handle them gracefully.

  12. 12

    Debugging Basics

    Learn practical debugging techniques โ€” print debugging, reading stack traces, and forming hypotheses to fix bugs.

  13. 13

    Strings and Text

    Master text in code: string creation, concatenation, slicing, and common methods every developer uses daily.

  14. 14

    Numbers and Math

    Learn how numbers work in code: integers, floats, arithmetic operators, rounding, and the Math object.

  15. 15

    Boolean Logic

    Deepen your understanding of true/false values, logical operators, truthiness, and short-circuit evaluation.

  16. 16

    Comments and Readability

    Learn how to write code that humans can read: comments, naming, formatting, and when not to comment.

  17. 17

    Scope and Visibility

    Understand variable scope โ€” global, function, and block scope โ€” and how visibility controls access in your code.

  18. 18

    Recursion

    Learn recursion โ€” when a function calls itself โ€” including base cases, the call stack, and when to use it.

  19. 19

    Modules and Imports

    Learn how to split code into modules, import and export between files, and organize larger programs effectively.

  20. 20

    File I/O Basics

    Understand how programs read and write files, work with file paths, and handle the challenges of file operations.

  21. 21

    Command Line Basics

    Learn the terminal: navigating directories, running commands, piping output, and why developers live in the shell.

  22. 22

    Environment Setup

    Set up your development environment: installing a language runtime, editor, and tools to start coding effectively.

  23. 23

    Choosing a Language

    Compare popular programming languages โ€” JavaScript, Python, Java, C, Rust โ€” and learn how to pick the right one.

  24. 24

    Pseudocode and Planning

    Learn to plan programs with pseudocode before writing real code โ€” a technique that saves hours of debugging.

  25. 25

    Flowcharts

    Learn to visualize program logic with flowcharts โ€” decision diamonds, process boxes, and flow arrows.

  26. 26

    Algorithm Thinking

    Develop the mindset for designing algorithms โ€” step-by-step recipes that solve problems efficiently and correctly.

  27. 27

    Time Complexity (Intro)

    Understand Big O notation and time complexity โ€” how to describe and compare the efficiency of algorithms.

  28. 28

    Memory and References

    Understand how memory works in programming: stack vs. heap, value vs. reference, and why it causes subtle bugs.

  29. 29

    Programming Paradigms

    Explore the major programming paradigms โ€” imperative, declarative, OOP, and functional โ€” and when to use each.

  30. 30

    Best Practices Overview

    A capstone on professional coding practices: naming, structure, testing, version control, and continuous learning.

  31. 31

    Algorithm Analysis Deep Dive

    Master Big-O, Big-Omega, and Big-Theta notation to analyze algorithm efficiency rigorously.

  32. 32

    Searching Algorithms Deep Dive

    Implement and analyze linear search, binary search, and hash-based search with their trade-offs.

  33. 33

    Sorting Algorithms Deep Dive

    Implement bubble, insertion, merge, and quick sort; understand their stability, complexity, and trade-offs.

  34. 34

    Recursion Techniques Deep Dive

    Master recursion: base cases, recursive cases, tail recursion, memoization, and the call stack.

  35. 35

    Dynamic Programming Deep Dive

    Learn the DP paradigm: optimal substructure, overlapping subproblems, tabulation, and memoization.

  36. 36

    Greedy Algorithms Deep Dive

    Understand greedy choice, proof techniques, and when greedy is optimal vs when it fails.

  37. 37

    Data Structures Overview Deep Dive

    Survey advanced data structures: heaps, balanced trees, graphs, and their time-space trade-offs.

  38. 38

    Stacks and Queues Deep Dive

    Master stacks (LIFO) and queues (FIFO): implementations, applications, and monotonic variants.

  39. 39

    Linked Lists Deep Dive

    Implement singly, doubly, and circular linked lists; master pointer manipulation and cycle detection.

  40. 40

    Trees and Graphs Deep Dive

    Explore binary trees, BSTs, AVL trees, graph representations, and traversal algorithms.

  41. 41

    Hash Tables Deep Dive

    Understand hash functions, collision resolution, load factor, and rehashing strategies.

  42. 42

    Heaps and Priority Queues Deep Dive

    Master binary heaps, heap operations, priority queues, and heap-sort.

  43. 43

    Design Patterns Introduction Deep Dive

    Understand the history, taxonomy, and philosophy of design patterns in software engineering.

  44. 44

    Creational Patterns Deep Dive

    Master Singleton, Factory Method, Abstract Factory, Builder, and Prototype patterns.

  45. 45

    Structural Patterns Deep Dive

    Master Adapter, Decorator, Facade, Proxy, and Composite patterns for object composition.

  46. 46

    Behavioral Patterns Deep Dive

    Master Strategy, Command, State, Iterator, and Template Method patterns for object interaction.

  47. 47

    Functional Programming Deep Dive

    Master pure functions, immutability, higher-order functions, currying, and function composition.

  48. 48

    Immutable Data Structures Deep Dive

    Learn persistent data structures, structural sharing, and the benefits of immutability.

  49. 49

    Concurrent Programming Deep Dive

    Understand threads, processes, race conditions, synchronization, and parallelism vs concurrency.

  50. 50

    Async Patterns Deep Dive

    Master callback patterns, Promises, async/await, and concurrent async coordination.

Completed: 0 / 500%

Learning Stages

Est. total: 14h 25m
  1. 1

    Foundation

    13 lessons ยท 2h 10m

    Build a solid foundation with the essential concepts and syntax.

    0/13
  2. Core

    13 lessons ยท 3h 15m

    Deepen your understanding with core patterns and common use cases.

    0/13
  3. Intermediate

    12 lessons ยท 4h

    Tackle intermediate topics and start combining concepts fluently.

    0/12
  4. Advanced

    12 lessons ยท 5h

    Master advanced techniques and apply them to real-world problems.

    0/12

Completion Standard

Complete 80% lessons, 60% exercises, and 50% projects to master this topic.

Overall0%
  • Lessons0 / 200%
  • Exercises0 / 1000%
  • Projects0 / 100%

Skill Assessment

0 / 20 mastered
0 mastered0 in progress20 not started
  • 0
    Variables & Data TypesFoundation
    0 / 4 lessons ยท 0%
  • Control FlowFoundation
    0 / 3 lessons ยท 0%
  • FunctionsCore
    0 / 3 lessons ยท 0%
  • Data StructuresCore
    0 / 4 lessons ยท 0%
  • AlgorithmsIntermediate
    0 / 4 lessons ยท 0%
  • DebuggingCore
    0 / 2 lessons ยท 0%
  • Programming ParadigmsAdvanced
    0 / 3 lessons ยท 0%
  • Best PracticesAdvanced
    0 / 2 lessons ยท 0%

+12 more skills

Recommended next: what-is-programming
20 remaining

Build real projects

Apply what you learned by building guided projects with starter code and solutions.

View projects

Decode error messages

Plain-English explanations of common errors โ€” what they mean, why they happen, and how to fix them.

View errors