pencil-icon
Build your own quiz

Computers

11th

grade

Image

L3 Python Conditionals Quiz

30
plays

30 questions

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

    In order for your motors to move, what command do you have to give?

    motors.enable(False)

    motors.enable(True)

    Motors.run(Left,50)

  • 2. Multiple Choice
    30 seconds
    1 pt

    Your Python code can control how much electric power is delivered to each motor, over a full range. What does the following command do?

    +100

    full speed forward

    full speed reverse

    Turns the motor on

  • 3. Multiple Choice
    1 minute
    1 pt

    Which of the following statements about the "==" and "=" symbols are true?

    Use == to test for equality; use = to assign a value to a variable

    == is more likely to produce "True" answers while = is more likely to produce "False" answers

    == is used in if statements while = is used only in else statements

    == and = can be used interchangeably; they mean the same thing

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?