Explanation: A volcano that is about to erupt may produce a sequence of earthquakes. Scientists use seismographs that record the length and strength of each earthquake to try to determine if an eruption is imminent. Magma and gas can push the volcano's slope upward.