The 2nd note will have a higher frequency or pitch.
Step-by-step explanation:
The frequency of a standing wave in a string is given by
where t = tension of the string
m/l = mass density of the string
l = length of the string
By placing your finger on the string, you increase the tension and at the same time, shorten the length of the string, thereby increasing the frequency of the sound due to the standing wave produced on the string.