Python I - Programming Fundamentals
This is an introductory course in programming using Python 3 and the Visual Studio Code IDE. Students will gain foundational understanding of programming concepts including data types, variables, functions, conditionals, loops, data structures, and debugging techniques. Students will practice writing code with small exercises for each concept, and also complete more challenging exercises that combine multiple concepts. By the end of the course, students will understand fundamental programming concepts and will apply them to create a simple text-based adventure game.
Unit 1: Introduction - Data Types, Variables, and Operators
- Read - What is Python
- Read - What is an IDE?
- Download and install VS Code
- Install the Python extension in VS Code
- Read - Github Setup
- Tech class Repo
- Within the Python-I folder you'll find most of the readings and exercises for this course. For each section, review the reading and then complete the exercise on your computer.
- Reading & Exercise 1.1 - Basic Syntax
- Reading & Exercise 1.2 - Data Types
- Reading & Exercise 1.3 - Variables
- Sidenote: Naming Conventions (camelCase and snake_case)
- Reading & Exercise 1.4 - Operators
- Reading & Exercise 1.5 - User Input
- Reading & Exercise 1.6 - String Manipulation
- Unit I test
Unit 2: Control Flow and Data Structures
- Slideshow - What is version control?
- Set up a new Github repository and share it with me. You can use it to work on personal projects, and later on I'll have you use it to share projects with me.
- Read - What is control flow?
- Reading & Exercise 2.1 - Conditional Statements
- Reading & Exercise 2.2 - Loops
- Reading & Exercise 2.3 - Exception Handling
- Reading & Exercise 2.4 - Functions
- Sidenote: Data Structures
- Reading & Exercise 2.5 - Lists
- Reading & Exercise 2.6 - Tuples
- Reading & Exercise 2.7 - Dictionaries
- Unit 2 Test
Unit 3: Best Practices and Advanced Topics
- Read - Best Practices
- Read - PEP-8 Style Guide
- Reading & Exercise 3.1 - Debugging
- Reading & Exercise 3.2 - Modules and Libraries
- Read - Third-party libraries
- Reading & Exercise 3.3 - Type Hinting
- Reading 3.4 - Unit Testing
- Reading 3.5 - File I/O
- Reading & Exercise 3.6 - Regular Expressions
- Unit 3 Test
- Final Project - Text Adventure Game