Semcon Interview Question

Language test, multiple logical test