Pupils abandon class due to deplorable state of school