Cmp 104 Final Flashcards
Any piece of information that a method requires in order for it to execute.
Argument
Similar to a list, holds a group of items. Size is fixed, you can’t add any more items when the program is running.
Array
In a List or Array the position number of items start at ___ ?
Zero
When you set a variable it is called a ________ ________.
Variable Assignment
Boolean Values can be either ____ or _____.
True, False.
A mistake that does not prevent the program from running, but gives unintended results. Also called a Logical Error.
Bug
The middle of an object, or where the object rotates from.
Center
A set of specifications that describes a particular type of object. Blueprints of objects.
Class
If a class does not provide a method you need, this is what you make.
Custom Class-Level Method
Usually indicated by #, allows the programmer to make notes in his program’s code.
Comment
A While loop is a ______/________ ________
Condition, Conditional Loop
A mechanism for storing data and organizing it in some way.
Data Structures, example: List, Array
Used to execute a set of instructions at the same time.
Do Together
An action that takes place while an Alice world is playing.
Event
Methods known as ______ ______ perform actions that you want to take place in response to an Event.
Event Handlers
A special type of method that returns a value back to the instruction that called it.
Function
Standard conventions that programmers follow when they create names for objects and methods.
Naming Conventions
This naming convention: ButtsOnFilm
PascelCase
This naming convention: buttsOnFilm.
camelCase
Holds a group of items. Items may be added and removed while the world is running.
List
On the computer you are using.
Local
Any form of basic math.
Math Expression
Actions performed by an Object.
Method
A set of programming statements that an object can execute.
Method