(a) In a constant-volume gas thermometer the pressure of the gas is taken to be proportional to its absolute temperature, P=μRT/V with μ and V fixed. Comparing with the triple point of water (Ttr=273.16 K):
T=273.16×PtrP
Thermometer A (oxygen):
TA=273.16×1.250×1051.797×105=392.69 K
Thermometer B (hydrogen):
TB=273.16×0.200×1050.287×105=391.98 K
(b) Oxygen and hydrogen are real gases, not ideal gases. They obey PV=μRT only approximately, and the departure is different for different gases and is larger at higher pressure (higher density). The two thermometers therefore give slightly different readings even though neither is faulty.
To reduce the discrepancy, the measurements should be repeated with smaller and smaller amounts of gas in the thermometers, that is at lower and lower pressures. The temperature found at each pressure is plotted against the pressure and the graph is extrapolated to P→0. In this limit every real gas behaves like an ideal gas, and both thermometers give the same value.