Domanda di colloquio di Infosys

How Binary search works? Few easy SQL and Java questions.