I think the answer is a bit too short.
I would like to know more about how the input pin behaves. Particularly if a pull-down resistor is needed on the input? or stated in another way, can I trust the port to read LOW if port is floating (unconnected)?