Archive for the ‘assignments’ Category

Class 10. Summer 2012

Monday, June 18th, 2012

Assignment due by Thursday.

Write a program that produces an animation in a window of at least two ‘bouncing balls’ so that it appears that each shape bounces off the sides of the window and that they also ‘bounce’ off of each other when they collide. Have the balls change color when they  bounce off the  edges of the window. For up to 10 extra points have them change color and change speed on each bounce. Want more points? Do more balls, more special effects, use mixed shapes – circle, triangle, oval…. Impress me.

Discussion problem:

Three numbers are given as input and labeled x,y, and z.

Write an algorithm to find the maximum of the three.

Some review quizzes for Chapters 6, 7 & 8

Class 9. Summer 2012

Wednesday, June 13th, 2012

Ted Talk

Continue with Chapter 6

Go over #11 in the programming exercises

Note that we’ve seen the face-maker programming exerciser

Here is the ‘anonymizer’ program and some data files:

How do we change this so it will handle more than one face??

Animation programming assignment.

Class 3. Summer 2012

Wednesday, May 23rd, 2012

Downloading and installing Python on your computer.


Miniaturization & the interface – Pattie Maes demos the Sixth Sense | Video on

Lab work:

  • Exercise 2, Page 53
  • Exercsie 3, Page 53
    • Modify with a loop so it converts 5 values before quitting

Chapter 2 Summary

A couple of videos regarding eWaste.

Quiz about material in Chapter 2.  Complete in 15 minutes – you may use the lab and/or your book.

Quiz on Chapter 2

Intro to Chapter 3 – read Chapter 3.

HW for Chapter 3 – Due Wednesday, May 30, 2012

HW Due from Chapter 3

Sunday, May 20th, 2012

Title: HW from Chapter 3
Description: HW Due from Chapter 3. Do two programming exercises on pages 76 – 78. Your choice of one from 7, 9,10 and one from 14 – 17.

Summer 2012. First Class

Wednesday, May 16th, 2012

In class we will discuss

How about you retrieve and print the following? Read it when you have the chance. It contains the code for the combination lock on this lab. You’ll need it after 5 PM

A discussion of Algorithms and Computers. See the presentation at

Our first visit to computer lab.


  • For next class
    • Answer the items in Questions1 online. Complete the answers for each item, and click submit.
    • Read first two chapters of the textbook.
  • For Wednesday
    • Turn on your source program and answers to questions from “Our first visit to computer lab.”  This can be as an attachment to an email to

ernestackermann AT

replace AT with @  and delete spaces