It's pretty hard to answer your specific questions.
1. I guess the living standard in dorms really depends on the city. And even where I live the standard is very diverse between the different dorms. Also the rent mainly depends on the city. I would suggest to get in touch with the university of your choice and ask those specific questions regarding the living situation there.
2. How much you can earn is also really specific. I guess you can expect a pretty good hourly fee as long as you can find a employer who speaks english. I have no idea how the market for english speaking programmers is. Your best shot is probably to work as a freelancer over the web.
1. I guess the living standard in dorms really depends on the city. And even where I live the standard is very diverse between the different dorms. Also the rent mainly depends on the city. I would suggest to get in touch with the university of your choice and ask those specific questions regarding the living situation there.
2. How much you can earn is also really specific. I guess you can expect a pretty good hourly fee as long as you can find a employer who speaks english. I have no idea how the market for english speaking programmers is. Your best shot is probably to work as a freelancer over the web.