elective vs nonoptional

elective

adj
  • Of, or pertaining to voting or elections; involving a choice between options. 

  • Open to choice; freely chosen. 

noun
  • Something that is an option or may be freely chosen, especially a course of study. 

nonoptional

adj
  • Not optional. 

How often have the words elective and nonoptional occurred in a corpus of books? (source: Google Ngram Viewer )