IB Computer Science 1
From WLCS
Contents
Wednesday (11/16/11)
Warmup:
- Define a function named printEvens(a, b) that takes two parameters
- Inside the function, write a loop that prints out all the even numbers from a up to b
- Test your function by making a function call to print the even numbers from 20 to 60
Agenda:
- Closed-everything quiz on the above warmup on Friday (11/18/11)
- Turtle animations
- Turtle gaming
Monday (11/14/11)
Agenda:
- Carney, Inc. - JamTech - Saturday, December 3rd, 2011
- Etch-a-Sketch - Create a program that uses the arrow keys to draw pictures
- Drop the pen down
- Respond to the keyboard arrows to draw
- Respond to the keyboard's "space" key to clear the screen
- Hint: If you can't remember how to clear the screen, look for the command in the Python Turtle Documentation
Wednesday (11/9/11)
Warmup:
- What does the following expression evaluate to? ((2**4)-5*4/2)
Agenda:
- Return and review 1st Quarter Exams
- mainloop() & responding to the keyboard
- Etch-a-Sketch - Create a program that uses the arrow keys to draw pictures
- Drop the pen down
- Respond to the keyboard arrows to draw
- Respond to the keyboard's "space" key to clear the screen
- Hint: If you can't remember how to clear the screen, look for the command in the Python Turtle Documentation
Friday (11/4/11)
Warmup:
- Create a smiley face polygon
- Change the turtle to be the smiley face
- Make the turtle move around the screen as the smiley face
Agenda:
- mainloop()
- Responding do the keyboard
Wednesday (11/2/11)
Agenda:
- 1st Quarter Exam: Part 2
- Advanced Turtling
- Changing the turtle's look - Turtle - Changing Shape
- mainloop()
- Responding do the keyboard
- Multiple turtles