Answer: Assessments should be done in the classroom as they are efficient in testing students to see if the material being taught is effective.
Teachers may not always know what strengths or weaknesses their students may have in certain areas, and have to use devices to adequately measure how well or how badly the class is perceiving what is being taught. If a student tests on an assessment and achieves a high grade we can understand that the student is understanding the content well, but if a student does badly when other students are doing well we know that student needs more work.
Additionally, if an entire class does poorly on an assessment, the teacher understands that it is not the class that needs adjustment but rather themselves and the lesson.