Quiz: Coding

To View Tricks: Login Required

Number of Questions: 14

Question: 1 -

what will be value of the following python expression?

4 + 3 % 5

Options:
  1. 4

  2. 2

  3. 7

  4. 1

  5. Answer:

    7

    Solution not available.

Question: 2 -

Is Python code compiled or interpreted?

Options:
  1. Python code is only interpreted

  2. Python code is neither compiled nor interpreted

  3. Python code is only compiled

  4. Is Python code compiled or interpreted?

  5. Answer:

    Python code is neither compiled nor interpreted

    Solution not available.

Question: 3 -

which type of programming does python support?

Options:
  1. structured programming

  2. objected-oriented programming

  3. functional programming

  4. all of the above

  5. Answer:

    all of the above

    Solution not available.

Question: 4 -

is python case sensitive when dealing with identifiers?

Options:
  1. no

  2. machine dependent

  3. NONE

  4. yes

  5. Answer:

    yes

    Solution not available.

Question: 5 -

a = 8.3
b = 2
print a//b

Options:
  1. 4.15

  2. 4.0

  3. 4.1

  4. 4

  5. Answer:

    4

    Solution not available.