Improvviso is an adjective describing the whistle itself (“sudden”). Improvvisamente is an adverb modifying the verb (“suddenly”). You could say:
• Sento improvvisamente un fischio nel corridoio (I suddenly hear a whistle in the corridor).
But if you want to describe the whistle as sudden, stick to un fischio improvviso.
You can say:
• Sento dei fischi improvvisi nel corridoio.
Here dei is the plural indefinite article (di + i), fischi is the plural of fischio, and improvvisi agrees in number and gender.
Yes. Italian adjectives agree with the noun they modify:
• Masculine singular: improvviso
• Feminine singular: improvvisa
• Masculine plural: improvvisi
• Feminine plural: improvvise
Example (feminine): una sirena improvvisa (“a sudden siren”).