To determine whether each scenario represents a function, we need to check if each input corresponds to exactly one output. A function cannot have the same input yielding different outputs.
-
Input: student ID; Output: student age
- This is a function. Each student ID corresponds to exactly one student, and therefore one age.
-
Input: ages of students in class; Output: grade level of students in class
- This is NOT a function. Multiple students can have the same age, but they could be in different grade levels, leading to the same input (age) resulting in different outputs (grade levels).
-
Input: year a group of students graduates from high school; Output: list of their current salaries
- This is NOT a function. Different students who graduate in the same year may have different salaries, so the same input can yield multiple outputs.
-
Input: your birthday; Output: number of TVs in your house
- This is NOT a function. People with the same birthday can have a different number of TVs in their houses, leading to the same input yielding different outputs.
In summary:
- Function
- Not a function
- Not a function
- Not a function