Question: why are rooms called quarters?
Answer: It originally cost a quarter to rent a room. Military bases were divided into four parts, each of which contained some buildings for particular functions. Rented space was paid by the quarter (in the annual sense).