Continental interview question

Basic electronics, embedded C, logic questions