Flowcharts, Pseudocode and Python
Quiz 2
Storing Data


  1. How many characters are there in the string below:

    6
    7
    5
    8

  2. Which one is not a valid data type:

    Characters
    Strings
    Integers
    Addition

  3. 7 // 2 will give:

    3.5
    3
    4
    2

  4. 8 % 5 will give:

    1
    2
    3
    4

  5. 7 /2 will give:

    3
    4
    5
    3.5

  6. 6 * 3 % 2 will give:

    0
    6
    9
    18

  7. 8 ^ 0 will give:

    0
    8
    1
    2

  8. (int) ÔCÕ will give:

    99
    67
    66
    100

  9. (char) 122 will give:

    x
    y
    z
    w

  10. Which one has lowest operator precedence?

    Exponentiation
    Parenthesis
    Addition and subtraction
    Multiplication and division