Which of these graphs represents a function?

Responses
A A
B B
C C
D D
E None of the graphs.

The correct answer is B, as it represents a graph that passes the vertical line test and therefore represents a function.