Recovery in terms of what?
If you are facing a high GPA threshold to get into the CS major at your school, or need to meet a high GPA threshold to renew a scholarship, you need to figure out what grades you need to earn for those purposes, if applicable. If there are no such GPA thresholds to worry about, the main GPA concern is that many employers use a 3.0 cutoff GPA as an initial screen when deciding which applicants to interview, so try to get your GPA to 3.0 or higher.
Otherwise, recovery as in just doing better should certainly be possible if you put in more effort than in high school and do not slack off. In general, if your college uses the credit hour system (15-16 credits per term), you should expect the total workload to be three times the number of credits (so if you are taking 15 credits, expect to put in 45 hours per week of work, including both in-class and out-of-class time), although some courses will have higher or lower workloads than this estimate suggests.