My Name Is Earl - Season 2 - Eps 21: G.E.D.
Earl tries to apply for a credit card but is declined because he doesn't have a job or a proper place to live, so he goes back to school to receive a diploma, where he realizes how hard it is for teachers to put up with badly behaved kids - just like the one he used to be.
About My Name Is Earl

Title: My Name Is Earl
First Air Date: 2005-09-20
Last Air Date: 2009-05-14
Status: Canceled
Rating: 7.67/10 (from 998 votes)
Language: EN
Seasons: 5
Total Episodes: 92
Network: NBC
Genres: Comedy
Production Companies: 20th Century Fox Television, Amigos de Garcia Productions
Synopsis
When petty criminal Earl Hickey wins the lottery, he sets off on a quest to repair his questionable karma.
Cast

Jason Lee
Earl Hickey

Ethan Suplee
Randy Hickey

Jaime Pressly
Joy Turner

Nadine Velazquez
Catalina Aruca

Eddie Steeples
Darnell Turner