{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

2551.quiz2.Summer2007

2551.quiz2.Summer2007 - COP 2551 Quiz#2 Summer 2007 Name...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
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 the qualifier: _______________________ 9………. Java uses which form of internal representation for its characters:
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern