['I was shocked to see that I passed my history class with so little effort and studying']
You must be really good with reading comprehension and remembering facts. Congratulations.
I was shocked when I was able to pass my history class so easily when I didnt study much ever.