A pattern detector has an input a 4 x 4 matrix whose elements take values a, b, c, or d. The output is 1 if the matrix contains one b surrounded by eight a's and 0 otherwise.
Give a high-level description of the system in terms of conditional logic expressions. How many rows would a tabular description have?