Term
|
Definition
IDENTIFIERS ARE SPECIAL NAMES FOR PROGRAMMING ENTITIES SUCH AS VARIABLES, CONSTANTS, METHODS, CLASSES, AND PACKAGES |
|
|
Term
AN IDENTIFIER MUST START WITH _____, ______, OR A _______,.
IT CANNOT START WITH A ________ |
|
Definition
LETTER, UNDERSCORE, DOLLAR SIGN
DIGIT |
|
|
Term
WHAT ARE VARIABLES USED FOR? |
|
Definition
TO STORE DATA IN A PROGRAM |
|
|
Term
WHAT IS THE PURPOSE OF
VARIABLE DECLARATION? |
|
Definition
SO THAT THE COMPUTER CAN ALLOCATE THE APPROPRIATE MEMORY SPACE FOR THE VARIABLE BASED ON ITS DATA TYPE |
|
|
Term
IF VARIABLES ARE OF THE SAME _____ THEY CAN BE DECLARED TOGETHER |
|
Definition
|
|
Term
BY CONVENTION VARIABLE NAMES ARE WRITTEN IN ________ |
|
Definition
|
|
Term
WHAT IS THE ASSIGNMENT OPERATOR? |
|
Definition
|
|
Term
AN _____ REPRESENTS A COMPUTATION INVOLVING VALUES, VARIABLES, AND OPERATORS THAT, TAKEN TOGETHER EVALUATES TO A VALUE |
|
Definition
|
|
Term
A VARIABLE IN A METHOD MUST BE ASSIGNED A _____ BEFORE IT CAN BE USED |
|
Definition
|
|
Term
WHENEVER POSSIBLE _____ A VARIABLE AND ASSIGN ITS VALUE IN ONE STEP |
|
Definition
|
|
Term
PERMANENT DATA THAT NEVER CHANGES IT REPRESENTED BY A ______ |
|
Definition
|
|
Term
BY CONVENTION CONSTANT ARE WRITTEN IN ________ |
|
Definition
|
|
Term
WHAT ARE THE SIX
NUMERIC DATA TYPES? |
|
Definition
BYTE
SHORT
INT
LONG
FLOAT
DOUBLE |
|
|
Term
WHAT IS THE STORAGE SIZE OF
BYTE |
|
Definition
|
|
Term
WHAT IS THE STORAGE SIZE OF
SHORT |
|
Definition
|
|
Term
WHAT IS THE STORAGE SIZE OF
INT |
|
Definition
|
|
Term
WHAT IS THE STORAGE SIZE OF
NUMERIC DATA TYPE
LONG? |
|
Definition
|
|
Term
WHAT IS THE STORAGE SIZE OF
NUMERIC DATA TYPE
FLOAT |
|
Definition
|
|
Term
WHAT IS THE STORAGE SIZE OF
NUMERIC DATA TYPE?
DOUBLE |
|
Definition
|
|
Term
WHEN A VARIABLE IS ASSIGNED A VALUE TO LARGE TO BE STORED IT CAUSES AN _______ |
|
Definition
|
|
Term
A _____ IS A CONSTANT VALUE THAT APPEARS DIRECTLY IN A PROGRAM |
|
Definition
|
|
Term
ADDITION ASSIGNMENT
i += 8
IS EQUIVALENT TO |
|
Definition
|
|
Term
SUBTRACTION ASSIGNMENT
i -= 8
IS EQUIVALENT TO |
|
Definition
|
|
Term
MULTIPLICATION ASSIGNMENT
i *= 8
IS EQUIVALENT TO |
|
Definition
|
|
Term
DIVISION ASSIGNMENT
i /= 8
IS EQUIVALENT TO |
|
Definition
|
|
Term
REMAINDER ASSIGNMENT
i %= 8
IS EQUIVALENT TO |
|
Definition
|
|
Term
WHAT DOES THE OPERATOR
++var
PERFORM |
|
Definition
PREINCREMENT THE VARIABLE var
INCREMENT var BY 1 AND EVALUATE THE NEW VALUE IN var AFTER THE INCREMENT |
|
|
Term
WHAT DOES THE OPERATOR
var++
PERFORM |
|
Definition
POSTINCREMENT
EVALUATE THE ORIGINAL VALUE IN var AND INCREMENTS var BY 1 |
|
|
Term
WHAT DOES THE OPERATOR
--var
PERFORM |
|
Definition
PREDECREMENT
DECREMENT var BY 1 AND EVALUATES TO THE NEW VALUE IN var AFTER THE DECREMENT |
|
|
Term
WHAT DOES THE OPERATOR
var--
PERFORM |
|
Definition
POSTDECREMENT
EVALUATES TO THE ORIGINAL VALUE IN var AND DECREMENTS var BY 1 |
|
|
Term
|
Definition
CASTING IS AN OPERATION THAT CONVERTS A VALUE OF ONE DATA TYPE INTO A VALUE OF ANOTHER DATA TYPE |
|
|
Term
CASTING DOES NOT _____ THE VARIABLE BEING CAST |
|
Definition
|
|
Term
A CHARACTER LITERAL IS ENCLOSED IN ______ QUOTATION MARKS |
|
Definition
|
|