Quiz 5:
Learning Goals
Students should be able to:
- Use indexing to access elements in a sequence from the front or the back
- Predict the type of expression results which use operations on sequences such as in, not in, +, *, slicing, len, min, max
- Know about and use a variety of operations on sequences, including in, not in, +, *, slicing, len, min, max
- Use indexing to access elements in a sequence from the front or the back, as well as in nested structures
- Write the syntax of a for loop
- Use print statements to illustrate the operation of a loop
- Use for and while loops to translate English descriptions of iteration into Python
- Explain the rules governing a for loop's execution in English
- Design algorithms to solve simple problems using iteration
- Predict the effects of loops
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.