bulls and cows

Etymology
A correct guess at a digit or letter is called a "bull" or a "cow", depending on whether the guessed location is also correct.

Noun

 * 1) A codebreaking game in which each player attempts to deduce the other's secret number or word.