HPL interview question

Temperature Sensor , Digital Logic Gate