The definition of compulsory is something that is required, not optional.(adjective)
An example of compulsory is a training course you have to attend.
See compulsory in Webster's New World College Dictionary
Origin: ML compulsorius < LL compulsor, one who compels
See compulsory in American Heritage Dictionary 4
Learn more about compulsory