Accenture interview question

Syntax based questions on how to use named query,