When the student rubs the balloon on his hair, electrons are transferred from the hair to the balloon. As a result:
- The balloon gains extra electrons, giving it a negative charge.
- The hair loses electrons, resulting in a positive charge.
Therefore, the correct explanation for what happened to the electrical charges of both the student's hair and the balloon is:
The balloon's charge became negative, and the hair's charge became positive.