AMD interview question

they ask about programming and logic gates