elective vs nonoptional

elective

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

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

  • Open to choice; freely chosen. 

nonoptional

adj
  • Not optional. 

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