01 Getting Started Flashcards
micro-world
miniature simulated environment that is populated with one or more objects with clearly defined behaviors, and that can be visually represented so that you can see how the objects move around and behave over time.
origin of cart. coordinates
(0,0). top left corner.
program
set of instructions for a computer
source code
program is written by a programmer in some programming language
compiler
translates a program, as a whole, from one form to another.
interpreter
translates a program into machine language one statement at a time
algorithm
a plan for solving a problem
object
represents a specific concept or item that is relevant to the problem we are trying to solve
behavior
an action that an object can take or a task that it can perform in response to a request from an external source
method
a collection of statements that are written in some programming language to describe a specific behavior
precondition
a method is something that is assumed to be true before the method is invoked
postcondition
a method is something that is assumed to be true after the method has been executed
message
a request for a specific object to perform a specific task
class
a family of objects that all understand the same methods
instantiation
Creating a new object