At a science-fair stall, Farhan has two jars. Jar P holds a speckled grey-and-yellow powder of iron filings and sulfur. Jar Q holds a black mass made from the same powder. He puts a little from each jar into a test tube (Tube 1 and Tube 2, in some order) and adds dilute hydrochloric acid to both (figure).

His observations:
| Tube | Smell of the gas | Burning splinter at the mouth | Left at the bottom |
|---|---|---|---|
| Tube 1 | no smell | burns with a pop | a yellow solid |
| Tube 2 | rotten-egg smell | no pop | nothing |
(i) Which tube had the powder from Jar P, the mixture?
(ii) Name the gas given off in each tube.
(iii) Why is a yellow solid left only in Tube 1?
