Referencing:
K20P64M72SF1RM
Rev. 1.1, Dec 2012
1 - All GPIO are 'Hi-Z' when configured as inputs -- see 49.2.6.
2 - Most GPIO pins have the options under 'PORT control' 11.14.1, the pull-enable and up/down being the two LSBs.
3 - See above -- also a function of PORT control.
4 - All GPIO pins will be 'input' (Hi-Z) as per the 'reset condition' outlined in 49.2.6. However, for a complete definition of 'pin state at reset' refer to chapter 10. 10.2.2 lists some 'special' reset-values for some members of Port A PORT control, but more particularly the table in 10.3.1 lists the 'default' operational-mode for every pin on the package. Most pins default to their 'analog' function -- Alternate '0' -- (except the debug pins, on Port A, as selected by those 'special' PORT control values), as this has the least restriction on external connections.