Tuesday, February 24, 2009

End of Term 2

Your project is due today and
your vocabulary sheets of chapter 6 and of chapter 7 have to be handed in.

Monday, February 23, 2009

The Butterfly Chase

Today and tomorrow work on finishing your second Term 2 project: The Butterfly Chase.
The project is due on Tuesday, Feb. 24, 09 which is tomorrow.

Homework

  • Complete your vocabulary of chapters 6 and 7.

Tuesday, February 17, 2009

Repetition Ends Upon Condtion

"While it is not lunch break I am learning new stuff in class", this is what you will experience today: The new stuff we are learning about today is conditional repetition using a While statement. It starts and runs a block of code as long as a condition is true. It stops as soon as the condition is false. So, as long as you are in class you will be learning the new things of section 7.2, but don't forget about your lunch break (as your teacher sometimes does), otherwise learning will never end.
In the lab work on the Butterfly Chase.

Homework

Monday, February 16, 2009

In the Loop

After the end of term test about chapters 4,5 and 6 we are going to repeat an old topic: Using Loops for repetition. This will be the start of chapter 7 about control structures for repeating a block of code. Learn new vocab using the vocab sheet.


In the lab we will be setting up the scene for our new project: The Butterfly Chase where a rabbit chases and finally catches a butterfly that is trying to escape.





Homework

Tuesday, February 10, 2009

Review and Practice


Before the lab starts we will be preparing for our end of term test using the review sheet for chapters 4/5/6.
In the lab you can work on finishing and refining the exercises 2, 6 and another one (out of 7-12) of your choice.





End of Term Test
  • Monday, February 16, 2009

Homework
  • Study for the End of Term Test.

Monday, February 9, 2009

Functions need Practice


After the vocabulary quiz of chapter 6 we will be preparing for our end of term test by starting our review of chapters 4,5, and 6. You can download the review sheet from the review questions section to the right.
The second part of the class will be lab time for the completion of exercises 2, 6 and another one (out of 7-12) of your choice.

End of Term Test
  • Monday, February 16, 2009

Homework

Tuesday, February 3, 2009

Random Numbers

This is the opportunity to learn about an important feature that programming languages have to offer: Random numbers.
Those numbers play an important role when encrypting information and for simulation programs.
In the lab we will be continuing on our exercises.

Homework
  • Complete your vocabulary sheets for chapter 6. The key posted to the right will help you!
  • Study for a chapter 6 vocabulary quiz coming up next Monday, Feb. 9, 2009.

Monday, February 2, 2009

Boolean Functions and If/Else

Today we will learn about an instrument that is a big part of game and simulation programs: The if/else statement that helps you to control the execution in your animations. This statement allows you to perform a number of actions only if certain conditions are met and to perform something else otherwise.
We will also learn about functions that help to make decisions in if/else statements. Those functions are called Boolean Functions. They return a TRUE or FALSE value.
We will observe how these powerful weapons can help improving the known bugs of the Zeus' Wrath animation. Zeus then will no longer be able to strike any object and will laugh at us if we want him to strike a philosopher twice.

In the lab you will be working on exercise 6 on page 199 of the textbook. This exercise takes the animation even a step further: The philosophers start talking and Homer gains immunity against Zeus' strikes.


Homework
  • Read section 6.2, pages 178-191
  • Answer the review questions 6.2.