Question: what is the difference between mandatory and imperative?
Answer: As adjectives the difference between imperative and mandatory. is that imperative is essential while mandatory is obligatory; required or commanded by authority.