1132 GMT February 19, 2019
BBC research using freedom of information (FOI) laws revealed some universities have perhaps surprising policies on how rooms are allocated.
One important educational benefit of going to university is learning to mix with, and getting to know, a more diverse range of people with different life experiences.
On the other hand, starting university can be a stressful event made easier if the students are surrounded by the kind of people they are familiar with, or likely to get on with.
Both are valid considerations, but they can be conflicting priorities, and different institutions resolve this dilemma in different ways.
One of the most explicit policies promoting social integration is at Bristol University, which aspires "to create diverse, balanced communities within the residences with particular reference to nationality, gender, faculty and school type."
It, therefore, adopts a system of percentage targets for each category of residence.
The university stresses it is committed to creating balanced communities to reflect the overall profile of the student population.
Similarly, Robert Gordon University in Aberdeen states: "The allocation team will adopt a policy of integration regarding cultural diversity and religious beliefs."
King's College, London, seeks "to achieve, wherever possible and based on availability, a balanced mix between, among other things, nationality to reflect the diversity students favor".
Chichester seeks to have "balanced communities" with mixed backgrounds and ages, while Lancaster says it tries "to avoid homogenous groups in one area."
But there are other universities which appear to give more priority to grouping "freshers" with various similar characteristics, to ease their transition into university life.
In some cases, universities ask students for considerable detail about their personalities – for example are they "reserved" or "outgoing?"
What are their lifestyle preferences? This ranges from smoking to tidiness and how early they get up.
Hobbies and interests, such as music, cookery or sport also come into play.
Warwick, for example, tries to match students with similar hobbies, on the basis that "for first-years this can break the ice and help them to settle down and feel less homesick."
Strathclyde takes matching leisure interests into account and says, "We would try to place tidy people together. We would avoid placing morning and night people together as their sleep patterns would clash."
Bedford's FOI reply to us included promotional material for a specialized commercial algorithm it employs using personality and lifestyle factors.
This asserts it "predicts the relative 'compatibility' of combinations of residents" and claims it leads to fewer complaints, lower levels of conflict and a better sense of community.
Numerous institutions (including Canterbury Christ Church, Cardiff Met, Exeter, Reading, West of England, Winchester, York) have a policy of grouping together students who state a preference for, among other things, a quiet environment.
Of the 100 universities from which the BBC received useful information about their accommodation policies, 39 allow this choice for quiet areas.
The National Union of Students supports students having this choice. Its vice-president, Eva Crossan Jory, said, "It's good for students to have these options. Our view is that accommodation should be centered on what students want."
A few universities, such as Keele, Liverpool and Sunderland, offer friendship groups who come to university together, the chance to book rooms together.
But in contrast West of England says friends are "not generally housed together" as this would affect the social dynamics of residences.
Sidney Sussex College at Cambridge has a policy of not putting students from the same school together "to broaden the circle of fellow-students that they will come into contact with."
The National Union of Students is unhappy about a lack of accessible rooms on some campuses, which limit accommodation choices for disabled students.
Many universities, including East Anglia, Essex, Keele, Kent, Oxford Brookes, Sunderland, Winchester and Worcester, state they specifically try to mix British and international students from various countries.
In contrast, East London plans to have a predominantly international hall, and Glyndwr will locate together students from the same country.
Many universities have a range of cost bands for different qualities of accommodation, from which students pick or set an upper spending limit. This inevitably tends to promote grouping by social class, even if that is not the intention.
"Within each university there tends to be a pecking order of where students live", said Professor Harriet Bradley, a sociologist at the University of the West of England, who studies the impact of higher education on social mobility.
"Students themselves are very aware of this segregation".
Universities have discretion over how to allocate rooms within each cost band.
Bradley believed they should try to mix social classes, possibly using home postcodes as the best practical indicator of class.
"Friendship is important," she added.
"Getting your first job is often dependent on knowing the right people".
Many policies state they group students by similar age.
This often means separating somewhat older new undergraduates (say over-21s).
But where it means separating 18-year-olds and 19-year-olds, it frequently involves splitting those who did or those who did not have a gap year prior to starting university.
Taking a year off may well affect the students' level of maturity, but can also be linked to social class.
In a few universities, such as Greenwich, Northumbria and Nottingham Trent, the accommodation service does not allocate rooms centrally, but lets incoming students book specific rooms themselves online, choosing from those still available.
This system would allow first-year students who already know each other to room together.
All these issues arise from the British tradition of what are sometimes called "boarding universities," where most students are not staying in the family home – a contrast to many other countries.
The allocation of student accommodation is an important and long-lasting social force in Britain, but one which appears largely unresearched.
"It is a difficult and neglected topic", said Bradley.