In what way was the government of Tang and song dynasty the same? both used a civil service exam to select officers

Both the Tang and Song dynasties utilized a civil service examination system to select government officials. This system allowed individuals from all social classes to take the rigorous exams, and those who passed were eligible for high-ranking government positions based on merit rather than social status. This system helped to promote social mobility, meritocracy, and efficiency in governance in both dynasties.