Please help me to decide in every aspect like quality of educate and job opurtunities etc
Both are good, but I would personally go UMass Amherst. Purdue is more well known for Engineering, and while some of that translates over to CS, a lot doesn’t. UMass Amherst’s CS is very well known for its research and is a very solid school from an undergraduate experience perspective. Purdue is also highly competitive and is a bit of a pressure cooker, which is very unnecessary from my view. Unless you’re looking for that environment - to each his own.
What would each cost you? Would you need loans for either?