MARYSVILLE, Wash. (AP) - For this first time this fall, most elementary school students in the Marysville School District in Washington state are getting 40-minute weekly computer science lessons as part of their core instruction.

MARYSVILLE, Wash. (AP) For this first time this fall, most elementary school students in the Marysville School District in Washington state are getting 40-minute weekly computer science lessons as part of their core instruction.

It's part of a growing effort nationwide to expose more public school children to computer science, even as early as kindergarten.

Backed by technology leaders, nonprofits and companies, schools in New York, San Francisco, Chicago and other cities have committed to offer computer science to students in all grade levels.

Supporters say it's not just about learning how to code. They say computer science teaches kids to think logically, be creative and exposes them early to the technology that will drive their future.

Some critics worry about the rush to technology, saying kids don't need to learn it so early.