Lab 4: Loops
- Due Mar 9, 2021 by 4pm
- Points 10
- Available after Mar 9, 2021 at 2pm
Overview
In this lab, you'll practice using loops to solve programming tasks.
Learning outcomes
By the end of this lab, you should be more comfortable...
- using loops to execute code 0 or more times
- breaking programming problems into smaller pieces
Exercises
Get as far as you can solving the following zyLabs in the zyBook. While you do them, be sure to implement incrementally—write a line or two of code, then compile/run it. Test frequently by clicking "Submit mode" and then "Submit for grading". You have unlimited submits, so don't worry about using some quota up.
- zyLab 4.19: Password modifier
- zyLab 4.20: Remove all non alpha characters
- zyLab 4.25: Palindrome
- zyLab 4.26: Brute force equation solver
Submitting
Click "Submit mode" then "Submit for grading" when you are finished so I can see that you have done the zyLab. Your grade for the lab is based on effort, not whether you complete all of the assigned problems; you will get full credit as long as you work diligently during the 2-hour lab period.
PA options
Please see the syllabus and course schedule (both on the homepage) for more information about how many programming assignments you are required to pass, due dates, etc. Of note: you do not need to attempt every or even most PAs.