adjective: required by rule
Although she had always hated writing, Mary found that the compulsory Intro to Writing class taught her valuable skills.