Mathematics

9th -

12thgrade

Image

9.6.1 Extending Data Structures Quiz

322
plays

14 questions

Show Answers
See Preview
  • 1. Multiple Choice
    1 minute
    1 pt
    Image

    coffee = "kona"

    tea = "mango"

    smoothie = "raspberry"

    coffee = "raspberry"

    tea = "mango"

    smoothie = "kona"

    coffee = "kona"

    tea = "kona"

    smoothie = "kona"

    coffee = ["kona", "mango", "raspberry"]

    tea = ["kona", "mango", "raspberry"]

    smoothie = ["kona", "mango", "raspberry"]

  • 2. Multiple Choice
    1 minute
    1 pt
    Image

    I only

    II only

    Both I and II

    Neither I nor II

  • 3. Multiple Choice
    1 minute
    1 pt

    What does “packing” refer to in Python?

    Creating a list

    Initializing variables using values from a list

    Storing multiple variables’ values by putting them in a collection, like a list or tuple

    Cramming as many commands as possible onto a single line

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?