Nov 11 2025
Artificial Intelligence

AI in Computer Science Education: Closing the New Digital Divide in K–12

School leaders must decide how — and whether — to integrate artificial intelligence-specific lessons into computer science programs.

The rapid growth of generative artificial intelligence (GenAI) is creating a new digital divide in K–12 education, an AI skills gap that threatens to leave some students behind. While some schools are integrating AI into their curricula with thoughtful instruction, others are banning it entirely, and still others are doing nothing at all. Meanwhile, not all students have equal access to AI tools at home, creating disparities that could have long-lasting consequences.

As more states begin specifying computer science requirements for high school graduation, schools are grappling with how to incorporate AI-specific lessons into their computer science programs. Choices made now about whether and how AI is included in computer science education will make a difference in the workforce of the future.

“Districts are never going to have more power to shape the use of GenAI in their communities than right now, so it's imperative that they act collectively, guided by their core educational values,” says Rafe Steinhauer, assistant professor of engineering at Dartmouth College. "I like to remind school leaders that they’re not going to get it exactly right, but it’s easier to make amendments to policies, norms and training programs than it is to start from scratch after their whole community has developed varied personal practices.”

Click the banner below for insights into how artificial intelligence is modernizing classrooms.

 

The New Divide: How AI Creates Unequal Learning Opportunities

There are multiple layers to AI disparity, says Eric Klopfer, professor and director of the MIT Scheller Teacher Education Program

“Like many previous technologies applied in educational settings, there are multiple layers to the disparities that we see,” he says. “The two big ones are access to the technology and teacher preparation for using the technology effectively.”

Some schools can afford unlimited access to premium AI tools through subscriptions, while others cannot, but teacher preparation may be a bigger issue, Klopfer says. “Teachers need to know the strengths and weaknesses, limitations and biases, and ways to use the tools to their advantage and their students’ advantage,” he says.

There's also a troubling third layer: the belief that AI can replace teachers. “In those cases, the students who are taught by AI have a worse experience relative to those who are taught by teachers,” Klopfer says. 

Steinhauer's main concern isn't platform access, as leading GenAI companies are offering powerful tools to young users for free. Instead, he says, he worries about access to know-how. He's seen stark contrasts between districts building thoughtful training programs for students and teachers around effective and ethical AI use and those doing virtually nothing.

AI and Computer Science Education: Meeting New State Requirements

Eleven states now require a computer science course for high school graduation; three have added that requirement in the past year. While computational thinking is increasingly recognized as an important skill for students, some educators believe AI changes the scope of which computer skills should be taught. 

Jake Baskin, executive director of the Computer Science Teachers Association (CSTA), frames the challenge as teaching students to truly create AI versus simply teaching them how to use it. “We are at risk of making the same mistakes we made 20 years ago, when foundational computer science courses transitioned into learning how to use applications,” Baskin says. “AI raises the stakes for foundational computer science in high school. The goal isn’t a standalone ‘AI class’ but integrating key AI concepts like data, models, limitations and ethics across CS pathways.”

MORE FROM JAKE BASKIN: Computer science is the foundation of artificial intelligence literacy. 

Steinhauer recommends considering the reasons for the computer science requirements. While the original motivation may have been to prepare students for an economy in need of software engineers, “AI might flip the script,” he says. “Our economy might require far fewer software engineers, but the ubiquity of AI in every facet of modern life might demand an elevated level of logical and statistical literacy from our citizenry. My hope is that GenAI might reshape early computer science education to focus more on the ways computer scientists think and reason and less on writing code.”

Jake Baskin
AI raises the stakes for foundational computer science in high school.”

Jake Baskin Executive Director, Computer Science Teachers Association

Inconsistent Approaches to AI, and What It Means for Students

Schools’ varied approaches to AI — from enthusiastic adoption to outright bans — reflect deeper uncertainties about the technology. “AI is new, and AI is overwhelming and scary,” Klopfer says. “We shouldn't fool ourselves into thinking that we understand how to teach it well.”

He sees two competing risks: exposing students to a technology we don’t fully understand or leaving them behind if they don’t learn to use it effectively and ethically. “I think the latter is the bigger risk right now,” he says. “But the former one is real, and we need to better understand how to use AI to the benefit of our students.”

The key is to rely on solid pedagogy to drive implementation, Klopfer says. For high school computer science specifically, he advocates erring on the side of learning fundamentals rather than relying too heavily on AI tools.

DIVE DEEPER: What concerns hinder schools’ adoption of artificial intelligence?

The Home Access Gap in AI and Computer Science Skills

The inequality of AI extends beyond school walls. As with any technology, some students have much greater access to AI at home than others. “It’s essential that schools and teachers do not perceive the invisible advantage of home access to technology as some innate difference in skill or interest,” Baskin says. “Historically, in computer science, we see this play out in persistently predictable gaps in participation and success by race and gender.”

School bans on AI create problems for all students, Klopfer says. That’s because those with home access won't receive guidance on using tools responsibly, and those without access miss opportunities to learn, even through trial and error.

SUBSCRIBE: Sign up to get the latest EdTech content delivered to your inbox weekly.

 

Best Practices for Integrating AI Into Computer Science Curricula

To make effective progress, computer science educators should start with the following best practices. 

  1. Prioritize professional development before making large technology purchases. Baskin recommends starting with outcomes rather than tools, aligning to frameworks such as CSTA’s AI learning priorities.
  2. Start early. “There are foundational computer science and AI skills that students can learn in early elementary school to build a foundation for more advanced content in later years,” Baskin says.
  3. Don’t shortcut learning. “Use AI to explain, trace, debug, test and vary, but don't offload the critical steps of designing, creating and writing,” Klopfer says.
  4. Consider a “barbell approach,” Steinhauer says. That means teaching computer science fundamentals in low-tech ways that focus on core logic and inference, while also guiding students' use of GenAI to create complex systems.

As the AI revolution transforms education, the question isn't whether to teach with and about AI but how to do so equitably and effectively. The decisions schools make now will shape which students become creators of tomorrow's technology — and which are left merely consuming it.

kali9/Getty Images
Close

New Workspace Modernization Research from CDW

See how IT leaders are tackling workspace modernization opportunities and challenges.