A problem with a "yes" or "no" answer. Equivalently, a function whose range is two values, such as (0,1).