Performance task

3a. Provide a written response that:
(Approx. 150 words, for all subparts of 3a combined)

i. Describes the overall purpose of the program;
The purpose of the ‘Get Fit’ app is to aid users in understanding the number of calories they should be consuming based on their weight and goal.

ii. Describes what functionality the video illustrates;
The video displays the user typing in their weight and selecting what their goal they want to achieve in the future; either ‘gain weight’ or ‘lose weight’. Afterwards, the output will be shown to the user. they will be shown some key factors that they should involve adapt to such as the amount of calories, protein, and carbs they should eat.

iii. Describes the input and output of the program shown in the video
The user input of the program is once the user types in their weight and selecting their yearning goal. Once they select the ‘click’ button, the amount of calories they should adapt to will be shown.

3b. Capture and paste two program code segments you developed during the administration of this task which contain a list (or other collection type) being used to manage complexity in your program.

i. The first program code segment must show how data has been stored in the list.

ii. The second program code segment must show the data in the same list being processed, such as creating new data from the existing data or accessing multiple elements in the list, as part of fulfilling the program’s purpose. Then, provide a written response that does all three of the following:

iii. Identifies the name of the list being processed in this response

iv. Identifies what the data contained in the list is representing in your program

v. Explains how the selected list manages complexity in your program by explaining why your program code could not be written, or how it would be written differently, if you did not use the list

3c. Capture and paste two program code segments you developed during the administration of this task that contain a student-developed procedure which implements an algorithm used in your program and a call to that procedure. (Approx. 200 words, for all subparts of 3c combined, excluding program code)

i. This first program 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; and
Implements an algorithm that includes sequencing, selection and iteration.

ii. The second program code segment must show where the student-developed procedure is being called in your program
Then, provide a written response that does both of the following:
iii. Describes in general what the selected procedure does and how it contributes to the overall functionality of the program
iv. Explains in detailed steps how the algorithm implemented in the selected procedure accomplishes its task. Your explanation must be detailed enough for someone else to recreate it.

3d. Provide a written response that does all three of the following:
(Approx. 200 words, for all subparts of 3d combined, excluding program code)

i. Describes two calls to the selected procedure identified in written response 3c. Each call must pass different arguments that cause a different segment of code in the algorithm to execute;
First call:
Second call:

ii. Describes what condition(s) is being tested by each call to the procedure
Condition(s) tested by the first call:
Condition(s) tested by the second call:
iii. Identifies the result of each call.
Result of the first call:
Result of the second call: