In a family, there are three siblings: X, Y, and Z. X is older than Y but younger than Z. Y is a painter, and Z is a doctor. What is X's profession if it is known that all siblings have different professions?

A. ENGINEER

A family consists of a father, a mother, and three children: P, Q, and R. The father is a chef, the mother is a nurse, and P is the youngest child. If Q is a student and R is not a student, what is R's possible profession?

C. ENGINEER

In a family, there are four members: M, N, O, and P. M is the grandmother of O, N is the father of O, and P is the sister of N. If O is a student, what is M's relationship to P?

D. GRANDMOTHER

In a family, A is the son of B, and C is the daughter of B. D is the spouse of B. If E is the sibling of A, what is the relationship of E to C?

D. SIBLING

In a certain code, 'CAT' is coded as '312' and 'DOG' is coded as '415'. What is the code for 'GOD'?

A. 514