Dartmouth (with loans) for CS, and then PhD?

It is highly unlikely that you will get a stipend from anywhere that will cover your student loans (if will not matter where you complete your undergrad. Don’t use this as a measurement to chose a school.

D has quite a few friends working at FB/Google, none of them have a PhD in computer science.