HW 9/19 RE-READ CH 1-3 7.1-7.4 pp. 101-106 CH 4 p. 58 suffolk.li/cest112/intro.html function () "method" procedure subprogram subroutine setup() draw() hexadecimal (00 - 99 -FF) int = integer int j, k, n, v; float ballx, zoogx, j = 5 ballx = 57.36; j = j+1 zoogX= ballx + 50; zoogX= j; float (32bits) 6 or 7 decimals double (64bits) long double (128bits) int (16bits, 32bits - 2 billion limit) long (int) short (int) String (string of CHARacters) "hello" "A" " " char 'A' 'B' 'C' float and int are for numbers string and char are for characters or letters boolean - two values - q; q = true/false variable type | name float ballX rectMode (center); (constant 3??) PI Ball method | function draw, scene, show, setup, etc. 3 / 16 = 15 REM 1 in JAVA integer division = / QUOTIENT integer remainder = % MODULUS x = x + 1 (x is the old value of x) ex. was 7 therefore x = x + 1, if x was 7 then x = 8 > >= <= < == != dd ll << >> (used to move bits ^^) = (ASSIGNMENT OPERATOR) destroys value in the cell of x and replaces it use == to check actual balance or equality FDA - finite determinate automaton Syntax | Semantics // NOTE ; ENDING LINE foo( ); "call "invoke method "execute FUNCTION (ARGUMENTS) foo = abbrv. of BLOCK - ex. void scene, void draw, etc. void foo() { BLOCK1 TWO THREE } declaring variables (all varibs. must have TYPE and NAME) - float(