Metal detectors installed at Cocoa High School this academic year detected a handgun in a student's possession.