Jimmy got something wrong.
In the episode "Sheen’s Brain," he said he would shock Carl every time he got an answer wrong, which he referred to as negative reinforcement.
However, this is not negative reinforcement; it is positive punishment.
Negative reinforcement is when you try to train a behavior by taking away something undesirable.
Positive punishment is when you try to train a behavior by adding something undesirable.