Possibly even more iconic than this moment was the SNL skit that parodied this, done by Shia Labeouf, Andy Samberg, Bill Hader, Fred Armisen, Jason Sudeikis, and Kristen Wiig. I won’t ruin it for you. Just watch it for yourself.
Melody isn’t made up of random notes anymore than speech uses random words. There’s as much grammar in a tune as there is in a paragraph. The notes in a well-written melody are organized into small groups called motifs. A motif is a group of 2, 3, 4 and not many more notes that played in that way, that are ordered together to make a tune easily identifiable — like a mugshot.