Python Programming Grades 11 to 12
Python Programming Grades 11 to 12 is a 12-week course in real Python for students who already know the basics from Code Crew: Mission Commander. Comet, Wren and Nova build FieldSim, a made-up rover simulator: a rover drives a grid test field, collects samples and keeps a catalog. Students write classes with constructors, instance variables and methods, protect an object's state, connect objects, work with 2D grids, test with assert, use inheritance, search and sort the catalog, and write recursive functions, tracing each program by hand before running it. The last two weeks show the same programs in Java to read and trace. It prepares for the ideas in AP Computer Science A and practices CSTA Level 3A and 3B standards; it is not an AP course and is not affiliated with College Board. Plan on about 30 minutes a session in IDLE, the editor that comes with Python. 100% free, start to finish.
- Write classes with constructors, instance variables and methods
- Protect an object's state and connect objects that work together
- Store and walk a 2D grid with nested loops
- Test code with assert and fix bugs from a traceback
- Search and sort a list, and compare how much work each takes
- Write and trace recursive functions, then read the same code in Java