The frequency of a sound wave is proportional to the tension of the string. If two instruments have the same frequency, but one has a tighter string, then the instrument with the tighter string will have a higher pitch.
The other factors listed, such as the size of the instrument, the material of the instrument, and the shape of the instrument, will also affect the pitch of the instrument, but they will have a smaller effect than the tension of the string.