The boy starts his journey from the classroom and ends his journey in the same classroom. So, the initial position and the final position of the boy is the same.
The formula for average velocity is displacement/time taken
Displacement is the difference between the final position and the initial position . So, the displacement covered is zero. So, average velocity is also zero.