3C

Create Performance Task - 2021

3C

Capture and paste two program code segments you developed during the administration of this task that contain a student-developed procedure that implements an algorithm used in your program and a call to that procedure.

  1. The first code segment must be a student-developed procedure that:

    • Defines the procedure's name and return type (if necessary)

    • Contains and uses one or more parameters that have an effect on the functionality of the procedure

    • Implements an algorithm that includes sequencing, selection, and iteration

  2. The second code segment must show where your student-developed procedure is being called in your program.

Then, provide a written response that does both of the following:

  1. Describes in general what the identified procedure does and how it contributes to the overall functionality of the program

  2. Explains in detailed steps how the algorithm implemented in the identified procedure works. Your explanation must be detailed enough for someone else to recreate it.