Instructions: The first three problems ask you to read a Pseudocode function definition. Trace through each of them by hand, keeping track of the variables, to determine the answer to the question.
# Comment: A function definition that takes 1 argument named a To functionA(a): Return: a + 100
# Comment: Convert inches to centimeters # There are 2.54 centimeters per inch To inchesToCm(in): Return in * 2.54
# Comment: A mystery function with 2 arguments To mystery(x, y): Set M to x If y < x then do: Set M to y Return M
Instructions: The next three problems ask you to define a
function in Pseudocode. Model your answers after the Pseudocode
algorithms in the first 3 questions.