Hi Aspirant,
Computer Science itself is a core course. There are a lots of specializations in cs which is as: Artificial Intelligence, Computer-Human Interface, Game Design, Networks, Computer Graphics, Information Security, Data Science, Programming Languages, etc. In core CS you will get a touch of almost all the subjects related to computer science. But in specialization, it will mainly be focusing on just that one basic subject and everything related to that only will be taught.
So basically saying Artificial Intelligence and Data science are the specialization of core branch Computer Science.
You can refer the link below for more information,
https://www.careers360.com/courses/computer-science-engineering-course
Hope this helps.
Good luck!!!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile