Help us!

Take some time to transcribe PyCon 2014 talks! Click on the "Share" button below the video and then "Subtitle" to get started.

Python and Robots: Teaching Programming in High School

Description

Python and Robots: Teaching Programming in High School

Presented by Vern Ceder

Combining Python with inexpensive robots is a very effective way of teaching programming at the middle and high school levels. Since Python is easy to understand a constructivist approach is possible - students learn by creating and running simple programs, observing the results, and then modifying their code to fix bugs and add functionality.

Abstract

The approach suggested in this talk is partly based upon that developed at the Institute for Personal Robots in Education (http://wiki.roboteducation.org) by staff from Georgia Tech and Bryn Mawr, combined with my own experiences teaching programming with Python as described in my talk "Goodbye, Hello World: Rethinking Teaching with Python", PyCon 2007, and my subsequent talks at NECC.

Because students are able to see what their code is doing and because Python is easy to understand, students can explore simple programming concepts, learning features as they need them. This approach increases both student engagement and retention. It also seems that this approach is more appealing to girls than a more traditional programming class.

I'll illustrate my talk with samples of code created by students and video of the students/robots in action.

Outline

Introduction - school background, course structure, origin of approach

Hardware and computer setup used

Initial exercises and first projects

  • Control of robot
  • Program as sequence of commands
  • Basic programming concepts - looping, branching, functions

Advanced projects

* obstacle detection 
* image processing 
* simple AI approaches

Pitfalls and strategies for using robots

Questions and Suggestions