First off you will need to know the violations of Basetball the violations.
The violations are charging, blocking, flagrant foul, iIntentional foul, traveling, carrying, double dribble, shooting foul, jump ball, goaltending, backcourt violation and time restrictions.