Which belief system was the basis for the civil

service exams given during the Han, Tang, and

Song dynasties?

(1) legalism (3) Buddhism

(2) Daoism (4) Confucianism