No they aren't proper to use in writing class they are considered slang. It would show your teacher that your not interested in sounding educated and proper. Hope this helps!
"Oh, dear, Donald or
<span> Robert or Willie</span>..." is the only line from this list that differs in intonation since it expresses surprise about something, where the others are more inquisitive.