The words quad, quod sound the same but have different meanings and spellings. Why do quad, quod sound the same even though they are completely different words?
The answer is simple: quad, quod are homophones of the English language.
Printing See quadrat.
A quadrangle: cadets forming up in the barracks quad.
A quadrangle or court, as of a prison; a prison.
Confinement in a prison.
Definitions from The American Heritage® Dictionary of the English Language, 4th Edition, from Wiktionary, Creative Commons Attribution/Share-Alike License and Wordnik.
Homophones (literally "same sound") are usually defined as words that share the same pronunciation, regardless of how they are spelled.