LTM Limited interview question

I was asked Pattern program and few operators, and types of programming