A sample of an ideal gas is contained in a cylinder. The volume of the gas is suddenly decreased. A student makes the following statements to explain the change in pressure of the gas.
I. The average kinetic energy of the gas atoms increases.
II. The atoms of the gas hit the walls of the cylinder more frequently.
III. Temperature of the gas remains unchanged.
Which of these statements is true?