Choosing a reasonable examination way is beneficial to the cultivation of high quality talents. Recently, the conventional college examination methods involve writing and oral test, which is extremely focused on academic performance and caused the separation between teachers and examinations. Optoelectronic detection technology is a specialized course with strong applicability. Therefore, we proposed a diverse form and scientific content method. It is proved that the students receive better learning effect and improve learning and engineering practice ability compared with the traditional assessment methods.