The effect of one of the most famous soliloquys in literature, Hamlet's, is to illustrate that Hamlet is going insane.
He contemplates whether to do it or not, which ultimately drives him mad for revenge.
6. D
8. A
9. D
10. C
those are the correct answers