Name: Enter name here Period: Enter period here Data Types and Operators 1. Explain the difference between System.out.print and System.out.println Answer here 2. What is the escape sequence to print a backslash? Answer here 3. Give me one rule when it comes to naming identifiers: Answer here 4. List all 4 primitive (numeric) data types that store integers: Answer here 5. List the 2 primitive (numeric) data types that store floating point numbers (decimals): Answer here 6. Which of the following declarations is incorrect? Choose an item. 7. Explain what is wrong with the following line of code: int days = 100,000; Answer here 8. Which of the following is an incorrect way to declare and initialize a variable? Choose an item. 9. How many possible values can a Boolean variable have? Answer here 10. The char data type is used to store what kind of data? Choose an item. 11. What is the set of numbers that are used as codes for representing characters called? Answer here 12. Why is the following variable assignment incorrect? 15 = x; Answer here 13. Is the following variable declaration valid or invalid? int c = 8, y =10, x, v=2 Choose an item. 14. How many operands does a ternary operand require? Answer here 15. What is the arithmetic operator for Division? Answer here 16. Which of the following is an incorrect example of using an Arithmetic Operator? Choose an item. 17. What does the % (Modulo operator) return? Answer here 18. What would 30%0 return? Answer here 19. Assuming we are dealing with integers, what would 5/4 equal? Answer here 20. What is the proper order of operation for: x = 1+2*3+ 6/2 -2 ? Choose an item. 21. Write 3 of the 5 Precedence Rules: Answer here 22. What can you use to force the evaluation of a formula? Answer here 23. In the code ANSWER = Math.pow(x,y);, explain what ANSWER equals: Answer here 24. In the code ANSWER = Math.sqrt(x);, explain what ANSWER equals: Answer here