Submit 4 LEGIBLE Program Code Segments TIP SHEET
P1- Procedure Definition
procedure must have a parameter(s) that has an effect on the functionality (i.e. in an if statement)
procedure must have iteration (loop)
P2- Procedure Call - should show line(s) of code around where you call the procedure.
L1- List with data being stored/added/appended
L2- List being used
Remove all comments before screenshot
Note, you can upload 3 image files for each code segment section.
TClark recommends you include line numbers if possible.
Font at least 10pt: zoom in or resize before screenshot!
The program code includes:
A student-developed procedure
A call to the student-developed procedure
A list (or other collection type)
A use of the list
Selection
Iteration
Consider the Personalized Project Reference (or Program Code if necessary) when scoring this point.
If the program requirements do not appear in the Personalized Project Reference, consider the full program code file when scoring this point.
The procedure does not need to have a parameter to earn this point.
The code segments demonstrating selection and iteration do not need to appear in the same algorithm to earn this point.
The code segments demonstrating selection and iteration do not need to be contained in a procedure to earn this point.
Do NOT award a point if any one or more of the following is true:
The list is a one-element list.
The use of the list is irrelevant (i.e., not connected to the program’s functionality).
The call to the procedure is inconsistent with the procedure header (unless allowed by the programming language).
The use of either the selection or the iteration is trivial
(i.e. does not affect the outcome of the program).