Default digital/analog pin state - input or output? (do unused pins need to be grounded to prevent floating inputs)

At power up, all pins are input and without internal pull-up; so, they are at floating conditions. As you have wanted to see them not in the floating states, what else comfortable option you have without using external pull-up/pull-down?