CEVA interview question

how does a switch work