Programming Basics: How Code Thinks
What programming really is and how code thinks: sequences, variables, types, decisions, loops, lists and functions, planning with pseudocode and flowcharts, finding and fixing bugs, choosing a first language and the jobs that use these skills. Tiny Python examples, no setup needed.
- Beginner level
- 6 modules
- 21 lessons
- 91 quiz questions
Syllabus
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
02The Core IdeasBlocks versus text, then the six ideas that almost every language shares: variables, types, decisions, loops, lists and functions.7 lessons
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
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
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
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