For the “List” segments of PPR, I’ve noticed some of my students attaching a segment of code where they are creating a list that does not contain data at first which they then add data to later through their procedure(s).
Does a code segment that creates the list but doesn’t fill it count for the first requirement? (The first program code segment must show how data have been stored in the list.)
For example:
var scores = ;
If not, does the procedure that adds items to the list based on the parameters of the function work as both how data is being stored AND how the data is being used since both tend to happen subsequently?
Thanks in advance,
James Hock
Denver Colorado