The first movement of Haydn's Symphony No. 94 in G major ("Surprise") is in sonata-allegro form, not theme and variations.
The famous "surprise" chord (fortissimo strike in the slow movement) occurs in Movement II (Andante), which is a theme and variations. Movement I structure: Exposition (G → D), Development, Recapitulation, Coda.