This piece of music by Franz Joseph Haydn (1732-1809) is from 1776. It is part of a piano sonata in E major containing three movements: 1. Moderato, 2. Allegretto and 3. Presto.
Haydn was an Austrian composer of the Classical period. He is called the "Father of the Symphony" and "Father of the String Quartet" because of his important contributions to these forms. He was also instrumental in the development of the piano trio and in the evolution of the sonata form.
The Hoboken-Verzeichnis (for instance Hob XVI:31) is a catalogue of over 750 works by Joseph Haydn as compiled by Anthony van Hoboken. Unlike Ludwig von Köchel's catalogue of Wolfgang Amadeus Mozart's works, or Otto Erich Deutsch's catalogue of Franz Schubert's works, which are both arranged chronologically by date of composition, Hoboken's catalogue, like Wolfgang Schmieder's catalogue of Johann Sebastian Bach's works, is arranged by form of work. Piano sonatas are in category XVI. [Source: Wikipedia]
Franz Joseph Haydn: Piano Sonata No. 46, Hob XVI:31 (Allegretto).