Computers

9th -

12thgrade

Image

3.3 Mathematical Expressions

1
play

5 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    What is the result of the expression (5 + 2) * 3 in Python?

    15

    21

    17

    7

  • 2. Multiple Choice
    30 seconds
    1 pt

    What will the following code print: num1 = 20; num2 = num1 / 2; num3 = num2 * 10 + 3; print(num3)?

    203

    100

    103

    53

  • 3. Multiple Choice
    30 seconds
    1 pt

    Which of the following represents modulus in Python?

    //

    *

    %

    +

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?