{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "91c7d5e4",
   "metadata": {},
   "source": [
    "```{index} chapter topics\n",
    "```\n",
    "\n",
    "(chapter-topics)=\n",
    "\n",
    "# Chapter Topics"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "4064a242",
   "metadata": {},
   "source": [
    "The chapters progress from Python fundamentals, control flow, functions, and testing to core data structures and text processing, then to program design with objects, functional tools, iterators, and APIs, and finally to abstract data structures and algorithms. Preview, Lab, and Homework activities accompany each chapter.\n",
    "\n",
    "| Chapter | Topics |\n",
    "| --- | --- |\n",
    "| [1. Introduction](../01-intro/0100-py.ipynb) | Natural and formal languages; levels of abstraction; interpreted and compiled languages; expressions and statements; number systems and character encoding; indentation and statement formatting; input, output, and f-strings; built-in functions, modules, and packages. |\n",
    "| [2. Syntax and Types](../02-basics/0200-py-basics.ipynb) | Variables and naming conventions; objects, types, identity, and mutability; aliasing; assignment, arithmetic, and comparison operators; truthiness, membership, and identity; logical and bitwise operators; type checking, conversion, and hinting; strings and collection types. |\n",
    "| [3. Control Flow](../03-control-flow/0300-control-flow.ipynb) | `if`, `else`, and `elif` statements; nested conditionals; conditional expressions; iterators and iterables; `for` loops with `range` and nested loops; counting, sentinel, and infinite `while` loops; `break` and `continue`. |\n",
    "| [4. Functions](../04-functions/0400-functions.ipynb) | Defining functions and encapsulation; parameters, default values, `*args`, and `**kwargs`; return values and type annotations; Boolean functions; local and global scope; composition, pure functions, and docstrings; lambda functions; recursion and memoization. |\n",
    "| [5. Exceptions & Testing](../05-testing/0500-exception-testing.ipynb) | Types of errors and tracebacks; `try`, `except`, `else`, and `finally`; raising exceptions and custom exception classes; debugging with print statements, assertions, and bisection; logging; unit testing with `pytest`; `unittest` and doctests; mocking, parametrized tests, and coverage. |\n",
    "| [6. Sequences](../06-collections/0600-collections.ipynb) | Creating and accessing lists; list comprehensions and nested lists; list operators, functions, and methods; `enumerate`, `zip`, and unpacking; aliasing and list arguments; shallow and deep copies; tuples and immutability; tuples as return values and records. |\n",
    "| [7. Dictionaries and Mapping](../07-dictionaries/0700-dictionaries.ipynb) | Creating dictionaries; accessing, updating, and deleting items; membership testing; dictionary comprehensions; counting with `Counter` and `defaultdict`; inverting and sorting dictionaries; hashable keys; sets, set algebra, and frozensets. |\n",
    "| [8. Strings and Text](../08-strings/0800-strings.ipynb) | Escape sequences, indexing, and slicing; string methods for searching, cleaning, splitting, and formatting; comparing and sorting strings; regular expressions with the `re` module; quantifiers, anchors, character classes, and groups; cleaning text and substitution; word frequencies; Markov text generation. |\n",
    "| [9. Object-Oriented Programming](../09-oop/0900-oop.ipynb) | Classes and instances; methods, `__init__`, and properties; `__str__` and `__repr__`; encapsulation and polymorphism; inheritance and method overriding; abstract base classes; comparison methods and operator overloading; dataclasses, class methods, and static methods. |\n",
    "| [10. Functional Programming](../10-functional/1000-func-prog.ipynb) | Pure functions and immutability; functions as values; higher-order functions; decorators; comprehensions and choosing a style; recursion versus iteration; context managers; `reduce`, `partial`, and `lru_cache` from `functools`. |\n",
    "| [11. Iterators & Generators](../11-iter-gen/1100-iter-gen.ipynb) | The iterator protocol; built-in lazy iterators; custom iterator classes; generator functions; generator expressions; infinite sequences and `yield from`; `itertools`; async iteration. |\n",
    "| [12. APIs](../12-apis/1200-apis.ipynb) | Reading an API contract; GET requests with `requests`; query parameters; error handling and safe JSON fetching; POST requests; headers and API keys; nested JSON parsing and pagination; retries with exponential backoff and response validation. |\n",
    "| [13. Abstract Data Structures](../13-abstract-data-structures/1300-abstract-data-structures.ipynb) | Abstract types and implementations; operation tradeoffs; stacks; queues; trees; graphs and graph traversal. |\n",
    "| [14. Algorithms](../14-algorithms/1400-algorithms.ipynb) | Properties of algorithms; the design process; complexity and Big O; benchmarking; linear and binary search; the `bisect` module and hash-based lookup; built-in sorting with key functions; insertion, bubble, merge, and quick sort. |"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2bab7bb7",
   "metadata": {},
   "source": [
    "Each part also has an overview page: {doc}`Part I <../parts/part_01_fundamentals>`, {doc}`Part II <../parts/part_02_data_structures>`, {doc}`Part III <../parts/part_03_program_design>`, and {doc}`Part IV <../parts/part_04_dsa>`.\n",
    "\n",
    "Set up your environment with {doc}`Course Tooling <../appendices/0101-tooling>` and {doc}`Jupyter Setup <../appendices/jupyter/0200-intro-jupyter>` in the appendices before the first lab."
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
