imperial examination

system used in appointing officials in dynastic China