Programming for non-majors – Unit 8

Learning Outcomes

  • Construct a scene
  • Develop a recursive method
  • Demonstrate Boolean functions
  • Modify object properties

To Do List

  1. Read Chapter 8
  2. Watch lecture video
  3. Watch assignment video
  4. Complete assignment
  5. Complete chapter 8 quiz
  6. Complete Final Project

Reading

  • Chapter 1 – Getting started with Alice

Videos

Recursion

Assignment

Summary:

Have a turtle swim to an island and jump onto the island right before a shark attacks using recursion.

Total points: 100

Instructions:

  1. Add a shark, turtle, island, sky environment, and 6 other objects (fish, birds, decorations, etc) (1 point each)
  2. Set the shark property of Is Showing to false (5 points)
  3. Have the turtle face the island (5 points) and swim to within 5 meters of the island (5 points) using a recursive method (10 points)
  4. Have the shark appear (switch Is Showing to true) (5 points)
  5. Have the shark face the turtle (5 points) and swim to the turtle (5 points) using a recursive method (10 points)
  6. Create a method so that the turtle jumps on the island when the shark is within 2 meters (10 points)
  7. Construct (10 points) and demonstrate (10 points) another recursive method of your own creation.
  8. Comment all parts of your program (10 points)
  9. Submit your Alice project file through Blackboard (or Epic for Academic Partnership students).

Final Project

Details of the Final Project will be available through Blackboard (or Epic for Academic Partnership students).

Exam

Login to Blackboard (or Epic for Academic Partnership students) and take the Chapter 8 quiz.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: