CIS 1068 FIVE MINUTE TEST #3 February 9, 2010 (6) 1. Write Java expressions that represent the following assertions (a) The integer x is divisible by 5 or by 7 (b) The string v occurs in the string s (c) The strings s and v are equal (9) 2. Define the overflow and round off errors (5) 3. Replace the following for loop by an equivalent while loop for (int k = 12; k >3; k--) System.out.println(x); (15) 4. Implement the method public static int count(String s, String v) which returns the number of occurrences of v in s.