Citing sources of problems in assignments
I'm a textbook author. I agree that it's hard to formulate a cut-and-dried answer to your question. One criterion to consider: If a colleague would compliment you on a copied problem or question because it was particularly clever or insightful, you should probably consider a citation. Stated differently, if you're getting academic credit (even if informal) for the contribution, cite the source.