Error detection: If you worked hard, you would passed the exam.

Error detection: If you worked hard, you would passed the exam.

Explanation
The sentence is a second conditional: If + past tense, would + base verb.
"Passed" is incorrect; it should be "pass" (base form) after "would".
Correct sentence: If you worked hard, you would pass the exam.