Worksheet 4
- Due No Due Date
- Points 20
- Submitting a file upload
- File Types pdf
This worksheet will be all about loop analysis. Once again, please keep in mind that I deliberately wrote the problems in such a way that you won't be able to just plug and chug your answers through a compiler to get the correct answer. At least, not without understanding what you're doing.
To get the correct answers for the first 8 problems, you need to understand exactly how loops are stepped through in a program. Keep in mind that I'm asking for the value AFTER the loop finishes running, NOT what it is at the time of the last loop execution. Seems like a minor difference, but loop counters carry so much information that understanding the potential of what this one integer can represent makes the accuracy all the more critical to comprehend.
This worksheet will be the last one you'll work on prior to the midterm.
Rubric
Criteria | Ratings | Pts | |||
---|---|---|---|---|---|
Problem 1
threshold:
pts
|
|
pts
--
|
|||
Problem 2
threshold:
pts
|
|
pts
--
|
|||
Problem 3
threshold:
pts
|
|
pts
--
|
|||
Problem 4
threshold:
pts
|
|
pts
--
|
|||
Problem 5
threshold:
pts
|
|
pts
--
|
|||
Problem 6
threshold:
pts
|
|
pts
--
|
|||
Problem 7
threshold:
pts
|
|
pts
--
|
|||
Problem 8
threshold:
pts
|
|
pts
--
|
|||
Problem 9
threshold:
pts
|
|
pts
--
|
|||
Problem 10
threshold:
pts
|
|
pts
--
|
|||
Problem 11
threshold:
pts
|
|
pts
--
|
|||
Problem 12
threshold:
pts
|
|
pts
--
|
|||
Total Points:
20
out of 20
|