a prefix is the phrase, or, phrases, before a word.
a suffix is the second half of the phrase, or, phrases, to form a new word.
So, the suffix of encoded would be, "coded," and, the suffix of irresponsible, would be, "responsible."
I hope this helps!