Cognizant interview question

What is binary search and linear search?