A divided state appeals court Thursday rejected arguments that a Miami high school student’s constitutional rights were violated when his book bag was searched after police received an anonymous tip that he was carrying a loaded gun.

Miami Northwestern Senior High School officials found a loaded, semi-automatic handgun in the book bag Oct. 12, 2011.