A subject is a word or a group of words that is being talked about in the sentence. Usually, subjects are in a form of nouns or pronouns. The complete subject of the sentence, "Barack Obama was elected president in November 2008", is option B. Barack Obama.