Find out whether there is any grammatical error in below sentence. Were you / given a choice / or you had to do it?

Were you
given a choice
or you had to do it?
No error

The correct answer is D. No error.

The sentence is grammatically correct. The word “were” is the past tense of the verb “to be,” and the word “given” is the past participle of the verb “to give.” The word “choice” is a noun, and the word “or” is a conjunction. The word “you” is a pronoun, and the word “had” is the past tense of the verb “to have.” The word “to” is a preposition, and the word “do” is a verb. The word “it” is a pronoun.

The sentence can be paraphrased as follows: “Were you given a choice, or did you have to do it?”

The sentence is asking whether the person was given a choice or whether they had to do something. The sentence is grammatically correct and does not contain any errors.