Related Links

More Cool Stuff

Python AWE 2014

  • For students in grades 7-8
  • Course Description: Learn to design and build computer programs with Python, a fast growing computer language and an important part of the development of Google. Aside from commercial applications, Python is used for prototyping and for tying together modules of Java code or C++ code into a single application.

    To learn more about Python: http://www.python.org/

  • Requirements: A math or reading score at the 95% or higher on a nationally normed test such as the ISATs or NWEA MAPs.
  • Course Dates: March 15, 2014 - March 16, 2014 09:00 AM - 02:30 PM
  • Location: Evanston, IL
  • view syllabus

After this course

The mini-projects in this course were taken from an online course offered by Joe Warren at Rice University. The course is called An Introduction to Interactive Programming in Python, and it's being offered again on March 24. The course is free, and you can participate as much or as little as you want.

You might also want to check out some of the links on the left hand side of this page.

Finally, there are a number of programming courses (and other cool courses) offered by the Center for Talent Development. These include online courses through GLL, the Saturday Enrichment Program, and the Summer Program. Students in the summer program have the option of commuting or staying on campus in a residence hall.

Day 2

This morning, there are some videos you should check out to prepare for your pair programming activity.

If you haven't had a chance to write any functions or conditionals yet, you should work through these videos:

Everybody should work through these videos:

Your first pair programming assignment is Rock-Paper-Scissors-Lizard-Spock

Below is a video description of the project, which was developed at Rice University by Joe Warren and colleagues

Here is your template for Rock-Paper-Scissors-Lizard-Spock

During your pair programming activity, this project description should be on the navigator's screen

Guess the Number

Your final project is Guess the Number. You can do this as an individual activity or with a partner.

I prepared a playlist of videos to help you get ready for this project.

Here is the template for Guess the Number

Here is your project description for Guess the Number

Day 1

Different students generally come to this course with different levels of experience. Find a level that suits you. The goal for Saturday morning is to become familiar or more proficient with the following:

  • Assignment (=) and Equality (==) operators
  • if/elif/else statements
  • Functions
  • The CodeSkulptor environment
  • random.randrange()
  • The modulo (%) operator (sometimes called the modulus operator)

Level 0 - No Programming Experience

If you haven't done any programming before or just want a refresher, a good place to start is with CodeAcademy. To prepare for this afternoon's assignment, you should work through the sections on Python Syntax, the Tip Calculator, Strings & Console Output, Date and Time, Conditionals and Control Flow, and Functions.

Level 1 - Some Programming Experience (but not with Python)

If you have some programming experience, try Google's Python Class. According to the site, "[this] class is geared for people who have a little bit of programming experience in some language, enough to know what a "variable" or "if statement" is. Beyond that, you do not need to be an expert programmer to use this material."

Use CodeSkulptor to work the exercises so you'll be able to use it in upcoming classroom projects.

Level 2 - Python Experience

If you're familiar with Python but just need some practice, you could check out CodingBat/Python. Work through any of the Warmup, Logic, or String exercises.

You can also try building and running some Python code with CodeSkulptor.

All Levels

Whatever your level, you'll also need to be familiar with the following:

Pair Programming

Pair programming is an important skill for programmers that is widely used in professional and academic settings. We'll watch the pair programming video together on Saturday afternoon.