You pay up front.
You are salaried from day 1 of TR, accommodation is essentially part of the TR cost.
If it is Second Officer contract then it is a flat salary for Year 1 of something around £40k.
No fixed roster until Year 3 of permanent employment.