Can I use both words 'by mistakenly' together? I feel that either I can put it as ' by mistake' or as' mistakenly' but not together.
The following would also be correct gramatically:
(However, this is awkward, since it leaves the sentence ambiguous. You could ask, "So if he dropped the class on purpose, he would be allowed to graduate?")