discard vs give notice

discard

verb
  • To dismiss from employment, confidence, or favour; to discharge. 

  • To throw away, to reject. 

  • To make a discard; to throw out a card. 

noun
  • A temporary variable used to receive a value of no importance and unable to be read later. 

  • Anything discarded. 

  • A discarded playing card in a card game. 

give notice

verb
  • To announce one's intent to leave a job; to inform an employer that one is leaving. 

  • Used other than figuratively or idiomatically: see give, notice. 

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