What do you man by the r.m.s. speed of the molecules of a gas ? Is r.m.s. speed same as the average speed?

The r.m.s. speed of the molecules of a gas is defined as the square root of the mean of the squared velocities of the molecules of a gas. No, r.m,s. speed is different from the average speed.