Problem: Produce a sentence that would be considered grammatically acceptable

Answer: The cats ate the spider.

Problem: Produce a sentence that would be considered grammatically unacceptable

Answer: To which man did you talk to?

Problem: Produce a sentence that would be considered grammatically unacceptable

Answer:
The effectiveness of teaching and learning depend on several factors.