no and no
the residence placement has to do with your questionnaire of habits and your ranking of residence type... then luck
they do not factor in your program and they do not attempt to place you with someone in the same program- there are just too many students and too many other externalities to factor in so it ends up being slightly random .. unless you have a 95+ average, then you are guaranteed a single room, although still not the location of the aforementioned room lol