Any assortment or number of sharps or flats makes up the

key signature of a musical key. The number and arrangement of sharps or flats in a key signature determine the tonality and provide information about which notes are altered within a piece of music.