instruction:
Given scientific fact as input, generate the question from this fact such that it can be answered from the input.
question:
The height of the wave is used to determine the magnitude of an earthquake.
answer:
What measurement of the wave is used to determine the magnitude of an earthquake?


question:
Compounds with metals and nonmetals sharing electrons are known as ions kinds of compounds.
answer:
Compounds with metals and nonmetals sharing electrons are known as what kinds of compounds?


question:
Damages and deaths are directly affected by construction in an earthquake.
answer:
Damages and deaths are directly affected by what in an earthquake?