Step-by-Step Process Quiz
3 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What should be done in Step 1?

  • Create a new vector
  • Create an iterator (correct)
  • Create a mutable iterator
  • Create a mutable vector
  • What should be done in Step 2?

  • Assert that the next value is None
  • Assert that the next value is Some
  • Assert that the next value is Some(&"custard apple" (correct)
  • Assert that the next value is Some(&"banana"
  • What should be done in Step 3?

  • Assert that the next value is Some(&"avocado"
  • Assert that the next value is None
  • Assert that the next value is Some(&"peach" (correct)
  • Assert that the next value is Some(&"banana"
  • More Like This

    Use Quizgecko on...
    Browser
    Browser