Answer:
Noun clause: whoever answers the question.
Function of clause: objects of a preposition.
Step-by-step explanation:
Noun clauses are those clauses that function as a noun and has a subject and a verb. They are dependent clauses and can be of different types, depending on their function in the sentence.
In the given sentence "the teacher will call on whoever answers the question", the noun clause is "whoever answers the question". This is because noun clauses start with words such as "what, how, who, which, whoever, whenever" etc.
And the noun clause in this sentence functions as an object of a preposition. An object of preposition means that the noun clause comes after a preposition in a sentence and acts as an object in the sentence.