Officials at a Mobile, Alabama middle school have disciplined a teacher for giving students a quiz containing highly questionable subject matter that parents are calling "racist" and "offensive."

"My son, he took a picture of it in class and he texted it to me," parent Erica Hall told Mobile's WALA‑TV. "I couldn't believe it."

According to the station, the 10-question math quiz was given to eighth-grade students in a language arts class at Burns Middle School. The test, which contains many drug and gang references, appears to have been copied from a fake quiz that is widely available online. Questions included:

Ramon has an AK-47 with a 30-round clip. He usually misses 6 out of every 10 shots and he uses 13 rounds per drive-by shooting. How many drive-by shootings can Ramon attempt before he has to steal enough ammunition and reload?

Leroy has 2 ounces of cocaine. If he sells an 8 ball to Antonio for $320 and 2 grams to Juan for $85 per gram, what is the street value of the rest of his hold?

Dwayne pimps 3 ho's. If the price is $85 per trick, how many tricks per day must each ho turn to support Dwayne's $500 per day crack habit?

Tyrone knocked up 4 girls in his gang. There are 20 girls in the gang. What percentage of the girls in the gang has Tyrone knocked up?

A complete list of the questions can be found at the WALA‑TV website.

Neither school officials nor parents were amused by the test.

"I'm shocked. I don't think it's appropriate at all," parent Kellie Lee told WALA‑TV.

In a brief statement released to the newspaper Lagniappe on Tuesday, Mobile County Public School Superintendent Martha Peek said she regretted that the incident occurred "during the last few days of school."

Alabama teacher busted for assigning ‘math test’ based on 30-year-old racist meme #racism pic.twitter.com/fBdQ5ZDG3C — 1-800-WOKE-AF (@gloed_up) June 1, 2016

The identity of the teacher has not been released. School officials did not respond to a request for comment on Wednesday.

In a Tuesday interview with The Lagniappe, a school official confirmed the test was given to students last week.

"A parent came and talked to the principal today over some concerns that the exercise was given out in class," MCPSS spokeswoman Rena Philips told The Lagniappe. "The principal checked it out, and then we investigated it further."

According to Philips, the teacher has been placed on administrative leave.