Computer Science 210
Data Structures
Fall 2017, Siena College
Agenda
Due at the start of class, Friday, September 29.
Please submit answers to these questions in Blackboard under "Lecture 09 Assignment" by the start of class. We will discuss these questions at the start of class, so no late submissions can be accepted.
Your task is to take a printed copy of the Matrix2D
example, and identify one example of each of the following. Please
identify only one of each, and identify it by circling your entire
response (so if it's asking for a method definition, you'd circle
everything from "public" to its close "}
") and label
the circle with the item number from the list below. Note that on the
exam, there will not be any comments that give away answers.
(i) a method name, (ii) an object construction, (iii) an assignment statement, (iv) an array index, (v) an accessor method definition, (vi) a formal parameter, (vii) an instance variable declaration, (viii) a method call, (ix) an actual parameter, (x) a constructor definition, (xi) a method header (also known as a method signature), (xii) a mutator method, (xiii) a class comment, (xiv) a method's return type definition, (xv) a class name, (xvi) a local variable declaration.
This is worth 16 points, one for each you properly identify. You may submit this as a picture in Blackboard, or hand in a paper copy (with your name on it, of course) at the start of class on the due date.
Terminology
Examples