CSC 211 -- Java Programming I PRACTICE MIDTERM A 1. Define the following terms: a. Java Byte Code. b. Structured Programming. c. Address. d. Assignment Operator. 2. What happens when you run this Java program? public class Test { public static void main(String[] args) { for(int x = 2; true; x *= x) System.out.println(x); } } 3. Write a Java program that reads a string and then prints out the number of vowels in the string. You can use the following String method call to convert the input string to upper case: convertedString = inputString.toUpperCase(); 4. Write a Java program that inputs four integers and prints out the minimum and the maximum of the four integers. Hint: Use the method calls Math.min and Math.max that find the minimum and maximum of two numbers at a time.