02)questions(solved &
verified for accuracy)
program - answer a set of instructions for a computer
source code - answer program is written by a programmer in some
programming language
compiler - answer translates a program as a WHOLE, from one to
another
interpreter - answer translates a program into machine language
one statement at a time
example of interpreter - answer LightBot
algorithm - answer plan for solving a problem
micro-world - answer A miniature simulated environment that is
populated with one or more objects
object-oriented programming - answer ____ is a style of
programming that involves representing items, things, and people
as objects rather than basing the logic around actions.
object - answer represents a specific concept or item that is
relevant to the problem we are trying to solve
, attributes - answer facts
methods - answer tasks
behavior - answer an action an object can take or a task that is can
perform in response to a request from an external source
method - answer a collection of statements that are written in
some programming language to describe a specific behavior
precondition - answer (for a method) something that is assumed to
be true before the method is invoked
postcondition - answer (for a method) something that is assumed
to be true after the method has been executed
class - answer a family of objects that all understand the same
methods
instantiation - answer creating a new object
declaration - answer a new named introduced in a program
message - answer a request for a specific object to perform a
specific task
sending a message = ? - answer invoking the method
name.move() - answer (LB) robot moves forward one square