Select the best answer:
 
1. A long current-carrying solenoid produces a magnetic field that is:
2. An electromagnet is formed when: