Cognitive science

So I got in to UCSD with International studies but I want to change to Computer science and I know that’s not going to happen (bc it’s crazy) and people have told me Cognitive science w/ specialization in computation is a little similar. Can anyone confirm if this is true? And also is cog science worth?