In-class notes for 03/14/2014
CS 121B (CS1), Spring 2014
Quiz
Submitted questions on assignments and technology
-
See the (newly added) illustration to understand the arguments
Two stages: check the arguments; and create/fill the cropped image
-
Need 3 accumulators: one for element count; one for valid-response count; and one for valid-response sum
Need an
if
inside of loop to update 2 accumulators when a valid response is foundBe sure to print before
return
Upcoming
Next week, large-scale text and data analysis -- outside readings assigned later
Recursion
Submitted questions on readings
< >