CDS1010: Introduction to Programming
The slides below are meant only as a glossary of terms used in class. They are by no means comprehensive of our in-class activities.
- Week 0 – Hello, World! programming environment, variables, functions, strings
- Week 1A – Decisions I f-strings, floats, rounding, Booleans, if/else conditional logic
- Week 1B – Decisions II if/elif/else, pass, string formatting with escaping and long/multi-line/raw strings
- Week 2A – While Loops while loops, sets, input validation, counter/accumulator/sentinel/flag patterns, break/continue/else
- Week 2B – And, Or, Not logical operators (and/or/not), operator precedence, random.randint