There’s a short course called CS3 (at least when I went) that is designed to prep students with no prior programming experience for 61a.
Berkeley is a generally place where all the resources are available to you, but you need to do your research and make wise choices.