231k views
2 votes
Which of the following would be a good name for the function that takes the length of a race and returns the time needed to complete it?

A. Time(race)
B. Time(length)
C. Length(time)
D. Cost(time) ​

1 Answer

2 votes

Answer:

B. Time(length)

Explanation:

The function that would be represented as a good name for a function for the length of the race and the return the time required to finished it

here the independent variable or the INPUT is the length while the output would be the time that required to finish it

Hence, the correct option is B,

Therefore all the other options would be incorrect

User Antti Kissaniemi
by
5.9k points