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.

Quiz

Login to Blackboard and take the Chapter 8 quiz.

No comments:

Post a Comment