Every major in a university should study English, physical education, international politics and situation, writing, ideological and moral cultivation and legal basis, modern history of China, Marxist philosophy, Socialism with Chinese characteristics and so on. (That's all I remember)
As for our specialized courses, I don't know whether each school is exactly the same, but I guess it will remain the same. We have studied a series of professional courses related to library literature and information, such as library science foundation, information resource management, Chinese literature cataloging, foreign literature cataloging, information science, classification, subject method, information system analysis and design, information prediction and so on.
(PS: Where do you want to take the library science exam? If there is anything you don't understand, you can continue to ask me. )