GoConqr has a new look! Let us know what you think.

Quiz

Week 3 Practice Quiz

Adam Peterson 9 questions

Take the quiz

Questions in this quiz (9)

  1. 1The boolean data type may contain values in the following range of values:
    1. Atrue or false
    2. B-128 to + 127
    3. C- 2,147,483,648 to +2,147,483,647
    4. D- 32,768 to +32,767
  2. 2Variables of the boolean data type are useful for:
    1. Aworking with small integers
    2. Bevaluating true/false conditions
    3. Cworking with very large integers
    4. Devaluating scientific notation
  3. 3Variables are classified according to their:
    1. Avalue
    2. Bdata type
    3. Cnames
    4. Dlocation in the program
  4. 4Which of the following is NOT a primitive data type?
    1. Ashort
    2. Blong
    3. Cfloat
    4. DString
  5. 5 What will be the value of z as a result of executing the following code?

    int x = 5, y = 28;
    float z;
    z = (float) (y / x);
    1. A5.60
    2. B5.6
    3. C3.0
    4. D5.0
  6. 6The char data type is made up of how many characters?

    1. Aone
    2. Btwo
    3. Cthree
    4. Dfour
  7. 7The Java library class, java.text.NumberFormat, is used for _________?

    1. Adrawing letters
    2. Bformatting letters
    3. Cformatting numbers
    4. Ddrawing numbers
  8. 8A computer program is:
    1. AA set of instructions that enable the computer to solve a problem or perform a task
    2. BMain memory
    3. CPseudocode
    4. DA flow chart
  9. 9Another term for programs is:
    1. AHardware
    2. BSoftware
    3. CFirmware
    4. DShareware

Information

Description
CPSI 1413 Quiz on Week 3 Practice Quiz, created by Adam Peterson on 11/03/2019.
Language
English
Views
0
Tags
cpsi 1413
Rating
No ratings yet
Rate this quiz
Rate this quiz

More on Variables, Data Types and Character Encoding

Feedback

What is it about?

What do you think of the new look?

How do you like it?