FireEye interview question

Basic questions of printing patterns.