Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
9 Cards in this Set
- Front
- Back
Structure theorem
|
states that any program can be written using the Sequence, Selection, and Repetition structures.
|
|
Collating sequence
|
compares string and character data.
|
|
Relational expression
|
A Boolean expression that compares two values of the same data type.
|
|
Identifier
|
Name of a programming element such as a class, object, attribute, method, variable, or constant.
|
|
ASCII
|
A specialized collating sequence code that has assigned values to certain characters.
|
|
Types of methods
|
Accessor, Mutator, Constructor, Manager, Helper
|
|
Constructor method
|
Establishes an object, performs set-up and initializes attributes. When an object is instantiated (created), the constructor is called automatically. All constructors have parameters except default methods. Constructors have the same name as the class and DO NOT have a return type (not even void), and are ALWAYS public. A class may have several constructors and they are usually the first methods in a class.
|
|
Manager method
|
Initialize data members (constructors) and keep the program clean.
|
|
Helper methods
|
Support other methods and check for errors.
|