Looking at the code pattern by comparing 'ARUN' with 'YPSL':
A → Y
R → P
U → S
N → L
Finding the alphabetical positions:
A = 1st letter, Y = 25th letter
R = 18th letter, P = 16th letter
U = 21st letter, S = 19th letter
N = 14th letter, L = 12th letter
The pattern shows each letter is shifted backward by 2 positions:
A - 2 = Y
R - 2 = P
U - 2 = S
N - 2 = L
Applying the same pattern to 'ALEX':
A - 2 = Y
L - 2 = J
E - 2 = C
X - 2 = V
Therefore, 'ALEX' is written as 'YJCV' in that code.
The answer is Option 2: YJCV