# Boolean Expressions

Name ______________________

Assume the following:

    int k = 10;
    int j = 6;
    boolean b = true;

Show what is printed by each of the following statements.

1. __________ `System.out.println( 1 > 2 );`
2. __________ `System.out.println( b );`
3. __________ `System.out.println( k > j && j != 5 );`
4. __________ `System.out.println( j < k && k == 10 );`
5. __________ `System.out.println( k/2 >= j && j/2 == 3 );`
6. __________ `System.out.println( k > k && j == 7 );`
7. __________ `System.out.println( k > j || j != 5 );`
8. __________ `System.out.println( j < k || k == 10 );`
9. __________ `System.out.println( k/2 >= j || j/2 == 3 );`
10. __________ `System.out.println( k > k || j == 7 );`