This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: COP 2551 Quiz #2 Summer 2007 Name: ___________________ Quiz is worth 20 points. You may, however, earn 22 points! Please place the letter corresponding to your answer ON THE DOTS to the right of the question number. DO NOT CIRCLE YOUR ANSWER. WRITE THE LETTER ON THE DOTS. 1. .. Which of the following is NOT an example of a primitive data type? a. Integer b. String c. Float d. Double e. Char 2. . The actual number of bits used internally to represent an integer value may vary from machine to machine. a. True b. False 3 .The operator, +, may be used to concatenate strings together as well as add two numeric quantities together. a. True b. False 4 - 6. .If I wished to print out, How bout them Jags , write the single necessary Java statement to do this. 7 The name of the special type of character(s) needed to accomplish the required printout in 4-6 is called: (supply the answer) _______________________ 8. To declare a a variable with a constant value that cannot be changed within the program, I must use...
View Full Document
- Summer '08