Matching safety for prospective CS student [MA resident, 3.8/1330, $0 parent contribution]

So, how did you come up with a $20-25k budget - would that all be loans?