Computers - Technical MCQs

Q1:

A port can be ________.

A strictly for input

B strictly for output

C bidirectional

D all of the above

ANS:D - all of the above

I thought it was bidirectional, but here it is all the above.

Which is the correct answer? Can anyone know this?