Keyence interview question

Basic questions from your syllabus during engineering.