assignment vs function

assignment

noun
  • A position to which someone is assigned. 

  • A transfer of a right or benefit from one person to another. 

  • A document that effects this transfer. 

  • The act of assigning; the allocation of a job or a set of tasks. 

  • An assigned task. 

  • The categorization of persons as belonging to the male or female sex. 

  • An operation that assigns a value to a variable. 

  • A task given to students, such as homework or coursework. 

  • The categorization of something as belonging to a specific category. 

function

noun
  • A professional or official position. 

  • What something does or is used for. 

  • The physiological activity of an organ or body part. 

  • A routine that receives zero or more arguments and may return a result. 

  • The role of a social practice in the continued existence of the group. 

  • An official or social occasion. 

  • A party. 

  • The characteristic behavior of a chemical compound. 

  • A relation in which each element of the domain is associated with exactly one element of the codomain. 

  • A relation where one thing is dependent on another for its existence, value, or significance. 

  • Something which is dependent on or stems from another thing; a result or concomitant. 

verb
  • To have a function. 

  • To carry out a function; to be in action. 

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