I get that it's a joke, but I'm really tired of hearing people demean Texas' education system.
While the state might not do so well in math and science test comparisons compared to other states, the state excels at making many things available to students that are rare if non-existent elsewhere. The right to a good education is in the state constitution (which also asks for the foundation of "first-class" state universities: University of Texas and Texas A&M), and implements a very broad wealth redistribution scheme (Robin hood plan), which makes sure that even very poor school districts can pay for AP classes, music electives, sports facilities, the works.
Children who show potential are given chances from a very early age to enter advanced-placement courses, and many efforts are made by teachers to identify children who can enter these.
I honestly think that the low rankings of Texas in Math and Science comparisons is more due to demographics than the school system, and in more general rankings the school fares much better. In any case, it goes to great lengths to let children broaden their horizons with their peers, independent of social class.