Term
|
Definition
Integrated Development Environment (e.g. Netbeans)1 |
|
|
Term
|
Definition
names in a programming language (e.g. variables, class names, method names) |
|
|
Term
|
Definition
|
|
Term
|
Definition
string/glue together (use '+') |
|
|
Term
|
Definition
give curly braces their own lines (as opposed to end-of-line style) |
|
|
Term
|
Definition
either true or false (a boolean expression can also be called condition, conditional expression, binary expression) |
|
|
Term
|
Definition
return true or false but the operands are not boolean (aka Java comparison operators) ex: ==, <, >= |
|
|
Term
|
Definition
return true or false and the operands are both boolean values (aka logical operators) ex: &&, ||, ! |
|
|
Term
|
Definition
statements that control the next step the program will take |
|
|
Term
|
Definition
straight line, step-by-step |
|
|
Term
|
Definition
branching (ex if, if-else, switch) |
|
|
Term
|
Definition
looping (ex while, do for) |
|
|
Term
|
Definition
variable doesn't change/stop, so the loop goes continuously |
|
|
Term
|
Definition
loop goes one too many/few times, caused by using the wrong bounds |
|
|
Term
dependent nested for loop |
|
Definition
loop within loop & inner loop depends on outer |
|
|
Term
|
Definition
variable varName = console.readInt("lbahe: "); |
|
|
Term
how to make a variable a constant (also what case should constant be?) |
|
Definition
final double PI = 3.14159 SHOULD_BE_CAPS |
|
|
Term
|
Definition
translates written code into something computer can read |
|
|
Term
|
Definition
syntax, semantics (runtime & logic) |
|
|
Term
|
Definition
error in the grammar of the program (e.g. forgot a semicolon) |
|
|
Term
|
Definition
|
|
Term
|
Definition
program works but produces the incorrect result |
|
|
Term
numerical data types in order of big to small |
|
Definition
byte, short, int, long (floating:) float, double |
|
|
Term
|
Definition
(a=x^y) a = Math.pow(x,y); |
|
|
Term
post-increment vs pre-increment |
|
Definition
post: i++, evaluate with old value, then change i pre: i--, update i before preforming expression |
|
|
Term
System.out.printf("%4.2f", var); |
|
Definition
%=start here 4=width of thingy .2=precision of thingy var= variable |
|
|
Term
|
Definition
double someVar = 12.3; int otherVar = (int)someVar; |
|
|
Term
|
Definition
don't use 'em unless for switch statement |
|
|
Term
|
Definition
import java.util.Scanner;
Scanner scan = new Scanner(System.in); System.out.print("ENter: "); int heyThere = scan.nextInt(); |
|
|
Term
|
Definition
assignment defines as new thing, comparison compares them like in if statement doesn't give new def. |
|
|