Earthquake is a term used to describe both sudden slip on a fault, and the resulting ground shaking and radiated seismic energy caused by the slip, or by volcanic or magmatic activity, or other sudden stress changes in the earth.
USGS - http://earthquake.usgs.gov/learn/glossary/?term=earthquake
Courtesy of http://earthquake.usgs.gov/learn/kids/eqscience.php