Overcrowding in Western Cape public schools is affecting the quality of teaching and negatively impacting on the behaviour of pupils.