Programming for non-majors – Unit 4

Learning Outcomes

  • Develop a method
  • Demonstrate parameters
  • Demonstrate commenting
  • Construct a scene

To Do List

  1. Read Chapter 4
  2. Watch lecture videos
  3. Watch assignment video
  4. Complete assignment
  5. Complete chapter 4 quiz
  6. Complete midterm project

Reading

  • Chapter 4 – Classes, Objects, Parameters and Methods.

Videos

Assignment

Flying a blimp

Summary:
Create methods and parameters to fly a blimp.

Total points: 100

  1. Add a blimp, a person and 3 scenery objects (10 Points)
  2. Have the person tell the blimp it is OK to take off. (10 Points)
  3. Create a method for the blimp called “lift off”(5 Points). The method should contain a loop to lift the blimp up. (10 Points)
  4. Create a method for the blimp called “spin”(10 Points). Add a parameter to this method called “number of spins”(10 Points). The spin method should rotate the blimp a number of revolutions indicated by the parameter(10 Points). If the parameter is greater than 2, then have the blimp say “I’m getting dizzy”. (10 Points)
  5. Create a method for the blimp called “land”(5 Points). The method should contain a loop to land the blimp. (10 Points)
  6. Include commenting for your program and methods. (See Page 42) (10 Points)
  7. Login to Blackboard (or Epic for Academic Partnership students) and submit your Alice project file.

Midterm Project

I will announce project details through Blackboard (or Epic for Academic Partnership students).

Exam

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

Advertisements

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: