(a) No person who has been convicted in this state or elsewhere of committing or attempting to commit a crime of violence shall own a pistol or have one in his or her possession or under his or her control.
(b) No person who is a drug addict or an habitual drunkard shall own a pistol or have one in his or her possession or under his or her control.
(c) Subject to the exceptions provided by Section 13A-11-74, no person shall knowingly with intent to do bodily harm carry or possess a deadly weapon on the premises of a public school.
(d) Possession of a deadly weapon with the intent to do bodily harm on the premises of a public school in violation of subsection (c) of this section is a Class C felony.
(e) Law enforcement officers are exempt from this section, and persons with pistol permits issued pursuant to Section 13A-11-75, are exempt from the provisions of subsection (c) of this section.
(f) The term "public school" as used in this section applies only to a school composed of grades K-12 and shall include a school bus used for grades K-12.
(g) The term "deadly weapon" as used in this section means a firearm or anything manifestly designed, made, or adapted for the purposes of inflicting death or serious physical injury, and such term includes, but is not limited to, a bazooka, hand grenade, missile, or explosive or incendiary device; a pistol, rifle, or shotgun; or a switch-blade knife, gravity knife, stiletto, sword, or dagger; or any club, baton, billy, black-jack, bludgeon, or metal knuckles.