Pattern recognition exam questions