IT 244: Introduction to Linux/Unix
Class 24 Ungraded Quiz

  1. In a for ... in loop, where does the loop variable get its values?


  2. In a simple for loop, where does the loop variable get its values?


  3. Should the loop variable in a for loop have a $ in front of it?


  4. In a three statement for loop, what does the first statement do?


  5. In a three statement for loop, what does the second statement do?


  6. In a three statement for loop, what does the third statement do?


  7. Why are the three statements in a three statement for loop surrounded by two parentheses?


  8. When does a while loop stop running?


  9. What does the continue command in a loop do?


  10. What does the break command in a loop do?