Alex Tu, left, an Advanced Placement student, works during a computer science class in Midwest City, Okla. There’s been a sharp decline in the number of computer science classes offered in U.S. secondary schools.