Syllabus

  1. 01What Programs AreA program is an ordered list of exact instructions. Meet the idea of an algorithm, a little history, and why the order of steps decides the result.2 lessons
    1. 01Instructions for a Literal Machine
    2. 02Algorithms and a Little History
  2. 02The Core IdeasBlocks versus text, then the six ideas that almost every language shares: variables, types, decisions, loops, lists and functions.7 lessons
    1. 01Blocks and Text: Same Ideas
    2. 02Variables: Names for Values
    3. 03Types: Numbers, Text and True/False
    4. 04Decisions: if, elif and else
    5. 05Loops: Doing Things Again
    6. 06Lists: Many Values, One Name
    7. 07Functions: Reusable Named Steps
  3. 03Planning Before CodingPseudocode and flowcharts let you think through the steps before any syntax gets in the way. Turn a plan into Python, test the boundaries and read a flowchart.3 lessons
    1. 01Pseudocode: Plan in Plain Words
    2. 02From Pseudocode to Python
    3. 03Flowcharts: A Picture of the Plan
  4. 04When Code Goes WrongEvery programmer writes bugs. Learn the three kinds of error, how to follow a program by hand, and a calm routine for finding the cause.3 lessons
    1. 01Three Kinds of Errors
    2. 02Tracing Code by Hand
    3. 03A Debugging Routine
  5. 05Choosing a First LanguageThere is no single best first language. Learn the questions that matter, what Python, JavaScript, HTML and CSS, Java, C and C++ are each good at, and why your second language will come faster.3 lessons
    1. 01How to Choose a First Language
    2. 02Python, JavaScript and the Web
    3. 03Java, C and C++
  6. 06Programming at WorkWhat people who program actually do, the main career directions that build on these skills, and how to take a first small project from plan to working code.3 lessons
    1. 01What People Who Program Do All Day
    2. 02Web, Data, Security and Apps
    3. 03Your First Small Project