yea when i was going through school we were told to do it, but by the time i was around 16 or so, we were told it was optional
basically what we had to do was stand, put our hands on our hearts and recite the "pledge of allegiance" at the flag every morning before class