Study abroad isn’t just about the academics, but the cultural experience as well. Your school should have information on which programs would work best for your CS major and I’d recommend speaking with someone in the study abroad office. If you’re planning only a single semester abroad you could focus mainly on general Ed/graduation requirements (for example in the UK students take 3 courses a semester and the semesters are shorter than in the US).
Also make sure you’ll receive full credit for the courses you choose. For example when my D studied abroad, the semester only students took a 4 week seminar taught by a professor from her college before the UK university term began because that semester was only 10 weeks and the US students needed 14 weeks to receive credit for a full semester of 4 classes.
My D studied abroad for a year and took a mix of gen Ed and classes for her major (chemistry)…the trick was to make sure she received credit towards her major for those courses. Scheduling a mix of subjects can also be a challenge because the same class isn’t offered at a variety of times (because UK students only study one subject) so conflicts can occur quite easily.
Lastly, some schools will give credit for the classes but the grades aren’t calculated into your GPA…can be good or bad depending on how well you do. Grading overseas is often more harsh than US schools.