The Joy of Code - Random Motion - open the trick-the-turtle file you downloaded yesterday.
Section 3: Lesson 3 -
Source Code and Documentation vocabulary:
- Multiple methods executed by Greenfoot in the order in which they are written in the program.
-
Tells the object which methods to perform, and in what order.
-
Describe what the code does to other humans.
Greenfoot does not read it, nor does it impact the functionality of the program.
-
The analysis process where Java technology programmers analyze a problem and then create objects to build a system, or more specifically, to solve the problem.
-
Statement written to tell your program to execute a set of instructions only if/when a certain condition is true.
-
A set of comments that the programmer can modify to let others who view the source code know what the class is, what it does, the author of the code, and the date it was last modified.
Complete Section 3: Lesson 3 -
Source Code and Documentation slides.
Complete Section 3: Lesson 3-
Source Code and Documentation practice and project.
Show these to your instructor for teacher check.
Reading Section 3: Lesson 4 -
Developing and Testing an Application slides is homework.
Complete Section 3: Lesson 5 -
Randomization, Dot Notation and Constructors slides.
Complete Section 3: Lesson 5-
Randomization, Dot Notation and Constructors practice and project.
Show these to your instructor for teacher check.
Section 3: Lesson 5-
Randomization, Dot Notation and Constructors vocabulary:
- A technique that allows a class to use a method from another class or object. The dot between the class/object name and the method name indicates that the method comes from a different class or object.
-
A special kind of method that is automatically executed whenever a new instance of the class is created.
-
A keyword that indicates that a new object is being created.
-
Symbols that compare two random values in a method.