Explain Section 178 concerning refusing the oath or affirmation when duly required by a public servant.
Section 178 pertains to the offense of refusing to bind oneself by an oath or affirmation to state the truth when required by a public servant legally competent to make such a requirement. The punishment for this offense is simple imprisonment for a term that may extend to six months, or with a fine that may extend to one thousand rupees, or with both. [Chapter 10, Section 178]