Quiz 5: While Loops and Strings
Learning Goals
Students should be able to:
- Use print statements to illustrate the operation of a loop
- Use while loops to translate English descriptions of iteration into Python
- Explain the rules governing a while loop's execution in English
- Use indexing to access elements in a string from the front or the back
- Predict the type of expression results which use operations on strings such as in, not in, +, *, len, min, max
- Know about and use a variety of operations on strings, including in, not in, +, *, len, min, max
- Use indexing to access elements in a string from the front or the back
- Use print statements to illustrate the operation of a loop
- Predict the effects of while loops
Study Guide
Blank (fill in your solutions)
Solutions
After your quiz is graded by instructors, you will get an email from Gradescope. Solutions for individual quiz questions are provided in the Gradescope rubric.