On what factors do you think the temperature of the gas will depend?
It will depend upon the kinetic energy of the gas molecules.
The temperature of the gas depends upon the kinetic energy possessed by the gas molecules. Temperature is a measure of the average Kinetic Energy of a body. The higher the kinetic energy, higher will be the temperature of the body.