James Destilus and Kenneth Gutierrez want to be on the football team when they move up to middle school next year. Mike Lawson prefers basketball. And Lauren Rebaza and Jhullyza Calderon will try out for swimming.

The fifth-graders might have different sporting ambitions, but they’re working toward their goals in the same way: strutting around their classroom, flapping their arms like roosters, and singing at the top of their voices to a song called “Chicken Fat.”

It’s great fun for the students, but this unorthodox approach to fitness also has its serious side. It helps the school, Forest Hills Elementary in Coral Springs, Fla., comply with a state law that came into effect this semester requiring children in kindergarten through fifth grade to receive 30 minutes of continuous physical education every day.