Instructions: Given a scientific passage and an answer, generate a question for the given answer.
Input: Passage: The current produced by electromagnetic induction is greater when the magnet or coil moves faster, the coil has more turns, or the magnet is stronger. If the magnet or coil is moved back and forth repeatedly, alternating current is produced. Answer: moves back and forth repeatedly
Output:
Alternative current is produced when a magnet or coil does what?