Which of the following are correct about for and while loops? (choose two)

Which of the following are correct about for and while loops? (choose two)Category: Linux EssentialsAuthor "LinuxQuestions"Which of the following are correct about for and while loops? (choose two)
Linux Questions Staff asked 1 year ago

Which of the following are correct about for and while loops? (choose two)

  • for loops operate over a fixed list of items
  • while loops operate over a fix list of items
  • for loops have a test each cycle to determine if it should run again
  • while loops have a test each cycle to determine if it should run again
  • for loops require a variable over which to iterate

About the author