CSSE 120
Spring 2015-2016 (aka 201630)
Introduction to Software Development (with robotics)
Session 2 Preparation — Videos, Reading and Quizzes

Quiz

Go to Moodle to find the Quiz for this Preparation.

Do the quiz as you watch the videos and do the reading. The quiz follows the same order as the videos/reading do.

You can access the videos from here or from Moodle; they both point to the same place.

Videos and Reading:

All of the following are required except items labeled Optional are, well, optional (i.e., things that may be interesting but do not directly pertain to your success in this course).

  1. Introduction to FunctionsVideo [10:51 minutes]
    • This is the SAME video that you watched in your Preparation for Session 1.
    • Watch it again!
    • This time, also look at the modules m4e_functions.py and m5e_turtles_in_functions.py while you are watching the video.
      • m4e_functions.py is a module with the same code as in the video.
      • Make sure you understand the use of function calls in m5e_turtles_in_functions.py. Bring your questions about that to class!
  2. Calling Functions with ArgumentsVideo [3:44 minutes]
    • The preceding video explained how a program's flow of control changes when a function call occurs.
    • This video explains the flow of information that occurs during a function call.
  3. Coding to a Specification Video [4:23 minutes]
    • You will apply the ideas of this video in all subsequent exercises in this class (and beyond).
  4. Object Oriented Programming (OOP) Video [7:47 minutes]
    • This video explains the concept of Object Oriented Programming, contrasting it with Procedural Programming.
  5. Classes — what objects know (in instance variables) and what they can do (via methods)Video [7:49 minutes]
    • The previous video introduced the concept of Object Oriented Programming (OOP).
    • This video explains the programming constructs that embody OOP — classes, objects, instance variables and methods.
  6. Objects and Classes – Using Objects Video [20:00 minutes]
    • This video extends the concepts from the previous videos to show how a software developer uses objects to be more productive.
  7. Experiments in the PyDev Console:
    • In Eclipse, open a PyDev Console:
    • Then do the quiz questions associated with this section of your preparation. As you do so, type expressions in the PyDev Console as needed to answer the questions.