Anyone remember doing this in school?

Anyone remember doing an assignment where you would be given a piece of paper and on it was instructions of a mock seating chart and who could sit where? For example Erica can sit next to Bobby but not next to Sara. Sara needs to sit next to a window. Matthew likes to sit behind Bobby but not in front of Alex. Etc.

What was this called? I'm guessing it was for just a fun brain teaser, problem solving exercise?