1. The boolean Type
    1. statements
      1. boolean text1 = true;
      2. test1 = text2
      3. test 3 = (3*100 < 250);
    2. logical operators
      1. NOT
      2. AND
      3. OR
    3. Short-Circuited Evaluation
  2. Fencepost Algorithms
    1. Add initial output outside the loop
      1. if/else to this initial
      2. or double test
    2. Sentinel Loops
      1. end input signal
  3. The while loop
    1. indefinite loops
      1. update step
    2. scope of variable
    3. pseudorandom numbers
      1. Math.random()
      2. Class Random (in java.util)
        1. nextInt(10);
        2. nextDouble();
        3. nextBoolean()
      3. save the random, if use again
    4. Priming a loop
    5. do..while
      1. adapt to the prog you know you want to exe at least once