Correct option is B. Periodic but not simple harmonic
Body collides elastically with walls of room. So, there will be no loss in its energy and it will remain colliding with walls of room, so it’s motion will be periodic.
There is no change in energy of the body, hence there is no acceleration, so it’s motion is not SHM.