DeMorgan'sLawshow todistribute anegation overa complexconditional&&both partsmust be trueto executethe block ofcodenesteda loop insideanother, or aconditioninsideanothertracingwriting downthe values ofvariables asa loopexecuteslogicerrorcode compilesand runs, butdoesn't dowhat'sintendedwhileloopused whennumber ofiterations isdetermined bya conditionMainMethodWhereexecutionstarts in aJavaprograminfiniteloopa loopthat neverendsbodythe block ofcode thatexecutesinside a loopdatatypeint, String,double,boolean,etc.Castingchanging thetype of avariableusing(type)namenegation!turns a truestatementfalse and afalsestatement true initializinga variableassigninga valuefor thefirst timedeclaringavariablespecifying aname andtype, andallocatingmemory for itelseifused whenthere aremore than 2possibleoutcomesout ofboundserrora run-time errorthat happenswhen the programtries to go past theend of a string orarrayBooleanexpressionA mathematicalor logicalexpression thatis either true orfalse. syntaxerrorcode doesn'tcompilebecause offormatrun-timeerrorwhen the codecompiles, but aproblemhappens as itsrunning%Theremainderoperator(modulo)loopastructureforiteration||either partcan be trueto executethe block ofcodeforloopused whenwe knowhow manytimes toiteratewhen only half acompound conditionalis evaluated, becausethe outcome is alreadydetermined (if first ofAND is false, or first ofOR is true)shortcircuitevaluationDeMorgan'sLawshow todistribute anegation overa complexconditional&&both partsmust be trueto executethe block ofcodenesteda loop insideanother, or aconditioninsideanothertracingwriting downthe values ofvariables asa loopexecuteslogicerrorcode compilesand runs, butdoesn't dowhat'sintendedwhileloopused whennumber ofiterations isdetermined bya conditionMainMethodWhereexecutionstarts in aJavaprograminfiniteloopa loopthat neverendsbodythe block ofcode thatexecutesinside a loopdatatypeint, String,double,boolean,etc.Castingchanging thetype of avariableusing(type)namenegation!turns a truestatementfalse and afalsestatement true initializinga variableassigninga valuefor thefirst timedeclaringavariablespecifying aname andtype, andallocatingmemory for itelseifused whenthere aremore than 2possibleoutcomesout ofboundserrora run-time errorthat happenswhen the programtries to go past theend of a string orarrayBooleanexpressionA mathematicalor logicalexpression thatis either true orfalse. syntaxerrorcode doesn'tcompilebecause offormatrun-timeerrorwhen the codecompiles, but aproblemhappens as itsrunning%Theremainderoperator(modulo)loopastructureforiteration||either partcan be trueto executethe block ofcodeforloopused whenwe knowhow manytimes toiteratewhen only half acompound conditionalis evaluated, becausethe outcome is alreadydetermined (if first ofAND is false, or first ofOR is true)shortcircuitevaluation

JAVA VOCABULARY through Chapter 4 - Call List

(Print) Use this randomly generated list as your call list when playing the game. There is no need to say the BINGO column name. Place some kind of mark (like an X, a checkmark, a dot, tally mark, etc) on each cell as you announce it, to keep track. You can also cut out each item, place them in a bag and pull words from the bag.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  1. how to distribute a negation over a complex conditional
    DeMorgan's Laws
  2. both parts must be true to execute the block of code
    &&
  3. a loop inside another, or a condition inside another
    nested
  4. writing down the values of variables as a loop executes
    tracing
  5. code compiles and runs, but doesn't do what's intended
    logic error
  6. used when number of iterations is determined by a condition
    while loop
  7. Where execution starts in a Java program
    Main Method
  8. a loop that never ends
    infinite loop
  9. the block of code that executes inside a loop
    body
  10. int, String, double, boolean, etc.
    data type
  11. changing the type of a variable using (type)name
    Casting
  12. turns a true statement false and a false statement true
    negation !
  13. assigning a value for the first time
    initializing a variable
  14. specifying a name and type, and allocating memory for it
    declaring a variable
  15. used when there are more than 2 possible outcomes
    else if
  16. a run-time error that happens when the program tries to go past the end of a string or array
    out of bounds error
  17. A mathematical or logical expression that is either true or false.
    Boolean expression
  18. code doesn't compile because of format
    syntax error
  19. when the code compiles, but a problem happens as its running
    run-time error
  20. The remainder operator (modulo)
    %
  21. a structure for iteration
    loop
  22. either part can be true to execute the block of code
    ||
  23. used when we know how many times to iterate
    for loop
  24. short circuit evaluation
    when only half a compound conditional is evaluated, because the outcome is already determined (if first of AND is false, or first of OR is true)