Pay the deposit first, then start studying, and then pay back the rest of the tuition after employment. However, some deposits are very high, and the money is collected first. Whether you can learn or not, the deposits that you can't learn are gone. Some standards are very high, requiring academic qualifications, hukou and certain conditions.
The wool is on the sheep, so first think about whether you really want to develop into the IT industry, and don't be greedy and cheap.