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?
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?